urls.py 456 B

123456789101112131415
  1. import django
  2. from django.conf.urls import patterns, include, url
  3. from django.contrib import admin
  4. admin.autodiscover()
  5. urlpatterns = [
  6. url(r'^jet/', include('jet.urls', 'jet')),
  7. url(r'^jet/dashboard/', include('jet.dashboard.urls', 'jet-dashboard')),
  8. url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  9. url(r'^admin/', include(admin.site.urls)),
  10. ]
  11. if django.VERSION[:2] < (1, 8):
  12. urlpatterns = patterns('', *urlpatterns)