Use search views
This commit is contained in:
parent
d9111cc8cb
commit
02f7b3c8c3
1 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,7 @@ from tastypie.api import Api
|
|||
|
||||
from django.urls import include, path
|
||||
|
||||
from . import api, views
|
||||
from . import api, views, views_search
|
||||
|
||||
v1_api = Api(api_name="v1")
|
||||
v1_api.register(api.LieuResource())
|
||||
|
@ -56,9 +56,13 @@ urlpatterns = [
|
|||
views.DefinirMotDePasse.as_view(),
|
||||
name="mdp_edit",
|
||||
),
|
||||
path("recherche/", views.recherche, name="recherche"),
|
||||
path("recherche/resultats/", views.recherche_resultats, name="recherche_resultats"),
|
||||
path("recherche/items/", views.stage_items, name="stage_items"),
|
||||
path("recherche/", views_search.recherche, name="recherche"),
|
||||
path(
|
||||
"recherche/resultats/",
|
||||
views_search.recherche_resultats,
|
||||
name="recherche_resultats",
|
||||
),
|
||||
path("recherche/items/", views_search.stage_items, name="stage_items"),
|
||||
path("feedback/", views.feedback, name="feedback"),
|
||||
path("moderation/", views.statistiques, name="moderation"),
|
||||
path("api/", include(v1_api.urls)),
|
||||
|
|
Loading…
Reference in a new issue