2014-06-18 9:48 GMT+02:00 Shai Berger <s...@platonix.com>:

I'm not sure -- but it may be that your 'fixupthemes.FixupThemeTime' model
> is
> not loaded in the script. Try adding an explicit import of it before the
> query.
>
> If this works, then:
>
> a) The issue has been resolved in 1.7 by the app-load refactor;
> b) This does belong on django-users.
>

I'm pretty sure (a) is the answer.

That's exactly the reason why I added the requirement that standalone
scripts call `django.setup()` before doing anything with the ORM.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CANE-7mXH5BCBORVS_qZmcQ08gwDVxqC_eUcBbBSB%2BLU0hX7vJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to