Browse Source

Fix LDAP_ACTIVATE documentation in README

Baptiste Jonglez 10 years ago
parent
commit
6193df2419
2 changed files with 3 additions and 3 deletions
  1. 2 2
      README.md
  2. 1 1
      coin/settings.py

+ 2 - 2
README.md

@@ -66,9 +66,9 @@ settings:
 At this point, you should setup your database.  Recommended is postgreSQL,
 At this point, you should setup your database.  Recommended is postgreSQL,
 but you might be able to use SQLite.  For more information, see https://www.illyse.org/projects/ils-si/wiki/Mise_en_place_environnement_de_dev
 but you might be able to use SQLite.  For more information, see https://www.illyse.org/projects/ils-si/wiki/Mise_en_place_environnement_de_dev
 
 
-If you don't want to use a LDAP, just set in your `settings_local.py`
+If you don't want to use LDAP, just set in your `settings_local.py`:
 
 
-    LDAP_ENABLE = False
+    LDAP_ACTIVATE = False
 
 
 The first time, you need to create the database, create a superuser, and
 The first time, you need to create the database, create a superuser, and
 import some base data to play with:
 import some base data to play with:

+ 1 - 1
coin/settings.py

@@ -231,7 +231,7 @@ TEST_RUNNER = 'django.test.runner.DiscoverRunner'
 GRAPHITE_SERVER = "http://graphite-dev.illyse.org"
 GRAPHITE_SERVER = "http://graphite-dev.illyse.org"
 
 
 # Do we use LDAP or not
 # Do we use LDAP or not
-LDAP_ACTIVATE=True
+LDAP_ACTIVATE = True
 
 
 # LDAP Base DNs
 # LDAP Base DNs
 LDAP_USER_BASE_DN = "ou=users,ou=unix,o=ILLYSE,l=Villeurbanne,st=RHA,c=FR"
 LDAP_USER_BASE_DN = "ou=users,ou=unix,o=ILLYSE,l=Villeurbanne,st=RHA,c=FR"