mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-03-16 22:00:22 +00:00
15 lines
315 B
Python
15 lines
315 B
Python
"""URLs for the built-in site search functionality."""
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from django.urls import re_path
|
|
|
|
from watson.views import search, search_json
|
|
|
|
app_name = 'watson'
|
|
urlpatterns = [
|
|
|
|
re_path("^$", search, name="search"),
|
|
re_path("^json/$", search_json, name="search_json"),
|
|
|
|
]
|