#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 nishio):
Sorry, I made 2 mistake in above comment. I agree that the proposal is not perfect solution, but I think it is better than now. The following code is also incorrect. It assumes SETTINGS_MODULE is "project_name.settings" style. That's why the error message strange. {{{ project_name = settings.SETTINGS_MODULE.split('.')[0] }}} This fix is not the best error reporting but a better one. -- Ticket URL: <http://code.djangoproject.com/ticket/10599#comment:3> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---