Django on Google App Engine

前端 未结 7 1718
终归单人心
终归单人心 2020-12-02 14:47

How much of a pain is it to run a Django App on App Engine? Also, does the Datastore work as-is with Django?

相关标签:
7条回答
  • 2020-12-02 15:40

    You need to use django-nonrel (source).

    You will still find loads of issues:

    • Many2Many relations not supported
    • Fake joins increase number of queries
    • App Engine doesn't allow any python lib with socket or C dependencies (sentry, lxml...)

    You can try to get early access to CloudSQL.

    Otherwise you are not constraint to use App Engine, you can think about using:

    • Heroku
    • Gondor

    Cheaper and more control with support requirement files like pip.

    0 讨论(0)
提交回复
热议问题