Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
djnro
Commits
083dd6e9
Commit
083dd6e9
authored
Feb 20, 2013
by
Leonidas Poulopoulos
Browse files
Added usernames slugify for social auth user creation
parent
a280d3db
Changes
1
Show whitespace changes
Inline
Side-by-side
settings.py.dist
View file @
083dd6e9
# Django settings for djnro project.
# -*- coding: utf-8 -*- vim:fileencoding=utf-8:
# vim: tabstop=4:shiftwidth=4:softtabstop=4:expandtab
#Copyright © 2011-2013 Greek Research and Technology Network (GRNET S.A.)
#Copyright
Â
© 2011-2013 Greek Research and Technology Network (GRNET S.A.)
#
#Developed by Leonidas Poulopoulos (leopoul-at-noc-dot-grnet-dot-gr) and
#Zenon Mousmoulas (zmousm-at-noc-dot-grnet-dot-gr), GRNET NOC
...
...
@@ -203,7 +203,7 @@ CACHE_BACKEND = 'memcached://127.0.0.1:11211/?timeout=5184000'
# If it's the same with LANGUAGES, simply do URL_NAME_LANGS = LANGUAGES
URL_NAME_LANGS = (
('en', 'English' ),
('el', '
Ελληνικά
'),
('el', '
Îλληνικά
'),
)
# Frontend country specific vars, eg. Greece
...
...
@@ -283,7 +283,7 @@ SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
SOCIAL_AUTH_CREATE_USERS = True
SOCIAL_AUTH_FORCE_RANDOM_USERNAME = False
SOCIAL_AUTH_SANITIZE_REDIRECTS = False
OCIAL_AUTH_SLUGIFY_USERNAMES = True
SOCIAL_AUTH_PIPELINE = (
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment