Adds DjangoCMS Admin Styles to the admindocs
Project description
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
Built Distribution
Hashes for djangocms-admindocs-style-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62065cf683160797477ca21baa8d0a9b0c94a396fd55dbabfef9792dbd1fd6c |
|
MD5 | 4ce180fbe4c41ea52d2a61411519fe19 |
|
BLAKE2b-256 | ec2bb5fbe135585277e55c76664b72bcd82b478d78464a868f0685729798592b |
Hashes for djangocms_admindocs_style-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77932b58ac2fcfc0eb839aad5a3322e87e8f256e41a932d7cda9f859cfa53f63 |
|
MD5 | f488f0147f0894c1bf5194aee708e03b |
|
BLAKE2b-256 | 42c1e2222bd7ac3f2947a563e000a83bde826cf18f952f4ff79df28405a0ef6b |