update django 1.7 to >=1.8.1 LTS

This commit is contained in:
Henning dickten 2015-12-28 15:24:58 +01:00
parent 98bcf1aced
commit 96fec52cf3
3 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,7 @@ from .models import Host, RelatedHost, Domain, ServiceUpdaterHostConfig
class GenerateSecretView(UpdateView): class GenerateSecretView(UpdateView):
model = Host model = Host
fields = "__all__"
template_name = "main/generate_secret.html" template_name = "main/generate_secret.html"
@method_decorator(login_required) @method_decorator(login_required)
@ -54,6 +55,7 @@ class GenerateSecretView(UpdateView):
class GenerateNSSecretView(UpdateView): class GenerateNSSecretView(UpdateView):
model = Domain model = Domain
fields = "__all__"
template_name = "main/generate_ns_secret.html" template_name = "main/generate_ns_secret.html"
@method_decorator(login_required) @method_decorator(login_required)

View File

@ -1,7 +1,7 @@
# packages always needed # packages always needed
dnspython dnspython
netaddr netaddr
django>=1.7.1, <1.8 django>=1.8.1, <1.9
django-bootstrap-form django-bootstrap-form
django-registration-redux django-registration-redux
django-extensions django-extensions

View File

@ -55,7 +55,7 @@ setup(
platforms='any', platforms='any',
install_requires=install_requires + [ install_requires=install_requires + [
'netaddr', 'netaddr',
'django>=1.7.1, <1.8', 'django>=1.8.1, <1.9',
'django-bootstrap-form', 'django-bootstrap-form',
'django-registration-redux', 'django-registration-redux',
'django-extensions', 'django-extensions',