django-select2/django_select2/urls.py
2017-11-25 18:56:46 +01:00

16 lines
361 B
Python

"""
Django-Select2 URL configuration.
Add `django_select` to your ``urlconf`` **if** you use any 'Model' fields::
url(r'^select2/', include('django_select2.urls')),
"""
from django.conf.urls import url
from .views import AutoResponseView
urlpatterns = [
url(r"^fields/auto.json$",
AutoResponseView.as_view(), name="django_select2-json"),
]