Skip to main content

Adds DjangoCMS Admin Styles to the admindocs

Project description

https://badge.fury.io/py/djangocms-admindocs-style.png https://travis-ci.org/goldhand/djangocms-admindocs-style.png?branch=master

Adds DjangoCMS Admin Styles to the admindocs.

Documentation

The full documentation is at https://djangocms-admindocs-style.readthedocs.org.

Quickstart

Install djangocms-admindocs-style:

pip install djangocms-admindocs-style

Then use it in a project by adding it to your installed apps before ‘django.contrib.admin’ and ‘djangocms_admin_style’:

INSTALLED_APPS = [
    ...
    'djangocms_admindocs_style',
    'djangocms_admin_style',
    'django.contrib.admin',
    'django.contrib.admindocs',
    ...
]

Features

  • Adds styles from djangomcs_admin_style <https://github.com/divio/djangocms-admin-style> to the django.contrib.admindocs app.
  • Makes django.contrib.admindocs templates all inherit from a single base template that you can extend: admin/base_admin_docs.html
  • Adds a link to the DjangoCMS toolbar to a sidebar item

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python runtests.py

Compiling CSS

Make sure sassc is installed and run:

npm run sass

History

0.1.0 (2016-04-05)

  • First release on PyPI.

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 djangocms-admindocs-style, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size djangocms_admindocs_style-0.2.0-py2.py3-none-any.whl (15.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size djangocms-admindocs-style-0.2.0.tar.gz (10.5 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