Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.rst #7468

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/how_to/install.rst
Expand Up @@ -210,16 +210,15 @@ After each of the steps below run ``cms check`` to verify that you have resolved
Sekizai
=======

`Django Sekizai <https://github.com/ojii/django-sekizai>`_ is required by the CMS for static files management. You need
to have::
`Django Sekizai <https://github.com/ojii/django-sekizai>`_ is required by the CMS for static files management. For that, you need to install the package, add it to installed apps and to your context_processors by following steps::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sekizai is one of the requirements of the cms so we shouldn't need to specify installing it separately.

See here: https://github.com/django-cms/django-cms/blob/develop/setup.py#L13

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I can remove the install line. I think for some reasons, it wasn’t installed for me and I had to manually install it and packaging library which was why I added it in the docs

Install the package:
'pip install django-sekizai'

'sekizai'

listed in ``INSTALLED_APPS``, and::
Then add 'sekizai' to your ``INSTALLED_APPS`` in settings.py, and finally add::

'sekizai.context_processors.sekizai'

in the ``TEMPLATES['OPTIONS']['context_processors']``:
in the ``TEMPLATES['OPTIONS']['context_processors']`` as shown below:

.. code-block:: python

Expand Down