AppEngine uses Model.kind( ) to determine what entities a Model
derived class corresponds to.  Patch patches kind( ), so you'll want
to make sure kind( ) in both handlers returns the same result.

On Jan 7, 1:24 pm, Nickolas Daskalou <[email protected]> wrote:
> I'm not too sure what that means, can you please elaborate a little?
>
> On 08/01/2010, at 12:17 AM, Paweł H <[email protected]> wrote:
>
>
>
> > There is a little problem, because GAE add prefix to model kind name  
> > (appname_modelname). It can be fixed by overriding kind method.
>
> > 2010/1/7 Nickolas Daskalou <[email protected]>
> > I've managed to use AEP and webapp on the same GAE application by  
> > filtering based on the HTTP host, as described here:
> >http://groups.google.com/group/google-appengine/browse_thread/thread/...
>
> > I have not yet tried sharing models between the two (eg. having one  
> > models.py file that both webapp and AEP import and use).
>
> > Anyone have any tips on the "best" way to do this?
>
> > --
> > You received this message because you are subscribed to the Google  
> > Groups "app-engine-patch" group.
> > To post to this group, send email to app-engine-
> > [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected]
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/app-engine-patch?hl=en
> > .
>
> > --
> > You received this message because you are subscribed to the Google  
> > Groups "app-engine-patch" group.
> > To post to this group, send email to app-engine-
> > [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected]
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/app-engine-patch?hl=en
> > .
-- 
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].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/app-engine-patch?hl=en.


Reply via email to