djangoappengine

Google app engine users Auth: djangoappengine Vs Web2py Vs Webpy

I'm going to develop a small web application on Gae with a registration section, login\logout and stuff like that. Since Google app Engine does not support session out of the box and i don't want to restrict access using google Accounts, i am forced to pick a Framework that offers this kind of facilities. My choices are: Web2py Djan...

Equivalent replacement for ListProperty(db.Key) in djangoappengine

I and trying to use djangoappengine, but I am unsure how can I write model to incorporate standard ListProperty(db.Key) I know that djangotoolbox provides this field types but I am unable to figure out the exact syntax. ...

Fill a Form on the same page with different classes - write to DB and display values

I have a model with 5 entities and intend to create a form (on the same page) but do not know how to integrate more than one form. In my main, i can play very well with the forms and write to database, but I need to put more fields on the page. These fields are of different models. ** My models: Teacher, Account(ReferenceProperty...

manage.py broken after update of appengine.

I updated appengine and now manage.py is broken, this is what I get: Traceback (most recent call last): File "manage.py", line 18, in InstallAppengineHelperForDjango() File "\workspace\Project\src\appengine_django_init_.py", line 545, in InstallAppengineHelperForDjango InstallDjangoModuleReplacements() File "\workspace\Pr...

django dynamic translate on AppEngine

Hi, I need dynamic translation in django on AppEngine. I found nice django modul for dynamic translations: django-rosetta, but it open files (django.po...) and it is not allowed on AppEngine. Exist some other translate modul where is compatibile (or with small fix) with AppEngine? Thanks. Martin ...

AppEngine Python - updating entity properties without twenty elif statements

Suppose I have an AppEngine model defined with twenty different StringProperty properties. And then I have a web form, which POSTs updated values for an entity of this model. I end up with something like this after reading in the form data: entity_key['name'] = 'new_name' entity_key['city'] = 'new_city' entity_key['state'] = 'new_stat...

Django templating engine and external js files

I'm writing a Google app engine app and obviously the default web app framework is a subset of Django. As such I'm using it's templating engine. My question is if I have say the following code: template_values = { 'first':first, 'second':second, } path = os.path.join(os.path.dirname(__file__), 'index.html') self.resp...

Appengine - how to get an entity and display values

I'm having trouble with my project. I have 2 models class UserPrefs(db.Model): user = db.UserProperty() name = db.StringProperty() class Person(db.Model): name = db.StringProperty() phone = db.PhoneNumberProperty() userPrefs = db.ReferenceProperty(UserPrefs) class PersonHandler(webapp.RequestHandler): def get...