2013-06-18 08:10:21 +08:00
|
|
|
from django.conf.urls import include, patterns
|
2013-11-21 15:48:29 +08:00
|
|
|
from django.contrib import admin
|
2013-05-18 23:43:21 +08:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2013-11-21 15:48:29 +08:00
|
|
|
(r'^admin/', include(admin.site.urls)),
|
2013-06-18 08:10:21 +08:00
|
|
|
(r'^admindocs/', include('django.contrib.admindocs.urls')),
|
2013-05-18 23:43:21 +08:00
|
|
|
(r'^xview/func/$', views.xview_dec(views.xview)),
|
|
|
|
(r'^xview/class/$', views.xview_dec(views.XViewClass.as_view())),
|
|
|
|
)
|