Re: Tutorial 5 (Testing) seems to have an error

2016-12-28 Thread Nicolai Bjerre Pedersen
Hi Eric, Did you find the bug? I have the same issue running python 2.7.12 and django 1.10.4 Den mandag den 15. februar 2016 kl. 20.02.55 UTC+1 skrev Tim Graham: > > It looks like you have a Python path problem or that your project isn't > structured correctly such that the model is being regis

Re: Tutorial 5 (Testing) seems to have an error

2016-12-28 Thread Nicolai Bjerre Pedersen
I figured it out. I had to either delete __init__.py in my root directory (where manage.py is located) or call python manage.py polls.tests instead of just python manage.py polls Den mandag den 15. februar 2016 kl. 20.02.55 UTC+1 skrev Tim Graham: > > It looks like you have a Python path problem