2015-07-17 18:10:16 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2015-09-25 20:11:50 +00:00
|
|
|
"""
|
2016-02-04 10:47:21 +00:00
|
|
|
Django-Select2 URL configuration.
|
2015-09-25 20:11:50 +00:00
|
|
|
|
2016-02-04 10:47:21 +00:00
|
|
|
Add `django_select` to your ``urlconf`` **if** you use any 'Model' fields::
|
2015-09-25 20:11:50 +00:00
|
|
|
|
|
|
|
|
url(r'^select2/', include('django_select2.urls')),
|
|
|
|
|
|
|
|
|
|
"""
|
2015-03-30 07:25:28 +00:00
|
|
|
from __future__ import absolute_import, unicode_literals
|
|
|
|
|
|
2015-12-09 20:26:34 +00:00
|
|
|
from django.conf.urls import url
|
2012-08-05 07:30:44 +00:00
|
|
|
|
|
|
|
|
from .views import AutoResponseView
|
|
|
|
|
|
2015-12-09 20:26:34 +00:00
|
|
|
urlpatterns = [
|
2015-03-30 07:25:28 +00:00
|
|
|
url(r"^fields/auto.json$",
|
2015-09-06 03:23:24 +00:00
|
|
|
AutoResponseView.as_view(), name="django_select2-json"),
|
2015-12-09 20:26:34 +00:00
|
|
|
]
|