16 lines
308 B
Python
16 lines
308 B
Python
"""URLs for the built-in site search functionality."""
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from django.conf.urls import url
|
|
|
|
from watson.views import search, search_json
|
|
|
|
app_name = 'watson'
|
|
urlpatterns = [
|
|
|
|
url("^$", search, name="search"),
|
|
url("^json/$", search_json, name="search_json"),
|
|
|
|
]
|