Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
adding "-" to group names in url patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
dchud@onebiglibrary.net committed Jul 29, 2010
1 parent 7d39c5a commit a912bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urls.py
Expand Up @@ -63,8 +63,8 @@
url(r'^person/(?P<user_name>.*)/$', 'person'),

# Groups...
url(r'^group/(?P<group_name>[a-zA-Z0-9._]+)/$', 'group', name='group'),
url(r'^group/(?P<group_name>[a-zA-Z0-9._]+)/feed/$', 'group_feed',
url(r'^group/(?P<group_name>[a-zA-Z0-9._-]+)/$', 'group', name='group'),
url(r'^group/(?P<group_name>[a-zA-Z0-9._-]+)/feed/$', 'group_feed',
name='group_feed'),
# Punt on these for now.
#url(r'^group/(?P<group_name>[a-zA-Z0-9._]+)/tags/$', 'group_tags',
Expand Down

0 comments on commit a912bf0

Please sign in to comment.