From 96fec52cf388543af5e706d4aefc2551c4301a52 Mon Sep 17 00:00:00 2001 From: Henning dickten Date: Mon, 28 Dec 2015 15:24:58 +0100 Subject: [PATCH] update django 1.7 to >=1.8.1 LTS --- nsupdate/main/views.py | 2 ++ requirements.d/all.txt | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nsupdate/main/views.py b/nsupdate/main/views.py index 921ebd9..92722b5 100644 --- a/nsupdate/main/views.py +++ b/nsupdate/main/views.py @@ -31,6 +31,7 @@ from .models import Host, RelatedHost, Domain, ServiceUpdaterHostConfig class GenerateSecretView(UpdateView): model = Host + fields = "__all__" template_name = "main/generate_secret.html" @method_decorator(login_required) @@ -54,6 +55,7 @@ class GenerateSecretView(UpdateView): class GenerateNSSecretView(UpdateView): model = Domain + fields = "__all__" template_name = "main/generate_ns_secret.html" @method_decorator(login_required) diff --git a/requirements.d/all.txt b/requirements.d/all.txt index 2717e5e..aa3084c 100644 --- a/requirements.d/all.txt +++ b/requirements.d/all.txt @@ -1,7 +1,7 @@ # packages always needed dnspython netaddr -django>=1.7.1, <1.8 +django>=1.8.1, <1.9 django-bootstrap-form django-registration-redux django-extensions diff --git a/setup.py b/setup.py index 9fa3bc5..045ed71 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ setup( platforms='any', install_requires=install_requires + [ 'netaddr', - 'django>=1.7.1, <1.8', + 'django>=1.8.1, <1.9', 'django-bootstrap-form', 'django-registration-redux', 'django-extensions',