Python Playground

A real-world
Django platform
built to design & explore more.

DjangoPlay is a modular enterprise backend showcasing Django at its best — domain-driven design, service layers, audit logging, policy engine, and subdomain routing. Built for Python & Django developers to learn and design from.


🐍
Django 5 + DRF
Core framework with Django REST Framework for REST APIs
🐘
PostgreSQL
Primary relational database with pg_trgm extension
Redis
Caching, session store & Celery message broker
🌿
Celery
Async background task workers with beat scheduling
🔐
JWT + Allauth
Session & token auth, Google SSO integration
📡
drf-spectacular
Auto-generated OpenAPI 3 schema, Swagger & Redoc
🌐
Nginx + Oracle VPS
Production deployment on Oracle Cloud VPS
🔒
Fernet Encryption
Credential encryption at rest in environment files

16
Domain Apps
Every app maps to a real business domain — helpdesk, teams, locations, identities, invoicing, and more. Each owns its data, logic, and permissions.
helpdesk teamcentral users entities invoices
5
Layered Architecture
Interface → Application → Domain → Platform → Infrastructure. Views orchestrate, services decide. Business logic never leaks into serializers or views.
service layer DDD signals fail-closed
Platform Services
Audit logging, policy engine, mailer, issue tracker — shared capabilities across every domain. Every state change is observable and attributable.
audit policyengine mailer issuetracker