Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak to last commit.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@4791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 18e8a5c669066fd29181931f5fa8b559e34d4819 1 parent 5316509
jacob authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_website/apps/docs/urls.py
View
4 django_website/apps/docs/urls.py
@@ -7,6 +7,6 @@
(r'^models/(?P<slug>\w+)/$', 'model_detail'),
(r'^(?P<version>[\d.]+)/models/$', 'model_index'),
(r'^(?P<version>[\d.]+)/models/(?P<slug>\w+)/$', 'model_detail'),
- (r'^(?P<slug>[\w-.]+)/$', 'doc_detail'),
- (r'^(?P<version>[\d.]+)/(?P<slug>[\w-.]+)/$', 'doc_detail'),
+ (r'^(?P<slug>[\w-\.]+)/$', 'doc_detail'),
+ (r'^(?P<version>[\d.]+)/(?P<slug>[\w-\.]+)/$', 'doc_detail'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.