update django 1.7 to >=1.8.1 LTS
This commit is contained in:
parent
98bcf1aced
commit
96fec52cf3
@ -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)
|
||||||
|
@ -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
|
||||||
|
2
setup.py
2
setup.py
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user