=========== Quick Start =========== Get django-palette running in 5 minutes! Installation (1 minute) ======================= 1. Install the package: .. code-block:: bash pip install dj-palette 2. Add to ``settings.py``: .. code-block:: python INSTALLED_APPS = [ 'dj_palette', 'dj_palette.palette_admin', # optional, only if you want the best looking admin UI 'django.contrib.admin', # ... rest of your apps ] 3. Run migrations: .. code-block:: bash python manage.py migrate 4. Collect static files: .. code-block:: bash python manage.py collectstatic 5. Start the server: .. code-block:: bash python manage.py runserver Visit http://localhost:8000/admin/ and you'll see the beautiful django-palette admin interface! Creating a Component (2 minutes) ================================ Create a file ``templates/components/stat_card.html``: .. code-block:: django {% load palette %} {% palette_component "stat_card" %}
{{ label }}
{% endpalette_block %}{{ label }}
Updated just now {% endpalette_override %} {% endpalette_ui %}