In django, can I have 2 controller actions with the same name, but one for the ‘get’ request and 1 for the ‘post’ request?
If not, what is the best-practice for this type of scenerio?
i.e.
say I have a login action and view, should the form post go to another action with a different name or?
When writing Django views (you call them controllers) you can distinguish what type of request are you serving. Taken from the docs (http://docs.djangoproject.com/en/dev/ref/request-response/):