Permalink
Browse files

fixed bug that disallowed numbers in slugs

  • Loading branch information...
1 parent 95281af commit 72dd8d253413deec3490924ba6ad6e01f2b7cec5 James Cleveland committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 suave/urls.py
View
@@ -1,6 +1,6 @@
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('suave.views',
- url(r'^(?P<url>[a-z\-\/]*)/$', 'page', name='page'),
+ url(r'^(?P<url>[a-z0-9\-\/]+)/$', 'page', name='page'),
url(r'^$', 'page', name='page'),
)

0 comments on commit 72dd8d2

Please sign in to comment.