djangocms-admindocs-style 0.2.0

Creator: danarutscher

Last updated:

Add to Cart

Description:

djangocmsadmindocsstyle 0.2.0

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.