yes,that did the trick, odd that on .all does work fine,  i wish the error 
was more descriptive.

On Friday, October 3, 2014 7:52:40 AM UTC-5, Collin Anderson wrote:
>
> You need to call django.setup().
>
> I can confirm, though, that using Model.objects.all() somehow sometimes 
> seems to work without calling django.setup().
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1664d4a8-45ff-4b6f-818e-2cf3f54c5413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to