Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix example app settings (pipeline and local settings import)

commit 4802cb4cf375ed6f21da4d9eb5e13bb9fb9fefb1 1 parent a56de62
@omab authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 example/example/settings.py
View
7 example/example/settings.py
@@ -170,6 +170,9 @@
LOGIN_REDIRECT_URL = '/'
SOCIAL_AUTH_PIPELINE = (
+ 'social.pipeline.social_auth.social_details',
+ 'social.pipeline.social_auth.social_uid',
+ 'social.pipeline.social_auth.auth_allowed',
'social_auth.backends.pipeline.social.social_auth_user',
'social_auth.backends.pipeline.associate.associate_by_email',
'social_auth.backends.pipeline.misc.save_status_to_session',
@@ -185,6 +188,6 @@
)
try:
- from local_settings import *
@jessekl
jessekl added a note

da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
-except:
+ from example.local_settings import *
+except Exception as e:
pass
Please sign in to comment.
Something went wrong with that request. Please try again.