django-cloud-sql-postgres

Deploy Django applications on Google App Engine Standard with Cloud SQL PostgreSQL.

3|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/evolv3ai/claude-skills-archive --skill django-cloud-sql-postgres-evolv3ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-cloud-sql-postgres
Source: https://github.com/evolv3ai/claude-skills-archive/tree/main/skills/django-cloud-sql-postgres
Command: npx skills add https://github.com/evolv3ai/claude-skills-archive --skill django-cloud-sql-postgres-evolv3ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and templates (resource) and rules (resource) components.

What problem does it solve?

This Skill simplifies the complex process of deploying Django applications to Google App Engine Standard while connecting to a Cloud SQL PostgreSQL database, ensuring secure and efficient data handling.

Core Features & Use Cases

  • Production-Ready Configuration: Provides pre-configured settings.py and app.yaml for seamless deployment.
  • Secure Database Connections: Guides you through setting up Unix socket connections for App Engine and using the Cloud SQL Auth Proxy for local development.
  • Use Case: You need to deploy your Django-based e-commerce backend to Google Cloud. This skill will help you configure the database connection, environment variables, and deployment settings to ensure your application can reliably interact with your PostgreSQL data.

Quick Start

Use the django-cloud-sql-postgres skill to set up a Django project to connect to a Cloud SQL PostgreSQL database on Google App Engine.

Frequently Asked Questions about django-cloud-sql-postgres

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Django on Google App Engine with Cloud SQL Postgres?

Deploy Django on Google App Engine Standard with Cloud SQL PostgreSQL by configuring Unix socket connections in app.yaml and settings.py, using Gunicorn for production serving. This setup ensures secure and efficient data handling for GCP deployments.

Why does my Django Cloud SQL connection get a No such file or directory error on App Engine?

Django Cloud SQL connections fail with No such file or directory when Unix socket paths are misconfigured. Ensure your settings.py references the correct /cloudsql/ instance connection name format and that your app.yaml specifies the proper cloud_sql_connections environment variable.

Can I use Cloud SQL Auth Proxy for local Django development with PostgreSQL?

Yes, use Cloud SQL Auth Proxy for local Django development to securely connect to PostgreSQL instances. It forwards local requests to your Cloud SQL database, preventing connection refused errors and ensuring your local environment mirrors production behavior.

How do I configure Django settings.py for Cloud SQL PostgreSQL on GAE Standard?

Configure Django settings.py for Cloud SQL PostgreSQL on GAE Standard by setting the database engine to postgresql and directing the HOST to the Unix socket directory. Pre-configured templates ensure proper Gunicorn setup and production-ready database connection handling.

What is the best way to fix connection refused errors when testing Django with Cloud SQL locally?

Fix connection refused errors during local Django Cloud SQL testing by running the Cloud SQL Auth Proxy alongside your development server. This establishes a secure local forwarding tunnel to your PostgreSQL instance, mirroring the App Engine production environment.