#10599: URLNode raises "Reverse for 'settings.view_name' ... not found."
--------------------------------------+-------------------------------------
Reporter: nishio | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by mtredinnick):
This is a known problem (I'm be surprised if this wasn't a dupe of some
other ticket, but I can't find it at the moment), however the proposed fix
isn't correct. The presence or otherwise of a period in the settings
module's import path isn't indicative of anything about the project
directory. We should basically not report anything from that last block if
it raises an exception, since it's really just a safety net for beginners.
We do need a better error reporting there, but this isn't the way to do
it.
--
Ticket URL: <http://code.djangoproject.com/ticket/10599#comment:1>
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
-~----------~----~----~----~------~----~------~--~---