summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-02 19:29:11 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-02 19:29:11 +0200
commit5e70cc61b723fb36e0da14abb6c8de58a18162d5 (patch)
treecf98515d86721212915cb6cb00cb41d8e3f9c574 /example_project
parentba6c73260563fcc6b8a0164e55b13a3eb48e9205 (diff)
downloadIshtar-5e70cc61b723fb36e0da14abb6c8de58a18162d5.tar.bz2
Ishtar-5e70cc61b723fb36e0da14abb6c8de58a18162d5.zip
Admin - ishtar common: use ajax selects for some fields - clean and simplify
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py1
-rw-r--r--example_project/urls.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 778a16610..d737fa29f 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -142,6 +142,7 @@ INSTALLED_APPS = [
'django.contrib.humanize',
'registration',
# 'geodjangofla',
+ 'ajax_select',
'ishtar_pdl',
'ishtar_common',
'archaeological_files_pdl',
diff --git a/example_project/urls.py b/example_project/urls.py
index 8bc2a5f31..1b8d00901 100644
--- a/example_project/urls.py
+++ b/example_project/urls.py
@@ -3,6 +3,7 @@ from django.conf.urls import patterns, include, url
from django.contrib import admin
from ishtar_common.apps import admin_site
+from ajax_select import urls as ajax_select_urls
admin.autodiscover()
@@ -32,6 +33,10 @@ urlpatterns += patterns(
'', (r'^admin/', include(admin_site.urls)),
)
+urlpatterns += patterns(
+ '', (r'^ajax-select/', include(ajax_select_urls)),
+)
+
if settings.DEBUG:
# static files (images, css, javascript, etc.)
urlpatterns += patterns(