Skip to main content

Dark Themes for Django Rest Framework

Project description

drf-dark-theme

https://img.shields.io/pypi/v/drf-dark-theme.svg

Dark themes for Django REST Framework

Stellar Color Palette

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-palette.png

Stellar Theme

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-ss.png

Moonshine Color Palette

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/moonshine-palette.png

Moonshine Theme

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/moonshine-ss.png

Installation

Install using pip

pip install drf-dark-theme

Add ‘drf_chaos’ to your INSTALLED_APPS setting

INSTALLED_APPS = (
    ...
    'drf_dark_theme',
)

Add either StellarBrowsableAPIRenderer or MoonshineBrowsableAPIRenderer to DEFAULT_RENDERER_CLASSES

REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        ...
        'drf_dark_theme.renderers.StellarBrowsableAPIRenderer',
    )
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
drf-dark-theme-0.3.macosx-10.10-intel.exe (380.8 kB) Copy SHA256 hash SHA256 Windows Installer any Jun 13, 2015
drf-dark-theme-0.3.tar.gz (220.3 kB) Copy SHA256 hash SHA256 Source None Jun 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page