Commits

Matthew Marshall committed 5b3ec6c

Added HTPASSWD_FILE setting to settings.py.default.

Comments (0)

Files changed (2)

settings.py.default

 APPEND_SLASH=False
 
 LOGIN_URL = '/login/'
+
+HTPASSWD_FILE = '/path/to/htpasswd'
+
     url(r'^login/', 'django.contrib.auth.views.login', {'template_name':'login.html'}, name='login-screen')
 )
 
+# TODO this should be optional
 from hgfront import htpasswdutils
 htpasswdutils.monkeypatch_user_model()