From e0cf4337d2727b75c6752bddf431fabeaa7d9979 Mon Sep 17 00:00:00 2001 From: Chris Franklin Date: Wed, 3 Dec 2014 15:07:22 +0000 Subject: [PATCH] Fix quote marks in common config to be consistent. --- .../config/common.py | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py index deeff460..84b92c5d 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py @@ -85,7 +85,7 @@ class Common(Configuration): # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key # Note: This key only used for development and testing. # In production, this is changed to a values.SecretValue() setting - SECRET_KEY = "CHANGEME!!!" + SECRET_KEY = 'CHANGEME!!!' # END SECRET CONFIGURATION # FIXTURE CONFIGURATION @@ -149,8 +149,8 @@ class Common(Configuration): # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors TEMPLATE_CONTEXT_PROCESSORS = ( 'django.contrib.auth.context_processors.auth', - "allauth.account.context_processors.account", - "allauth.socialaccount.context_processors.socialaccount", + 'allauth.account.context_processors.account', + 'allauth.socialaccount.context_processors.socialaccount', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', @@ -211,25 +211,25 @@ class Common(Configuration): # AUTHENTICATION CONFIGURATION AUTHENTICATION_BACKENDS = ( - "django.contrib.auth.backends.ModelBackend", - "allauth.account.auth_backends.AuthenticationBackend", + 'django.contrib.auth.backends.ModelBackend', + 'allauth.account.auth_backends.AuthenticationBackend', ) # Some really nice defaults - ACCOUNT_AUTHENTICATION_METHOD = "username" + ACCOUNT_AUTHENTICATION_METHOD = 'username' ACCOUNT_EMAIL_REQUIRED = True - ACCOUNT_EMAIL_VERIFICATION = "mandatory" + ACCOUNT_EMAIL_VERIFICATION = 'mandatory' # END AUTHENTICATION CONFIGURATION # Custom user app defaults # Select the correct user model - AUTH_USER_MODEL = "users.User" - LOGIN_REDIRECT_URL = "users:redirect" - LOGIN_URL = "account_login" + AUTH_USER_MODEL = 'users.User' + LOGIN_REDIRECT_URL = 'users:redirect' + LOGIN_URL = 'account_login' # END Custom user app defaults # SLUGLIFIER - AUTOSLUG_SLUGIFY_FUNCTION = "slugify.slugify" + AUTOSLUG_SLUGIFY_FUNCTION = 'slugify.slugify' # END SLUGLIFIER # LOGGING CONFIGURATION