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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_admindocs_style-0.2.0-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file djangocms-admindocs-style-0.2.0.tar.gz.

File metadata

File hashes

Hashes for djangocms-admindocs-style-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f62065cf683160797477ca21baa8d0a9b0c94a396fd55dbabfef9792dbd1fd6c
MD5 4ce180fbe4c41ea52d2a61411519fe19
BLAKE2b-256 ec2bb5fbe135585277e55c76664b72bcd82b478d78464a868f0685729798592b

See more details on using hashes here.

File details

Details for the file djangocms_admindocs_style-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_admindocs_style-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77932b58ac2fcfc0eb839aad5a3322e87e8f256e41a932d7cda9f859cfa53f63
MD5 f488f0147f0894c1bf5194aee708e03b
BLAKE2b-256 42c1e2222bd7ac3f2947a563e000a83bde826cf18f952f4ff79df28405a0ef6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page