From ec28a9b734ded0ee3267c925546ba66f73b1fd34 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 22 Mar 2018 11:02:14 -0500 Subject: added autocomplete to sightings so it's easier to find APs --- config/base_urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/base_urls.py b/config/base_urls.py index 1e9b34f..7ecd472 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -18,6 +18,7 @@ from projects.models.base import ProjectSitemap import builder.views import utils.views from utils.views import TagAutocomplete +from sightings.views import APAutocomplete from locations.views import MapDataList @@ -33,6 +34,7 @@ sitemaps = { urlpatterns = [ path(r'tag-autocomplete/', TagAutocomplete.as_view(), name='tag-autocomplete'), + path(r'ap-autocomplete/', APAutocomplete.as_view(), name='ap-autocomplete'), re_path(r'^admin/build/.*', builder.views.do_build), path(r'admin/data/', include('utils.urls')), path(r'admin/', admin.site.urls), -- cgit v1.2.3-70-g09d2