yoav.aviram
yoav.aviram

Reputation: 1802

Google App Engine with Django Patch and the Deferred library

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

If so please share.

Upvotes: 0

Views: 186

Answers (1)

yoav.aviram
yoav.aviram

Reputation: 1802

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!

Upvotes: 1

Related Questions