#10976: missing template files for correctly executing test cases on
django.contrib.auth
-------------------------------+--------------------------------------------
Reporter: aarond10 | Owner: nobody
Status: new | Milestone: 1.1
Component: Testing framework | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------------------+--------------------------------------------
This has taken me a while to wrap my head around. I hope I have it right.
When the test cases for django.contrib.auth run, they reassign
settings.TEMPLATE_DIRS to use a local set of templates. This works fine
for login purposes but the password reset pages don't exist in the current
SVN repository so application paths are searched and if
password_reset_email.html can be found elsewhere, its loaded and rendered.
Unfortunately, since the test cases also use their own URLs, any
references to named {% url %} tags in password_reset_email.html lead to
NoReverseMatch exceptions.
Could someone please put some basic templates in the
contrib/auth/tests/templates/ folder to avoid these errors?
--
Ticket URL: <http://code.djangoproject.com/ticket/10976>
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
-~----------~----~----~----~------~----~------~--~---