Permalink
Browse files

Add django-browserid configuration options.

  • Loading branch information...
1 parent f62de74 commit 579fad278a8dfabbeb68347eefcf134c565aed76 @Osmose committed Jan 12, 2012
Showing with 17 additions and 0 deletions.
  1. +13 −0 project/settings/base.py
  2. +4 −0 project/settings/local.py-dist
View
13 project/settings/base.py
@@ -26,11 +26,24 @@
# Defines the views served for root URLs.
ROOT_URLCONF = 'project.urls'
+## BrowserID Authentication
+
+# AUTHENTICATION_BACKENDS = (
+# 'django_browserid.auth.BrowserIDBackend',
+# )
+
+# OPTIONAL: Adds browserid_form to request context.
+# TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS) + [
+# 'django_browserid.context_processors.browserid_form',
+# ]
+
INSTALLED_APPS = list(INSTALLED_APPS) + [
# Application base, containing global templates.
'project.base',
# Example code. Can (and should) be removed for actual projects.
'project.examples',
+
+ # 'django_browserid' # BrowserID Authentication
]
View
4 project/settings/local.py-dist
@@ -71,3 +71,7 @@ SECRET_KEY = ''
# Common Event Format logging parameters
#CEF_PRODUCT = 'Playdoh'
#CEF_VENDOR = 'Mozilla'
+
+# Set this to the protocol, domain, and port this site will use
+# if you want to use django-browserid authentication.
+# SITE_URL = 'http://localhost:8000'

0 comments on commit 579fad2

Please sign in to comment.