django-setup

Set up a Django project for HTTPS local development with mkcert and Uvicorn.

2|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/otoshek/Claude-Code-Toolkit --skill django-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-setup
Source: https://github.com/otoshek/Claude-Code-Toolkit/tree/main/skills/django-setup
Command: npx skills add https://github.com/otoshek/Claude-Code-Toolkit --skill django-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive setup flow to initialize Django projects for HTTPS development using mkcert certificates, including venv, dependencies, health endpoints, and SSL-ready configuration.

Core Features & Use Cases

  • Automatic Python version selection and venv setup.
  • HTTPS development with mkcert certificates and Uvicorn/SSL server configuration.
  • Core dependencies (Django, dotenv, DRF, CORS headers) pre-wired.
  • Health endpoints for CSRF initialization and backend status.
  • Comprehensive guidance for migrations, health checks, and testing.

Quick Start

Create a Django project, configure HTTPS with mkcert, run migrations, and verify the health endpoint.

Frequently Asked Questions about django-setup

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

FAQPage Schema
How do I set up Django for HTTPS local development with SSL certificates?

HTTPS setup for Django involves creating a virtual environment, installing Django and dependencies, generating SSL certificates with mkcert, and configuring Uvicorn as an ASGI server to serve over SSL. This Skill automates the entire process including venv creation, dependency installation, certificate generation, and SSL configuration across macOS, Linux, and Windows.

Can I use mkcert to generate SSL certificates for local Django development?

Yes. mkcert creates locally-trusted SSL certificates for development without browser warnings. This Skill integrates mkcert certificate generation with Django and Uvicorn to provide a complete HTTPS development environment with platform-specific guidance for certificate installation and SSL server configuration.

How do I configure Django with CORS and CSRF when using HTTPS?

Django CORS and CSRF configuration requires installing django-cors-headers, adding middleware, and setting allowed hosts and origins. This Skill pre-wires these dependencies and provides CORS/CSRF settings tailored for HTTPS development, plus health endpoints to verify proper initialization.

What's the best way to run Django with Uvicorn and SSL certificates locally?

Uvicorn serves Django applications over HTTPS by loading SSL certificates and private keys. This Skill generates SSL run scripts that configure Uvicorn with mkcert certificates, handle platform-specific paths, and verify the setup with health endpoints and migration checks.

Do I need to manually configure virtual environments and dependencies for Django HTTPS development?

This Skill automates Python version selection, virtual environment creation, and pre-installs core dependencies (Django, python-dotenv, Django REST Framework, django-cors-headers) so you skip manual setup and move directly to certificate generation and SSL configuration.