Lots of stuff

- Imagestore gallery
- remember me fixed
- youtube filter
- password change option
This commit is contained in:
Martin Bauer
2013-10-03 11:27:06 +02:00
parent 0e26988867
commit 114a2df9cf
179 changed files with 4987 additions and 159 deletions

View File

@@ -70,6 +70,9 @@ STATIC_ROOT = '/'
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/static/'
LOGIN_URL="/login"
PUBLIC_URLS=( "^login/?$", "^login/usernames/?$")
# Additional locations of static files
STATICFILES_DIRS = (
PROJECT_PATH + '/static',
@@ -84,7 +87,7 @@ STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
)
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'x$8&9s6t%eeg=wyhar87934wh_s$dbpm(73g4ho&n)9_wogj6p'
@@ -102,6 +105,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'blechreiz.middleware.EnforceLoginMiddleware'
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
@@ -146,9 +150,14 @@ INSTALLED_APPS = (
'eventplanner', # Event Management
'simpleforum', # Messages ( Forum )
'location_field', # custom location field used in Event Management
'imagestore',
'sorl.thumbnail',
'tagging'
)
LOGIN_URL="/login"
IMAGESTORE_TEMPLATE = "website/base.html"
REST_FRAMEWORK = {