GAE app development: django

Hello, 

i m developing an app with Django on GAE and while my applications works in development locally, when I deploy it o gcloud, it breaks when I m using Django's render() of html. Any idea of how to fix it?

Solved Solved
1 1 59
1 ACCEPTED SOLUTION

Hi @anagnostopoulos,

Welcome to Google Cloud Community!

 

  • Render with `google.appengine.ext.webapp.template`: Use the GAE specific template module instead of Django's default loader.
  • Template Location: Upload your templates to the templates directory within your app directory on GAE.
  • Django Version Compatibility: Ensure your app.yaml uses a supported Django version that matches your local development environment.

 

View solution in original post

1 REPLY 1

Hi @anagnostopoulos,

Welcome to Google Cloud Community!

 

  • Render with `google.appengine.ext.webapp.template`: Use the GAE specific template module instead of Django's default loader.
  • Template Location: Upload your templates to the templates directory within your app directory on GAE.
  • Django Version Compatibility: Ensure your app.yaml uses a supported Django version that matches your local development environment.