From 3398e7349e2bafddaa491c01f4c16c6dae14cd00 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 5 Feb 2018 13:38:59 -0600 Subject: abstracted the next prev links into utils so now they work for every model that implements a get_%S_admin_link method and loads the JS --- config/base_urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/base_urls.py b/config/base_urls.py index 9493d2f..fd7d6a7 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -34,6 +34,7 @@ sitemaps = { urlpatterns = [ path(r'tag-autocomplete/', TagAutocomplete.as_view(), name='tag-autocomplete'), re_path(r'^admin/build/.*', builder.views.do_build), + path(r'admin/data/', include('utils.urls')), path(r'admin/', admin.site.urls), path(r'luximages/insert/', utils.views.insert_image), path(r'sitemap.xml', sitemap, {'sitemaps': sitemaps}), -- cgit v1.2.3-70-g09d2