Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Relaxed document URL pattern slightly (to accommodate the release not…

…e files).

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@4790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 53165092026a80f781be8e1befb9173e953f4745 1 parent adb1f18
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.