Browse files

Fixed invalid regex from last commit.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@4792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 18e8a5c commit b2582cd80fed0857d823b1a1744310fd56ce463f jacob committed Mar 23, 2007
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'),
)

0 comments on commit b2582cd

Please sign in to comment.