django-watson/watson/urls.py

15 lines
288 B
Python
Raw Normal View History

"""URLs for the built-in site search functionality."""
from __future__ import unicode_literals
2016-08-05 17:06:13 +00:00
from django.conf.urls import url
2016-01-14 01:02:12 +00:00
from watson.views import search, search_json
2016-01-14 01:02:12 +00:00
urlpatterns = [
2016-01-14 01:02:12 +00:00
url("^$", search, name="search"),
url("^json/$", search_json, name="search_json"),
2016-01-14 01:02:12 +00:00
]