#9771: Wrong form action
------------------------------------+---------------------------------------
Reporter: tutonien | Owner: jacob
Status: closed | Milestone:
Component: Documentation | Version: 1.0
Resolution: wontfix | Keywords: tutorial, form, post,
action, absolute
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by gabrielhurley):
* status: reopened => closed
* resolution: => wontfix
Comment:
I'm in agreement with the assessment that practicality wins in this
instance. The tutorial should be simple, understandable, and "just work".
If you want to make your app pluggable you need to be using the `{% url
%}` tag and/or `get_absolute_url` to be getting these attributes
dynamically, which is outside the current scope of the tutorial. Using a
hard-coded relative path is (IMHO) just as bad as using a less-pluggable
absolute path. It's already been proven to be just as fraught with error.
If someone wants to suggest that the tutorial cover named views and using
the `{% url %}` tag then a new ticket should be opened for it.
As such, I'm closing this as a wontfix.
--
Ticket URL: <http://code.djangoproject.com/ticket/9771#comment:6>
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.