On Jan 20, 10:28 am, peterk 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 U
Hey Ryan,
Thanks for the reply :)
I'm not importing the app engine user class at all.
This is what my forms file looks like, for this custom form:
from django import forms
from django.contrib.auth.models import User
class RegistrationForm(forms.ModelForm):
class Meta:
model = User
Hi Jan,
On 20 Jan., 19:28, peterk 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.contri
Hey Waldemar,
Thanks very much for that info..I might check out the latest
repository version and give that a go.
Great work, btw, very much appreciate what you guys are doing.
On Jan 21, 9:36 am, Waldemar Kornewald wrote:
> Hi Jan,
>
> On 20 Jan., 19:28, peterk wrote:
>
>
>
> > I've been pla
Hey Peter,
On Jan 21, 10:45 am, peterk wrote:
> Hey Waldemar,
>
> Thanks very much for that info..I might check out the latest
> repository version and give that a go.
>
> Great work, btw, very much appreciate what you guys are doing.
Thanks a lot! We're happy when our users are happy. :)
Bye,
Sorry to come back on this..I guess I should have tried this before
replying previously..but, how can I get my sample app totally up to
date?
I checked out the patched version of django, but when I zip it up (to
replace the zipped django), it comes to nearly 4MB, which is over the
limit for GAE?
Oops..nevermind, I got it working. I guess sometimes you just have to
RTFM :D Specifically, this page gave me what I needed:
http://code.google.com/p/app-engine-patch/wiki/ManualInstallation
So User.objects works now..which is great. So far so good :)
Thanks again for your help!
On Jan 21, 7:1