#15645: HTTP methods in urls.py
-------------------------------------+-------------------------------------
Reporter: haras | Owner: nobody
Status: new | Milestone:
Component: HTTP | Version:
handling | Keywords: http urls
Resolution: | Has patch: 0
Triage Stage: Design | Needs tests: 0
decision needed |
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Comment (by Keryn Knight <keryn@…>):
Unless I'm misreading the code, method based dispatch already exists in
one form, implemented in the [http://docs.djangoproject.com/en/dev/topics
/class-based-views/ new Class Based Views] (see
[http://code.djangoproject.com/browser/django/trunk/django/views/generic/base.py
View] in django.views.generic.base).
As such, implementing the same basic functionality elsewhere (even if its
a better fit, which the ''urls'' configuration may well be) seems counter-
intuitive, and against the oft harkened zen of there being only one true
way.
--
Ticket URL: <http://code.djangoproject.com/ticket/15645#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.