diff options
author | Michael Elkins <melkins@tislabs.com> | 2012-11-14 22:14:45 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2012-11-14 22:14:45 +0000 |
commit | 9a4e1f81133032baf9b55cd5ba7dab9f29a547f6 (patch) | |
tree | 604ba8240bb8effce04184dfd4c70041ace80cef /rpkid/portal-gui/settings.py.in | |
parent | e3f5bccebcae0d3f2e5d09e5e4e99e85156ffaaa (diff) |
When adding a prefix/AS to a child, verify that it does not
overlap with a previous allocation to the same child. This will
avoid raising an exception about the uniqueness constraints on
irdb.models.Child{Net,ASN}
Use django.contrib.formtools to provide a double confirmation for
AS/prefix additions to a child
closes #343
svn path=/trunk/; revision=4864
Diffstat (limited to 'rpkid/portal-gui/settings.py.in')
-rw-r--r-- | rpkid/portal-gui/settings.py.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpkid/portal-gui/settings.py.in b/rpkid/portal-gui/settings.py.in index 10705ef8..46f6ca60 100644 --- a/rpkid/portal-gui/settings.py.in +++ b/rpkid/portal-gui/settings.py.in @@ -86,12 +86,13 @@ INSTALLED_APPS = ( #'django.contrib.admin', #'django.contrib.admindocs', 'django.contrib.contenttypes', + 'django.contrib.formtools', 'django.contrib.sessions', 'rpki.irdb', 'rpki.gui.app', 'rpki.gui.cacheview', 'rpki.gui.routeview', - 'south' + 'south', ) TEMPLATE_CONTEXT_PROCESSORS = ( |