Cleaning up & Login Mechanism fixed

This commit is contained in:
Martin Bauer
2013-09-26 08:31:19 +02:00
parent 27bad18317
commit 204c8773a2
498 changed files with 52 additions and 22073 deletions

View File

@@ -54,7 +54,6 @@ USE_TZ = True
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
MEDIA_ROOT = PROJECT_PATH + "/../media/"
##MEDIA_ROOT = '/'
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
@@ -112,12 +111,9 @@ ROOT_URLCONF = 'blechreiz.urls'
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'blechreiz.wsgi.application'
TEMPLATE_DIRS = (
PROJECT_PATH + '/templates',
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
@@ -137,21 +133,22 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
'django.contrib.admindocs',
'location_field',
'crispy_forms',
'musicians',
'eventplanner',
'sekizai',
'intern_area',
'website',
'rest_framework',
'messages',
'crispy_forms', # better looking forms ( bootstrap )
'sekizai', # for the addtoblock directive in templates
'rest_framework', # for event management api
# Own Things
'website', # Blechreiz Website in general
'musicians', # User Management
'eventplanner', # Event Management
'messages', # Messages ( Forum )
'location_field', # custom location field used in Event Management
)
LOGIN_URL="/login"
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),
@@ -212,5 +209,3 @@ LOGGING = {
}
}
GEOS_LIBRARY_PATH = PROJECT_PATH + '/libgeos_c.so.1.7.8'