Adds pretty CSS styles for the django CMS admin interface.
Project description
Adds pretty CSS styles for the django CMS admin interface.
The shortcuts you see on top of the dashboard are from django-admin-shortcuts
Contribute to this project and win rewards
Because this is a an open-source project, we welcome everyone to get involved in the project and receive a reward for their contribution. Become part of a fantastic community and help us make django CMS the best CMS in the world.
We’ll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.
We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.
Documentation
See REQUIREMENTS in the setup.py file for additional dependencies:
Installation
For a manual install:
run pip install djangocms-admin-style
add djangocms_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'
run python manage.py migrate djangocms_admin_style
Configuration
The django CMS Admin Style overrides django admin’s base_site.html, but you can still partially customize this page. Look at the source of templates/admin/base_site.html and override the templates that are included in various blocks. For example, you can add your own CSS in templates/admin/inc/extrastyle.html.
The following additional settings can be set:
CMS_ENABLE_UPDATE_CHECK = True Set to False to disable the update notification.
CMS_UPDATE_CHECK_TYPE = ('minor') Set to ('patch') to get only patch notifications. (minor = 3.x.x, patch = 3.4.x)
The update checker does not gather or record any data.
To compile CSS run the following commands using node 8:
npm install
gulp
For further options have a look at the gulpfile.js.
Running Tests
You can run tests by executing:
virtualenv env source env/bin/activate pip install -r tests/requirements/base.txt python setup.py test
In order to run integration tests you need to have Docker installed, then run the following command:
make test
To test other Django versions simply append VERSION=3.1`. You can also run the test server through:
make run
The integration tests are written using Casperjs, phantomcss and djangocms-casper-helpers.
Project details
Release history Release notifications | RSS feed
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-admin-style-3.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c11d9631243e98a2af9a647fc87fbf0fa44cc285699374f5f8ff0527d0554be |
|
MD5 | 743a7613f5aec0b5affb2c0815bb1524 |
|
BLAKE2b-256 | 6db9bfc98fad652ad1db62d7a9c50706c103f3760df569014cf9fc4613f934f9 |
Hashes for djangocms_admin_style-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ce1968c2992577358c1b7ae67d7dc00c2ce48c97de8dc44ca7fca1b0300e0d5 |
|
MD5 | a60ff4e302745fe89802dab4c5d9ffc5 |
|
BLAKE2b-256 | d1522f0e8e0198061ce64cd9d0ef2a2bd8678909fa0fe94143fb9f8faa7d324b |