Skip to main content

Adds pretty CSS styles for the django CMS admin interface.

Project description

pypi build coverage

Adds pretty CSS styles for the django CMS admin interface.

https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/dashboard.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/listview.png
https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/datepicker.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/shortcuts.png

The shortcuts you see on top of the dashboard are from django-admin-shortcuts

Contributing

This is a an open-source project. 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.

One of the easiest contributions you can make is helping to translate this addon on Transifex.

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

python django djangocms

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/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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-admin-style-2.0.2.tar.gz (313.7 kB view details)

Uploaded Source

Built Distribution

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

djangocms_admin_style-2.0.2-py3-none-any.whl (404.9 kB view details)

Uploaded Python 3

File details

Details for the file djangocms-admin-style-2.0.2.tar.gz.

File metadata

  • Download URL: djangocms-admin-style-2.0.2.tar.gz
  • Upload date:
  • Size: 313.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for djangocms-admin-style-2.0.2.tar.gz
Algorithm Hash digest
SHA256 4381b259b62340127654a51a1eb83af2c9a42b608a36393c731c04712cd37068
MD5 febeb680604e8e3dabafa42cc04b1551
BLAKE2b-256 04fe431b9b7752158d86bbae4b65d8f750a07714b79c1f79ca3fe527b3e99049

See more details on using hashes here.

File details

Details for the file djangocms_admin_style-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: djangocms_admin_style-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 404.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for djangocms_admin_style-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6661a6c36ce56d18ec8fad05a3e56589417fc0bd0c647eb6d336e7f836999723
MD5 eacddf846c7309f89a3bf5b7705651b3
BLAKE2b-256 650a0b4dc1d57ee41b3c2483e8ea2fb74bebe9c790d0332320521b1dcc137009

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