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.

Files for drf-dark-theme, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size drf-dark-theme-0.3.macosx-10.10-intel.exe (380.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size drf-dark-theme-0.3.tar.gz (220.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page