1 from django
.conf
.urls
.defaults
import *
2 from django
.contrib
.admindocs
import views
4 urlpatterns
= patterns('',
7 name
='django-admindocs-docroot'
11 name
='django-admindocs-bookmarklets'
14 views
.template_tag_index
,
15 name
='django-admindocs-tags'
18 views
.template_filter_index
,
19 name
='django-admindocs-filters'
23 name
='django-admindocs-views-index'
25 url('^views/(?P<view>[^/]+)/$',
27 name
='django-admindocs-views-detail'
31 name
='django-admindocs-models-index'
33 url('^models/(?P<app_label>[^\.]+)\.(?P<model_name>[^/]+)/$',
35 name
='django-admindocs-models-detail'
37 url('^templates/(?P<template>.*)/$',
38 views
.template_detail
,
39 name
='django-admindocs-templates'