diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-10 23:56:13 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-10 23:56:13 -0400 |
commit | d471329e7a5bf7819bb557241bf580a1c6e1fae5 (patch) | |
tree | ce6f31ef8da98ab23134c7555c68afd227bededb /snakeplan/projects/urls.py | |
parent | 1093383ae03816387956b1c21e3799029fda0721 (diff) | |
download | snakeplan-d471329e7a5bf7819bb557241bf580a1c6e1fae5.tar.bz2 snakeplan-d471329e7a5bf7819bb557241bf580a1c6e1fae5.tar.xz snakeplan-d471329e7a5bf7819bb557241bf580a1c6e1fae5.zip |
Tidying up URLs. Still needs some work.
Diffstat (limited to 'snakeplan/projects/urls.py')
-rw-r--r-- | snakeplan/projects/urls.py | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/snakeplan/projects/urls.py b/snakeplan/projects/urls.py index 259cbc9..7f47d04 100644 --- a/snakeplan/projects/urls.py +++ b/snakeplan/projects/urls.py | |||
@@ -20,12 +20,18 @@ SnakePlan Project Urls | |||
20 | 20 | ||
21 | from django.conf.urls.defaults import patterns, url | 21 | from django.conf.urls.defaults import patterns, url |
22 | 22 | ||
23 | |||
23 | urlpatterns = patterns('snakeplan.projects.views', | 24 | urlpatterns = patterns('snakeplan.projects.views', |
24 | url(r'^$', 'projects.index'), | 25 | url(r'^$', 'projects.index', name='project-list'), |
25 | url(r'^projects/$', 'projects.index', name='project-list'), | 26 | |
26 | url(r'^project/create/', 'projects.create_project', name='create-project'), | 27 | # Projects |
27 | url(r'^project/(.*)/iterations/', 'projects.project_iterations', name='project-iterations'), | 28 | url(r'^create/', 'projects.create_project', name='create-project'), |
28 | url(r'^iteration/(.*)/stories/', 'iterations.index'), | 29 | url(r'^(\d+)/edit/', 'projects.update_project', name='edit-project'), |
29 | url(r'^story/(.*)/tasks/', 'stories.index'), | 30 | url(r'^(\d+)/', 'projects.project_iterations', name='project-iterations'), |
30 | url(r'^task/(.*)/', 'tasks.index'), | 31 | |
32 | # Iterations | ||
33 | url(r'^(\d+)/iterations/(\d+)/', 'projects.index'), | ||
34 | |||
35 | # Stories | ||
36 | url(r'^(\d+)/stories/(\d+)/', 'projects.index', name='iteration-stories'), | ||
31 | ) | 37 | ) |