PageRenderTime 101ms CodeModel.GetById 97ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/admindocs/urls.py

https://code.google.com/p/mango-py/
Python | 41 lines | 40 code | 1 blank | 0 comment | 0 complexity | ffcb41c9a0afa1dc858c6cf9eb827ad8 MD5 | raw file
 1from django.conf.urls.defaults import *
 2from django.contrib.admindocs import views
 3
 4urlpatterns = patterns('',
 5    url('^$',
 6        views.doc_index,
 7        name='django-admindocs-docroot'
 8    ),
 9    url('^bookmarklets/$',
10        views.bookmarklets,
11        name='django-admindocs-bookmarklets'
12    ),
13    url('^tags/$',
14        views.template_tag_index,
15        name='django-admindocs-tags'
16    ),
17    url('^filters/$',
18        views.template_filter_index,
19        name='django-admindocs-filters'
20    ),
21    url('^views/$',
22        views.view_index,
23        name='django-admindocs-views-index'
24    ),
25    url('^views/(?P<view>[^/]+)/$',
26        views.view_detail,
27        name='django-admindocs-views-detail'
28    ),
29    url('^models/$',
30        views.model_index,
31        name='django-admindocs-models-index'
32    ),
33    url('^models/(?P<app_label>[^\.]+)\.(?P<model_name>[^/]+)/$',
34        views.model_detail,
35        name='django-admindocs-models-detail'
36    ),
37    url('^templates/(?P<template>.*)/$',
38        views.template_detail,
39        name='django-admindocs-templates'
40    ),
41)