Why ?who can help me? 2009/11/15 cookieu <[email protected]>
> >>> from django.contrib.contenttypes.models import ContentType > >>> user_type = ContentType.objects.get(app_label="auth", model="user") > then error occured! > Traceback (most recent call last): > File "<console>", line 1, in <module> > File "D:\Program Files\Google\google_appengine\patch\common\zip- > packages\djang > o-1.1.zip\django\db\models\manager.py", line 120, in get > return self.get_query_set().get(*args, **kwargs) > File "D:\Program Files\Google\google_appengine\patch\common\zip- > packages\djang > o-1.1.zip\django\db\models\manager.py", line 99, in get_query_set > return QuerySet(self.model) > File "D:\Program Files\Google\google_appengine\patch\common\zip- > packages\djang > o-1.1.zip\django\db\models\query.py", line 36, in __init__ > self.query = query or sql.Query(self.model, connection) > AttributeError: 'module' object has no attribute 'Query' > >>> > > -- > > You received this message because you are subscribed to the Google Groups > "app-engine-patch" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/app-engine-patch?hl=. > > > -- You received this message because you are subscribed to the Google Groups "app-engine-patch" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/app-engine-patch?hl=.
