Skip to content

Commit

Permalink
fixed bug that disallowed numbers in slugs
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cleveland committed Jun 18, 2012
1 parent 95281af commit 72dd8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suave/urls.py
Original file line number Diff line number Diff line change
@@ -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.