Skip to content

Commit

Permalink
let there be colour
Browse files Browse the repository at this point in the history
  • Loading branch information
bashu committed Jan 20, 2018
1 parent b2ff7dc commit fd998ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.rst
Expand Up @@ -23,17 +23,23 @@ Before you use this, you should probably read the documentation about `custom
User models
<https://docs.djangoproject.com/en/dev/topics/auth/customizing/#substituting-a-custom-user-model>`_.

1. Install the package::
1. Install the package:

.. code-block:: bash
$ pip install django-authtools
2. Add ``authtools`` to your ``INSTALLED_APPS``.

3. Add the following to your settings.py::
3. Add the following to your settings.py:

.. code-block:: python
AUTH_USER_MODEL = 'authtools.User'
4. Add ``authtools.urls`` to your URL patterns::
4. Add ``authtools.urls`` to your URL patterns:

.. code-block:: python
urlpatterns = patterns('',
# ...
Expand Down

0 comments on commit fd998ca

Please sign in to comment.