#9774: direct_to_template example url pattern is incorrect
------------------------------------+---------------------------------------
Reporter: agabel | Owner: nobody
Status: closed | Milestone:
Component: Documentation | Version: 1.0
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by ubernostrum):
In order to directly reference the view as itself (in other words, in
order to mention it directly instead of putting its name in a string), you
must actually import it into the URLConf. So, no, your proposal wouldn't
work at all without further changes.
--
Ticket URL: <http://code.djangoproject.com/ticket/9774#comment:2>
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
-~----------~----~----~----~------~----~------~--~---