Getting Started
Welcome to Django Palette! This guide will help you get up and running quickly.
What is Django Palette?
Django Palette is a Django package that enhances the admin interface with:
Modern Bootstrap 5 styling
Responsive, mobile-friendly design
Reusable component-based templating
Custom template tags for building UI
Beautiful pre-styled admin pages
Grid/list view toggles for model lists
Drag-and-drop file upload with preview
Who is it for?
Django Palette is for Django developers who want to:
Create beautiful, modern admin interfaces quickly
Build reusable UI components
Use a familiar template tag syntax
Maintain full Django admin functionality
Customize the look and feel without losing power
Next Steps
Ready to get started? Check out:
Installation - Install django-palette
Quick Start - Get it working in 5 minutes
Features - Explore all features
Template Tags - Learn the custom template tags
Examples - Full Example on how to use Django Palette
Components - Build custom components
Key Concepts
Components
Components are reusable UI elements defined with the palette_component tag. They can have multiple named blocks that can be overridden.
Blocks
Blocks (palette_block) are named areas within a component that can be overridden when the component is rendered.
Overrides
Overrides (palette_override) replace the content of a specific block when rendering a component.
Features Highlights
All admin pages are styled with Bootstrap 5, featuring:
Clean, professional design
Responsive layouts for all devices
Consistent color scheme
Professional gradients and shadows
A collapsible sidebar showing:
Navigation to apps and models
Quick add buttons for each model
Mobile-friendly toggle
Build components once, use them anywhere:
Define with
palette_componentRender with
palette_uiOverride blocks with
palette_overridePass context variables naturally
Includes pre-built templates for:
Dashboard/index page
Model change list (with grid/list toggle)
Add/edit forms (with file upload)
Login page
Password change
Delete confirmation
Need Help?
Read Quick Start for a 5-minute setup
Check Template Tags for tag documentation
See Examples for code examples
Open an issue on GitHub