Monday, October 10, 2011

contrib.auth tests - not respecting TEMPLATE_DIRS?

I'm running the contrib.auth tests in a situation where I have a
signal hook on login which uses a template.

Strangely, when I run the full test suite, I find that in state, the
global template dirs contains only
"/django/contrib/auth/tests/templates" and not the directory (or -ies)
specified in the TEMPLATE_DIRS setting.

The same code is executed just fine in production.

--
Justin Holmes

Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate