Implement boilerplate search widget/page view
This commit is contained in:
@@ -20,7 +20,7 @@ from django.contrib.auth.views import LogoutView
|
||||
from django.urls import include, path
|
||||
from two_factor.urls import urlpatterns as tf_urls
|
||||
|
||||
from core.views import base, demo, drugs, notifications
|
||||
from core.views import base, demo, drugs, notifications, search
|
||||
|
||||
urlpatterns = [
|
||||
path("__debug__/", include("debug_toolbar.urls")),
|
||||
@@ -66,4 +66,6 @@ urlpatterns = [
|
||||
drugs.DrugPullMerge.as_view(),
|
||||
name="drug_pull_merge",
|
||||
),
|
||||
# Drug search
|
||||
path("search/<str:type>/", search.Search.as_view(), name="search"),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user