• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

djangocms_admin_style/H24-Nov-2020-8,7928,099

djangocms_admin_style.egg-info/H03-May-2022-150110

tests/H24-Nov-2020-153123

LICENSEH A D24-Nov-20201.4 KiB2522

MANIFEST.inH A D24-Nov-2020204 87

PKG-INFOH A D24-Nov-20206.7 KiB150110

README.rstH A D24-Nov-20204.5 KiB11778

setup.cfgH A D24-Nov-202038 53

setup.pyH A D03-May-20221.6 KiB5344

README.rst

1======================
2django CMS Admin Style
3======================
4
5|pypi| |build| |coverage|
6
7Adds pretty CSS styles for the django CMS admin interface.
8
9+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------+
10| .. image:: https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/dashboard.png   | .. image:: https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/listview.png   |
11+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------+
12| .. image:: https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/datepicker.png  | .. image:: https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/shortcuts.png  |
13+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------+
14
15The shortcuts you see on top of the dashboard are from `django-admin-shortcuts <https://github.com/alesdotio/django-admin-shortcuts/>`_
16
17
18Contributing
19============
20
21This is a an open-source project. We'll be delighted to receive your
22feedback in the form of issues and pull requests. Before submitting your
23pull request, please review our `contribution guidelines
24<http://docs.django-cms.org/en/latest/contributing/index.html>`_.
25
26We're grateful to all contributors who have helped create and maintain this package.
27Contributors are listed at the `contributors <https://github.com/divio/djangocms-admin-style/graphs/contributors>`_
28section.
29
30One of the easiest contributions you can make is helping to translate this addon on
31`Transifex <https://www.transifex.com/projects/p/djangocms-admin-style/>`_.
32
33
34Documentation
35=============
36
37See ``REQUIREMENTS`` in the `setup.py <https://github.com/divio/djangocms-admin-style/blob/master/setup.py>`_
38file for additional dependencies:
39
40|python| |django| |djangocms|
41
42
43Installation
44------------
45
46For a manual install:
47
48* run ``pip install djangocms-admin-style``
49* add ``djangocms_admin_style`` to your ``INSTALLED_APPS`` just before ``'django.contrib.admin'``
50* run ``python manage.py migrate djangocms_admin_style``
51
52
53Configuration
54-------------
55
56The django CMS Admin Style overrides django admin's ``base_site.html``,
57but you can still partially customize this page. Look at the source of
58``templates/admin/base_site.html`` and override the templates that are included
59in various blocks. For example, you can add your own CSS in
60``templates/admin/inc/extrastyle.html``.
61
62The following additional settings can be set:
63
64* ``CMS_ENABLE_UPDATE_CHECK = True``
65  Set to ``False`` to disable the update notification.
66* ``CMS_UPDATE_CHECK_TYPE = ('minor')``
67  Set to ``('patch')`` to get only patch notifications.
68  (minor = 3.x.x, patch = 3.4.x)
69
70The update checker does not gather or record any data.
71
72To **compile CSS** run the following commands using **node 8**:
73
74* ``npm install``
75* ``gulp``
76
77For further options have a look at the ``gulpfile.js``.
78
79
80Running Tests
81-------------
82
83You can run tests by executing::
84
85    virtualenv env
86    source env/bin/activate
87    pip install -r tests/base.txt
88    python setup.py test
89
90In order to run **integration tests** you need to have Docker installed,
91then run the following command::
92
93    make test
94
95To test other Django versions simply append `VERSION=3.1``. You can also
96run the test server through::
97
98    make run
99
100The integration tests are written using Casperjs, phantomcss and
101djangocms-casper-helpers.
102
103
104.. |pypi| image:: https://badge.fury.io/py/djangocms-admin-style.svg
105    :target: http://badge.fury.io/py/djangocms-admin-style
106.. |build| image:: https://travis-ci.org/divio/djangocms-admin-style.svg?branch=master
107    :target: https://travis-ci.org/divio/djangocms-admin-style
108.. |coverage| image:: https://codecov.io/gh/divio/djangocms-admin-style/branch/master/graph/badge.svg
109    :target: https://codecov.io/gh/divio/djangocms-admin-style
110
111.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg
112    :target: https://pypi.org/project/djangocms-admin-style/
113.. |django| image:: https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg
114    :target: https://www.djangoproject.com/
115.. |djangocms| image:: https://img.shields.io/badge/django%20CMS-3.6%2B-blue.svg
116    :target: https://www.django-cms.org/
117