mongodb newbie question

13 views
Skip to first unread message

Alex Arshavski

unread,
Feb 11, 2012, 9:49:24 AM2/11/12
to pywe...@googlegroups.com
Hi,

I'm trying to start a project with django-nonrel and mongodb.
I installed everything as written in documentation, but when I try to run syncdb, I get the following error:

django.db.utils.DatabaseError: Ordering can't span tables on non-relational backends (content_type__app_label)

Any ideas what am I doing wrong?

Thanks, Alex A.

Yehonatan Daniv

unread,
Feb 11, 2012, 11:46:45 AM2/11/12
to pywe...@googlegroups.com
seems like you are trying to order your queries using a reference field to another table, using the  '__' operator, and apparently it's not possible.

~Y


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

Reply all
Reply to author
Forward
0 new messages