Skip to content

Commit

Permalink
Merge pull request #28 from blueyed/doc-order-changed-with-django17
Browse files Browse the repository at this point in the history
With Django 1.7 django_pdb needs to come BEFORE apps it overrides
  • Loading branch information
jpulec committed Mar 31, 2015
2 parents 0a1d313 + 4999f7a commit 078f014
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.rst
Expand Up @@ -19,12 +19,17 @@ Install using pip::

pip install django-pdb

Add to your settings.py
Add it to your settings.py.

For Django before 1.7 it needs to be added AFTER any apps that override the
`runserver` or `test` commands (includes south and django.contrib.staticfiles).

For Django after 1.7 it needs to be added BEFORE them.

.. code:: python
# Make sure to add django_pdb AFTER any apps that override the 'runserver'
# or 'test' commands (includes south and django.contrib.staticfiles)
# Order is important and depends on your Django version.
# With Django 1.7+ put it towards the beginning, otherwise towards the end.
INSTALLED_APPS = (
...
'django_pdb',
Expand Down

0 comments on commit 078f014

Please sign in to comment.