Project

General

Profile

« Previous | Next » 

Revision 4d0cfc38

Added by Serghei Mihai about 9 years ago

slug regex fix

View differences:

uauth/urls.py
5 5

  
6 6
urlpatterns = patterns('',
7 7
    url(r'^$', homepage, name='organization-home'),
8
    url(r'^(?P<organization_slug>\w+)$', organization, name='organization-home'),
9
    url(r'^(?P<organization_slug>\w+)/login', login, name='organization-login'),
8
    url(r'^(?P<organization_slug>[\w-]+)$', organization, name='organization-home'),
9
    url(r'^(?P<organization_slug>[\w-]+)/login', login, name='organization-login'),
10 10
    url(r'^accounts/mellon/login/$', login, name='mellon_login'),
11 11
    url(r'^accounts/mellon/', include('mellon.urls')),
12 12
)

Also available in: Unified diff