http://code.google.com/appengine/
Apparently, you can run the entire Django stack with a few
modifications on top of Google's infrastructure
(http://code.google.com/appengine/articles/django.html) and for most
basic apps, it's free.
Caveat: there's a waiting list for signing up.
Ramin
Another caveat, according to that same page you linked:
"Since App Engine does not support Django models, leave all DATABASE_*
settings set to an empty string. The authentication and admin
middleware and apps should be disabled since they require Django
models. The functionality these provide is covered by the App Engine
Users API and Admin Console respectively. Sessions also depend on
Django models and must be disabled as well."
Without models, the vast majority of Django apps won't run at all.
-Gul
The trouble is who "you" are. I make use of a number of third-party
apps, and I don't much enjoy the idea of having to migrate *their*
models over to appengine, only to have to keep those changes in sync
with other updates to the apps.
Maybe after queryset-refactor lands, we can get a BigTable backend to
actually run all existing apps, including the built-in auth and admin
apps. A pipe dream, I expect, but that's my hope, anyway.
-Gul
Mat
They should, although it shouldn't need a whole new branch, I don't
think. Once qs-rf lands, it should provide enough hooks that a
database backend should suffice. It still won't be simple, but it
shouldn't need a branch of Django's own code.
And since appengine lets you drop in your own Django codebase, we
should be able to just use queryset-refactor already, even if we don't
wait for it to be merged to trunk. I just don't know enough about it
to venture into that myself yet.
-Gul
You can certainly run your own django version on appengine, but without db
support its limited, even sqlite wont work, as we don't have filewrite
access :(, needs a new db backend adding into django as far as I can tell.
Mat
-----Original Message-----
From: django...@googlegroups.com [mailto:django...@googlegroups.com]
On Behalf Of Marty Alchin
Sent: 08 April 2008 14:01
To: django...@googlegroups.com
Subject: Re: Google App Engine & Django
Would it not be possible to simulate joins in the ORM by doing multiple
requests? Like I said I don't know the backend code, so this could be either
trivial or impossible and I wouldn't know the difference!!
You can use your own version of Django, see http://code.google.com/appengine/articles/django.html
David
Jut because it is not relational, does not mean that it have no ACID properties.
> Still it is an exciting development and another great option to
> Amazon s3/ec3 services.
>
> thanks
> Ashish Gupta
>
>
> On Apr 8, 4:31 am, "Marty Alchin" <gulop...@gamemusic.org> wrote:
>
>
> > On Tue, Apr 8, 2008 at 2:28 AM, Ramin Firoozye <ram...@gmail.com> wrote:
> > > Caveat: there's a waiting list for signing up.
> >
> > Another caveat, according to that same page you linked:
> >
> > "Since App Engine does not support Django models, leave all DATABASE_*
> > settings set to an empty string. The authentication and admin
> > middleware and apps should be disabled since they require Django
> > models. The functionality these provide is covered by the App Engine
> > Users API and Admin Console respectively. Sessions also depend on
> > Django models and must be disabled as well."
> >
> > Without models, the vast majority of Django apps won't run at all.
> >
> > -Gul
>
> >
>
--
Eduardo de Oliveira Padoan
http://www.advogato.org/person/eopadoan/
Bookmarks: http://del.icio.us/edcrypt
Yeah, Google certainly use their platform to do any data-driven or
data-intensive applications, after all...
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
I see the similarities between them and django models, tho Django knows
where to look for them, and thus knows how to manage those classes.
Appengine has it's own stuff, and at the bottom of the django page it's
said that you don't need to run manage.py to setup the models. How does
this work then? Am I to write the models (in appengine-slang) and just
place them were I used to place django models? It really makes no
difference beside the import phrase if you place them elsewhere,
assumedly, but perhaps AE is just looking elsewhere or uses some
discovery system we should be aware of? I haven't (yet! still browsing)
seen any reference to this.
Okay, anything built on django models won't work. I don't care. I don't
use the admin interface but in the *very* early stages, as scaffolding,
and then build my own admin usually. And if AE provides consistent user
auth, there I have all I need to get building on AE and scrap hosting
headaches from my todo list.
I recon, it's early. Beta. Probably oob (out of beta) very soon (tm).
Like a couple years. But I'm in to start and get the hang of it. If
everything rolls, it's on to get The Standard Django Hoster for ages.
And even if it's non-free, if it once-and-forever takes the hassle of
setting up some hosting for django out of my life, I'll pay them in gold
bars!
I will continue traversing the docs and share anything I discover (tho
I'm sure not the first one, even from us on the list). And if you happen
to get one of those you-gotta-wait accounts, and have the valour to try
and get django up and running, please share the joy.
~ Chris