I add this to my settings:
---
TEMPLATE_CONTEXT_PROCESSORS = (
.
'django.contrib.messages.context_processors.messages',
<- new line
)
--
You ran the tests and they are telling you what is wrong. Read the
test result!
You have the django.contrib.auth app installed in your project. But
it seems that you haven't create the default templates needed for this
app works.
For these tests work, you need to define some templates (read
Yeahh , I already try this. The number of errors decreases, but I
still have some errors (15)
-
==
ERROR: test_password_change_fails_with_invalid_old_password
(django.contrib.auth.tes
I have an idea. Why don't you remove the middleware and see if the
tests work? That might give you the answer.
--
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 fro
I don't know but maybe the problem is related with this:
I use Middleware class provided by Ryan Witt. Whit this class the user
must to be authenticated to view any page other than LOGIN_URL
Can be this a problem to run the tests?
--
You received this message because you are subscribed to the G
Hello list. I have a question. I've never done unit testing with
Django before. I still don't write any unittest but when I do this:
sudo. / manage.py test
Many errors appears. Errors related with the authentication. Errors
like:
===
6 matches
Mail list logo