~ubuntu-branches/ubuntu/jaunty/python-django/jaunty

« back to all changes in this revision

Viewing changes to django/contrib/admindocs/urls.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.conf.urls.defaults import *
 
2
from django.contrib.admindocs import views
 
3
 
 
4
urlpatterns = 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
)