(r'^admin/purge/$', 'pgweb.core.views.admin_purge'),
(r'^admin/mergeorg/$', 'pgweb.core.views.admin_mergeorg'),
+ # We use selectable only for /admin/ for now, so put it there to avoid caching issues
+ (r'^admin/selectable/', include('selectable.urls')),
+
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
- # We use selectable...
- (r'^selectable/', include('selectable.urls')),
-
# This should not happen in production - serve by the webserver natively!
url(r'^(favicon.ico)$', 'django.views.static.serve', {
'document_root': 'media',