django-var-cms gives Django projects a modern, customizable administrative Control Panel and CMS registry — without replacing your existing apps. Drop aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/rahul-baberwal/django-var-cms/llms.txt
Use this file to discover all available pages before exploring further.
var_cms_admin.py file in any app, register your models, configure per-role permissions, and go. The panel ships with a glassmorphic dark-mode UI, a Quill.js rich-text editor, built-in image cropping, media format conversion, and optional email OTP two-factor authentication.
Installation
Install via pip or uv and wire up
INSTALLED_APPS, URL routing, and media paths in minutes.Quickstart
Register your first model and see it live in the dashboard with a complete working example.
Permissions
Configure fine-grained add, list, view, edit, and delete access per role or per user.
API Reference
Full reference for VarCMSModelAdmin, VarCMSSite, permissions classes, and all settings.
What’s included
Auto-Discovery
Any
var_cms_admin.py file in an installed app is found and loaded automatically on startup — no registration boilerplate.Role-Based Permissions
Grant or deny add, list, view, edit, and delete per Django group or per individual user.
Rich Text Editor
Integrated Quill.js HTML editor activates on any TextField by setting
html_fields.Image Cropper
Built-in modal cropper with rotate, flip, and custom aspect-ratio controls, backed by Pillow.
Media Conversion
Convert images, audio, and video between formats via built-in API endpoints.
Custom Actions
Add one-click actions (Approve, Send Email, etc.) to list and detail views with a single callable.
Get started in three steps
Register the app and URLs
Add
"var_cms" to INSTALLED_APPS and mount the URLs at any path — conventionally /var-cms/.settings.py
django-var-cms requires Django ≥ 5.0 and Python ≥ 3.11. Pillow and WhiteNoise are required runtime dependencies.