~deryck/credenza/do-more-with-users

« back to all changes in this revision

Viewing changes to src/lpkanban/settings/common.py

  • Committer: Deryck Hodge
  • Date: 2010-03-14 05:25:46 UTC
  • mfrom: (9.1.4 account-handling)
  • Revision ID: deryck@devurandom.org-20100314052546-a6phigsbt6jv01sl
Use django-openid-auth to enable Launchpad logins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    'django.middleware.doc.XViewMiddleware',
17
17
)
18
18
 
 
19
# OpenID-related settings.
 
20
AUTHENTICATION_BACKENDS = (
 
21
    'django_openid_auth.auth.OpenIDBackend',
 
22
    'django.contrib.auth.backends.ModelBackend',
 
23
)
 
24
 
 
25
OPENID_CREATE_USERS = True
 
26
OPENID_UPDATE_DETAILS_FROM_SREG = True
 
27
LOGIN_URL = '/openid/login/'
 
28
LOGIN_REDIRECT_URL = '/'
 
29
OPENID_SSO_SERVER_URL = 'https://login.launchpad.net/'
 
30
 
19
31
ROOT_URLCONF = 'lpkanban.urls'
20
32
 
21
33
INSTALLED_APPS = (
25
37
    'django.contrib.contenttypes',
26
38
    'django.contrib.sessions',
27
39
    'django.contrib.sites',
 
40
    'django_openid_auth',
28
41
    'lpkanban',
29
42
)