mirror of
https://github.com/django/django.git
synced 2025-01-11 02:46:13 +00:00
d6cc37d601
Thanks Bouke Haarsma for the review.
12 lines
363 B
Python
12 lines
363 B
Python
from django.conf.urls import include, patterns
|
|
from django.contrib import admin
|
|
|
|
from . import views
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^admin/', include(admin.site.urls)),
|
|
(r'^admindocs/', include('django.contrib.admindocs.urls')),
|
|
(r'^xview/func/$', views.xview_dec(views.xview)),
|
|
(r'^xview/class/$', views.xview_dec(views.XViewClass.as_view())),
|
|
)
|