Implement initial drug search
This commit is contained in:
@@ -24,7 +24,8 @@ from core.views import base, demo, drugs, notifications, search
|
||||
|
||||
urlpatterns = [
|
||||
path("__debug__/", include("debug_toolbar.urls")),
|
||||
path("", base.Home.as_view(), name="home"),
|
||||
path("", search.DrugsTableView.as_view(), name="home"),
|
||||
# path("", base.Home.as_view(), name="home"),
|
||||
path("admin/", admin.site.urls),
|
||||
# 2FA login urls
|
||||
path("", include(tf_urls)),
|
||||
@@ -67,5 +68,6 @@ urlpatterns = [
|
||||
name="drug_pull_merge",
|
||||
),
|
||||
# Drug search
|
||||
path("search/<str:type>/", search.Search.as_view(), name="search"),
|
||||
path("search/", search.DrugsTableView.as_view(), name="search"),
|
||||
path("search/partial/", search.DrugsTableView.as_view(), name="search_partial"),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user