Google App Engine with Django Patch and the Deferred library

188 Views Asked by At

Anyone successfully using deferred.defer library with app-engine-patch?

If so please share.

1

There are 1 best solutions below

0
yoav.aviram On

I finally got it to work after getting a tip on the app-engine-patch news group:

I used a different approach to get the same effect. I placed all my deferred tasks into a separate module. In the module's imports, I included the import:

import common.appenginepatch.main

This causes all AEP initialization to occur. Deferred is working like a champ in production.

johnP

Thanks JohnP!