← ClaudeAtlas

djangolisted

Django + FastAPI development. Project structure, DRF serializers/viewsets, Pydantic, async Django with ASGI, admin, ORM optimization, deployment.
arbazkhan971/godmode · ★ 26 · Code & Development · score 79
Install: claude install-skill arbazkhan971/godmode
# Django — Django & FastAPI Development ## Activate When - User invokes `/godmode:django` - User says "Django", "Django project", "Django app" - User mentions "FastAPI", "Pydantic", "dependency injection" - User asks about "DRF", "Django REST Framework", "serializers", "viewsets" - User mentions "Django admin", "admin customization" - User asks about "ASGI", "async Django", "Uvicorn", "Daphne" - User says "django view", "views.py", "Django view for" - When `/godmode:plan` identifies a Python web project - When `/godmode:review` flags Django or FastAPI architecture issues ## Workflow ### Step 1: Project Assessment Understand the Python web application context: ``` PYTHON WEB PROJECT ASSESSMENT: Project: <name and purpose> Framework: <Django | FastAPI | both (Django + FastAPI hybrid)> Type: <monolith | microservice | API-only | full-stack with templates> Scale: <expected RPS, team size, data volume> Database: <PostgreSQL, MySQL, SQLite, MongoDB> Auth: <Django auth, OAuth2, JWT, API keys> Async needs: <WebSocket, background tasks, streaming, long-polling> Deployment: <Gunicorn+Nginx, Docker, serverless, PaaS> Existing code: <greenfield | existing Django project | migration> ``` If the user hasn't specified, ask: "Are you building with Django, FastAPI, or both? Is this an API-only service or full-stack with templates?" ### Step 2: Django Project Structure Design the Django project layout following best practices: ``` DJANGO PROJECT STRUCTURE: project/ ├── manage.py ├── py