Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't call autodiscover with Django >= 1.7

[ci skip]
  • Loading branch information...
commit cf6a81df3c197ffc0fd4586d865065bee4a77337 1 parent a3ff110
@jpic jpic authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.rst
View
3  README.rst
@@ -78,7 +78,8 @@ Quick Install
- Install module: ``pip install django-rules-light``,
- Add to ``settings.INSTALLED_APPS``: ``rules_light``,
- Add in ``settings.MIDDLEWARE_CLASSES``: ``rules_light.middleware.Middleware``,
-- Add in ``urls.py``: ``rules_light.autodiscover()``,
+- Add in ``urls.py``: ``rules_light.autodiscover()`` if you have
+ ``admin.autodiscover()`` in there too (Django < 1.7),
You might want to read the `tutorial
<https://django-rules-light.readthedocs.org/en/latest/tutorial.html>`_.
Please sign in to comment.
Something went wrong with that request. Please try again.