File: urls.py

package info (click to toggle)
django-ajax-selects 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 356 kB
  • ctags: 212
  • sloc: python: 777; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from django.conf.urls import url
from ajax_select import views

urlpatterns = [
    url(r'^ajax_lookup/(?P<channel>[-\w]+)$',
        views.ajax_lookup,
        name='ajax_lookup'),
    url(r'^add_popup/(?P<app_label>\w+)/(?P<model>\w+)$',
        views.add_popup,
        name='add_popup')
]