projects view now accepts projects with spaces
I have created a project named 'MediaWiki core' and django complained it could not find any URL to match '/project/MediaWiki%20core'. The patterns were explicitly preventing spaces (\S), turn that to any character (.). Change-Id: Ief240112c8a1c0fe6aedf5ecf8f70d0b1e5714a0
This commit is contained in:
parent
70a7ca6f6d
commit
b04ec6a864
@ -18,8 +18,8 @@ from django.conf.urls.defaults import patterns
|
||||
|
||||
urlpatterns = patterns('storyboard.projects.views',
|
||||
(r'^$', 'default_list'),
|
||||
(r'^(\S+)/bugs/triage$', 'list_bugtriage'),
|
||||
(r'^(\S+)/bugs$', 'list_bugtasks'),
|
||||
(r'^(\S+)/features$', 'list_featuretasks'),
|
||||
(r'^(\S+)$', 'dashboard'),
|
||||
(r'^(.+)/bugs/triage$', 'list_bugtriage'),
|
||||
(r'^(.+)/bugs$', 'list_bugtasks'),
|
||||
(r'^(.+)/features$', 'list_featuretasks'),
|
||||
(r'^(.+)$', 'dashboard'),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user