Hi Jan,

On 20 Jan., 19:28, peterk <peter.ke...@gmail.com> wrote:
> I've been playing around with app-engine-patch for Django on AE, and
> I've been pretty happy with it so far. But I've run into a bit of bump
> on the road.
>
> As per the Django documentation, I'm trying to create a User like so:
>
> from django.contrib.auth.models import User
>
> ...
>
> user = User.objects.create_user('john', 'len...@thebeatles.com',
> 'johnpassword')
>
> I'm doing this in the context of a custom form that I'm using for user
> registration..I'm over-riding it's save function, and need to create
> the user therein.
>
> Problem is, I get this error:
>
> AttributeError: type object 'User' has no attribute 'objects'
>
> I'm probably doing something silly, I'm a bit of a python AND django
> newbie
>
> Can anyone shed some light? Thanks for much for any help!

The 0.9.x series of app-engine-patch doesn't support User.objects.
However, it'll be part of the upcoming release 1.0. I've already
implemented it in our patched Django repository, but the sample
project repo hasn't been updated, yet.

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

Reply via email to