updated settings
This commit is contained in:
parent
e3c79c056c
commit
fc69aa85e8
1 changed files with 14 additions and 25 deletions
|
@ -79,7 +79,6 @@ STATICFILES_DIRS = [
|
|||
STATICFILES_FINDERS = [
|
||||
"staticfiles.finders.FileSystemFinder",
|
||||
"staticfiles.finders.AppDirectoriesFinder",
|
||||
"staticfiles.finders.LegacyAppDirectoriesFinder",
|
||||
"compressor.finders.CompressorFinder",
|
||||
]
|
||||
|
||||
|
@ -96,8 +95,8 @@ SECRET_KEY = "8*br)9@fs!4nzg-imfrsst&oa2udy6z-fqtdk0*e5c1=wn)(t3"
|
|||
|
||||
# List of callables that know how to import templates from various sources.
|
||||
TEMPLATE_LOADERS = [
|
||||
"django.template.loaders.filesystem.load_template_source",
|
||||
"django.template.loaders.app_directories.load_template_source",
|
||||
"django.template.loaders.filesystem.Loader",
|
||||
"django.template.loaders.app_directories.Loader",
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
|
@ -107,12 +106,10 @@ MIDDLEWARE_CLASSES = [
|
|||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
||||
"django_openid.consumer.SessionConsumer",
|
||||
"django.contrib.messages.middleware.MessageMiddleware",
|
||||
"pinax.apps.account.middleware.LocaleMiddleware",
|
||||
"pinax.middleware.security.HideSensistiveFieldsMiddleware",
|
||||
"debug_toolbar.middleware.DebugToolbarMiddleware",
|
||||
]
|
||||
|
||||
ROOT_URLCONF = "symposion_project.urls"
|
||||
ROOT_URLCONF = "symposion.urls"
|
||||
|
||||
TEMPLATE_DIRS = [
|
||||
os.path.join(PROJECT_ROOT, "templates"),
|
||||
|
@ -125,12 +122,8 @@ TEMPLATE_CONTEXT_PROCESSORS = [
|
|||
"django.core.context_processors.media",
|
||||
"django.core.context_processors.request",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
|
||||
"staticfiles.context_processors.static",
|
||||
|
||||
"pinax.core.context_processors.pinax_settings",
|
||||
|
||||
"pinax.apps.account.context_processors.account",
|
||||
"pinax_utils.context_processors.settings",
|
||||
"account.context_processors.account",
|
||||
]
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
@ -143,31 +136,27 @@ INSTALLED_APPS = [
|
|||
"django.contrib.messages",
|
||||
"django.contrib.humanize",
|
||||
|
||||
"pinax.templatetags",
|
||||
|
||||
# theme
|
||||
"pinax_theme_bootstrap_account",
|
||||
"pinax_theme_bootstrap",
|
||||
"django_forms_bootstrap",
|
||||
# "django_forms_bootstrap",
|
||||
|
||||
# external
|
||||
"staticfiles",
|
||||
"compressor",
|
||||
"debug_toolbar",
|
||||
"mailer",
|
||||
"django_openid",
|
||||
"timezones",
|
||||
"emailconfirmation",
|
||||
"metron",
|
||||
"easy_thumbnails",
|
||||
|
||||
# Pinax
|
||||
"pinax.apps.account",
|
||||
"pinax.apps.signup_codes",
|
||||
"account",
|
||||
|
||||
# project
|
||||
"about",
|
||||
"sponsorship",
|
||||
"conference",
|
||||
"symposion.about",
|
||||
"symposion.sponsorship",
|
||||
"symposion.conference",
|
||||
]
|
||||
|
||||
FIXTURE_DIRS = [
|
||||
|
@ -185,9 +174,9 @@ ACCOUNT_EMAIL_VERIFICATION = False
|
|||
ACCOUNT_EMAIL_AUTHENTICATION = False
|
||||
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
|
||||
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
"pinax.apps.account.auth_backends.AuthenticationBackend",
|
||||
]
|
||||
# AUTHENTICATION_BACKENDS = [
|
||||
# "pinax.apps.account.auth_backends.AuthenticationBackend",
|
||||
# ]
|
||||
|
||||
LOGIN_URL = "/account/login/" # @@@ any way this can be a url name?
|
||||
LOGIN_REDIRECT_URLNAME = "what_next"
|
||||
|
|
Loading…
Reference in a new issue