~netlandish/django-wiki

fd89aa4047352af8afdbdeef677fb4fbb5d9503d — Benjamin Balder Bach 4 years ago d625afc + 9adcfa0
Merge pull request #1051 from snoop2head/master

update docs/installation.rst for django 2.2+
1 files changed, 12 insertions(+), 11 deletions(-)

M docs/installation.rst
M docs/installation.rst => docs/installation.rst +12 -11
@@ 77,15 77,6 @@ maintain the order due to database relational constraints:
    'wiki.plugins.macros.apps.MacrosConfig',


Database
~~~~~~~~

To sync and create tables, do:

::

    python manage.py migrate

Configure ``context_processors``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



@@ 118,6 109,16 @@ to see the current default setting for this variable.
        },
    ]

Database
~~~~~~~~

To sync and create tables, do:

::

    python manage.py migrate



Set ``SITE_ID``
~~~~~~~~~~~~~~~


@@ 142,12 143,12 @@ handling entirely, set ``WIKI_ACCOUNT_HANDLING = False``.
    WIKI_ACCOUNT_SIGNUP_ALLOWED = True

After a user is logged in, they will be redirected to the value of
``LOGIN_REDIRECT_URL``, which you can configure in your project settings to
``LOGIN_REDIRECT_URL``, which you can configure in your project's settings.py to
point to the root article:

.. code-block:: python

    from django.core.urlresolvers import reverse_lazy
    from django.urls import reverse_lazy
    LOGIN_REDIRECT_URL = reverse_lazy('wiki:get', kwargs={'path': ''})