summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-29 12:54:34 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-29 12:57:37 +0100
commit8c6aeb1609df5a56b68f2c57da6028e95f88e0ae (patch)
treee18f26c62e0e59ac925d4524e5be4e64da5eecf6 /ishtar/furnitures/urls.py
parentf1eca7a1eef6a2ff8bb87c4626001c231eb4c8fd (diff)
downloadIshtar-8c6aeb1609df5a56b68f2c57da6028e95f88e0ae.tar.bz2
Ishtar-8c6aeb1609df5a56b68f2c57da6028e95f88e0ae.zip
Remind of the current step in the wizard (closes #51)
Diffstat (limited to 'ishtar/furnitures/urls.py')
-rw-r--r--ishtar/furnitures/urls.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/ishtar/furnitures/urls.py b/ishtar/furnitures/urls.py
index 9c09c323d..0b3cd6c16 100644
--- a/ishtar/furnitures/urls.py
+++ b/ishtar/furnitures/urls.py
@@ -30,6 +30,9 @@ for section in menu.childs:
actions = r"|".join(actions)
urlpatterns += patterns('ishtar.furnitures.views',
- url(BASE_URL + r'(?P<action>' + actions + r')/(?P<slug>[A-Za-z0-9_-]+)/' +\
- r'((?P<obj_id>\d)/)?$', 'action', name='action'),
+ url(BASE_URL + r'(?P<action_slug>' + actions + r')/(?P<slug>[A-Za-z0-9_-]+)/' +\
+ r'(?P<obj_id>\d)/$', 'action', name='action_bounded_form'),
+ url(BASE_URL + r'(?P<action_slug>' + actions + r')/(?P<slug>[A-Za-z0-9_-]+)/$',
+ 'action', name='action_form'),
+ url(BASE_URL + r'(?P<action_slug>' + actions + r')/$', 'action', name='action'),
)