urls.py doesn't do anything with GET or POST requests, its just
regular expression to method mapping.
So you can pass whatever you want to the link, and they will all work.
For example, in your urls.py you have:
(r'^logout$', logout_user)
All these requests will be passed to your logout_user me
Is it possible to pass request.path in urls.py? I want to pass it as next
parameter in logout declaration.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from t
2 matches
Mail list logo