It seems like you cannot use reverse within urls.py
url(r'^add/$','items.views.add_item_wizard',name='add_item_wizard'),
url(r'^add/complete/
$','django.views.generic.simple.direct_to_template',{
'template':'message.html',
'extra_context':{
'title': 'Add Item Complete',
'url': reverse('add_item_wizard'),
}
}, name='add_item_complete'),
Is there no way?
Thanks in advance,
Robin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---