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.

Source Distribution

djangocms-admindocs-style-0.2.0.tar.gz (10.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page