mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-03-16 22:00:22 +00:00
fixing DeprecationWarning
This commit is contained in:
parent
7245bfd5d2
commit
552f09f7eb
1 changed files with 5 additions and 4 deletions
|
|
@ -4,11 +4,12 @@ from __future__ import unicode_literals
|
|||
|
||||
from django.conf.urls import url, patterns
|
||||
|
||||
from watson.views import search, search_json
|
||||
|
||||
urlpatterns = patterns("watson.views",
|
||||
urlpatterns = [
|
||||
|
||||
url("^$", "search", name="search"),
|
||||
url("^$", search, name="search"),
|
||||
|
||||
url("^json/$", "search_json", name="search_json"),
|
||||
url("^json/$", search_json, name="search_json"),
|
||||
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue