On Jan 20, 10:28 am, peterk <[email protected]> wrote:
...
> AttributeError: type object 'User' has no attribute 'objects'

out of curiosity, are you importing the app engine User class after
the django User class? e.g. something like:
from django.contrib.auth.models import User
...
from appengine.api.users import User

if so, it's using the app engine User class. try fully qualifying your
User references, e.g.:

from django.contrib.auth import models
...
from appengine.api import users

...

user = models.User.objects.create_user('john',
'[email protected]', 'johnpassword')

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to