On Wed, Dec 5, 2012 at 3:04 AM, JG <[email protected]> wrote:
> I found a lot of examples on the internet, but the thing is - I am also
> working with Google App Engine.

(disclaimer, i haven't developed on GAE, I've just read the specs a few times)

yes, that's a problem.   In your specific example, the tutorial you
link uses Django-mptt, which uses aggregates, which aren't supported
by the datastore in GAE.

so, I see only three solutions:

- keep searching for a GAE-specific example.  I'm sure somebody
somewhere has done threaded comments on GAE...

- switch from datastore to Google Cloud SQL.  it's supposed to be
MySQL-compatible, so the Django ORM should work, no?  I haven't read
anywhere if that works or not, but IMHO it's worth a try.  unless
there's a cost difference?  again, i have no idea.

- develop your own.  In fact, hierarchical structures aren't a great
match for SQL storage, so non-obvious mappings (like MPTT) are needed.
 Google's datastore might (or might not) allow a more direct approach.

cheers,

--
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to