I'm trying to use app-engine-patch with pyamf by following this: http://pyamf.org/wiki/GoogleAppEngine because I want to migrate my Django <-> pyamf application to app-engine-patch <-> pyamf.
What I have now is that I created my gateway.py with only one line of code:
import pyamf
just to test can I use pyamf and I get blank page whe...
Django will email ADMINS upon 500 errors.
Reading app-engine-patch docs, it claims to enable mail support, but I can't tell if it does so enough to support 500 emailing.
I tried it and it doesn't seem to be working, but it is a silent failure with no log messages, so I might have misconfigured something.
Does anyone have experience wi...
After thinking quite a while about how to make a fast and scalable web application, I am almost decided to go for a combination of Google App Engine, Python+Django, and app-engine-patch. But I came across a comment in the app-engine-patch FAQ that made me think that perhaps the combination is not quite as mature as I thought: it may take...
I do not care about concurrency issues.
It is relatively easy to build unique form field:
from django import forms
class UniqueUserEmailField(forms.CharField):
def clean(self, value):
self.check_uniqueness(super(UniqueUserEmailField, self).clean(value))
def check_uniqueness(self, value):
same_user = users.User.a...
Or, to be precise, how do I properly present a form to edit a db.ListProperty of db.Keys on a model admin page, with app-engine-patch for Django?
I have a Category like this:
class Category(db.Model):
title = db.CategoryProperty(required=True)
and a Post with this:
categories = db.ListProperty(db.Key)
Currently in the Django a...
I'm using django with app-engine-patch and I'm having this wierd problem running manage.py dumpdata from local store (works fine when I use the --remote option)
I'm running a local development server that has some test data on it. I can see that data on the admin site.
However running manage.py dumpdata all I get is this:
[{"pk": "agZm...
I have a fixture with multiple models that I'm using for testing. It
works for the basic models, but fails to create the entities for the
models with relationships. Is this a known limitation of app-engine-patch or am I missing
something? I'm using JSON for the fixture file.
I'm creating the fixture file with 'manage.py dumpdata --fo...
How the heck do i serve a simple img without all that MediaGenerator nonsense, in Django on App Engine?
I am using app engine patch.
I got layout like this:
django_app_engine_project_folder
my_app
Where should my folder for my media be? In my_app? Or do I put everything in the top media folder?
I want to do something like this in...
Does anyone know how to integrate tinymce in appengine patch ?
...
I've tried to follow the advice of this question: http://stackoverflow.com/questions/984071/facebook-django-and-google-app-engine, however I've run into a number of problems. The first is that from facebook.djangofb import facebook doesn't work because when I try to use the decorator @facebook.require_login(), it complains that the face...
I want to create an Entity Group relationship in an Entity that is being created through a ModelForm.
How do I pass the parent instance and set the parent= attribute in the ModelForm?
...
I have two models: Activity and Place.
The Activity model has a ReferenceProperty to the Place model.
This was working fine until the Place table started growing and now
when trying to edit an Activity via django admin I get a memory error
from Google (it doesn't happen if I remove that field from the Activity
admin's fieldsets)
The wi...
I'm working on a Google App Engine project using Django. I noticed that for some reason, the Django administration system page lists only 301 entities for one model, and 301 entities for another model. But there are actually over 500 stored instances for both of these models. What could be causing this problem?
...
Anyone successfully using deferred.defer library with app-engine-patch?
If so please share.
...
Hi,
I have a little problem with caching the images in the browser for my app-engine aplication
I`m sending last-modified, expires and cache-control headers but image is loaded from the server every time.
Here is the header part of the code:
response['Content-Type'] = 'image/jpg'
response['Last-Modified'] = current_time.strftime('%a, ...
The app-engine-patch authors have officially marked this wonderful project as dead on their website. Over the last year a lot of people have asked what the best way to run Django on Google App Engine was, and time after time people have pointed to app-engine-patch being the way to go. Now that this project is dead, I would love to revis...
Hi!
I'am developing application on app-engine-path.
I would like to make form with multichoice (acceptably languages for user).
Code look like this:
Language settings:
settings.LANGUAGES = ((u"cs", u"Čeština"), (u"en", u"English"))
Form model:
class UserForm(forms.ModelForm):
first_name = forms.CharField(max_length=100)
...
Hi, I am developing application on app-engine-path and I would like to upload some data to datastore.
For example I have a model
models/places.py:
class Place(db.Model):
name = db.StringProperty()
longitude = db.FloatProperty()
latitude = db.FloatProperty()
If I save this in view, kind() of this entity is "models_place"...
i have an app in GAE, but i have no idea about how to use django session, although i know the app-engine-patch may be helpful. who can give me a demo how to use it for session? thank you!
...
I`m looking for opinion which one is better for building web applications(web sites).
I have some experience with Django, and some with Google App Engine and App-Engine-Patch
for Django. And it seems to me that only Django is working faster than the GAE implementation.
Is there some other frameworks that simplify the developments process...