Skip to content

Commit

Permalink
Improve multisite documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jun 16, 2016
1 parent 300dceb commit f6000ef
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions docs/features.rst
Expand Up @@ -37,14 +37,23 @@ Multisite

django CMS blog provides full support for multisite setups.

Basic multisite
^^^^^^^^^^^^^^^

To enabled basic multisite add ``BLOG_MULTISITE = True`` to the project settings.

Each blog post can be assigned to none, one or more sites: if no site is selected, then
it's visible on all sites.
it's visible on all sites. All users with permission on the blog can manage all the blog
posts, whichever the sites are.

Multisite permissions
^^^^^^^^^^^^^^^^^^^^^

This is matched with and API that allows to restrict users to only be able to edit
blog posts only for some sites.
Multisite permissions allow to restrict users to only manage the blog posts for the
sites they are enabled to

To implement this API, you must add a ``get_sites`` method on the user model which
returns a queryset of sites the user is allowed to add posts to.
To implement the multisite permissions API, you must add a ``get_sites`` method on
the user model which returns a queryset of sites the user is allowed to add posts to.

Example::

Expand Down

0 comments on commit f6000ef

Please sign in to comment.