~mhall119/django-openid-auth/strict-username-requirements

« back to all changes in this revision

Viewing changes to example_consumer/settings.py

  • Committer: Tarmac
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-01-22 05:14:38 UTC
  • mfrom: (60.2.2 add_openid_for_admin)
  • Revision ID: elliot@elliotmurphy.com-20100122051438-726rhi7m5vhjske3
Option allowing openid for auth into /admin (django.contrib.admin)

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
# Tell django.contrib.auth to use the OpenID signin URLs.
128
128
LOGIN_URL = '/openid/login/'
129
129
LOGIN_REDIRECT_URL = '/'
 
130
 
 
131
# Should django_auth_openid be used to sign into the admin interface?
 
132
OPENID_USE_AS_ADMIN_LOGIN = False