#5904: reverse should be more lenient on non-existent views in the urlconf ------------------------+--------------------------------------------------- Reporter: SmileyChris | Owner: nobody Status: new | Component: Core framework Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ------------------------+--------------------------------------------------- If you try to use the `reverse` (even for an existing view) while you have a non-existent view referenced in your urlconf, a `ViewDoesNotExist` error will be raised.
This happens because a `reverse_dict` cache is built for the `RegexURLResolver` containing a list to all pattern callbacks and names. Rather than the whole thing falling over, all that should really happen in this case is that the callback is left out of `reverse_dict`. -- Ticket URL: <http://code.djangoproject.com/ticket/5904> Django Code <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 -~----------~----~----~----~------~----~------~--~---
