MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
+ 'pithos.middleware.URLEncodedHeadersMiddleware',
'pithos.middleware.LoggingConfigMiddleware',
'pithos.middleware.AuthMiddleware'
)
INSTALLED_APPS = (
'pithos.api',
'pithos.im',
- 'pithos.public',
- 'pithos.ui'
+ 'pithos.ui',
+ 'south'
)
TEST = False
-# Bypass authentication for user administration.
-BYPASS_ADMIN_AUTH = False
-
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
# Make this unique, and don't share it with anybody.
SECRET_KEY = '$j0cdrfm*0sc2j+e@@2f-&3-_@2=^!z#+b-8o4_i10@2%ev7si'
-# Address to use for outgoing emails
-DEFAULT_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>'
-DEFAULT_CONTACT_EMAIL = 'support@pithos.grnet.gr'
-
-FEEDBACK_FROM_EMAIL = DEFAULT_FROM_EMAIL
-FEEDBACK_CONTACT_EMAIL = DEFAULT_CONTACT_EMAIL
-
# Use to log to a file.
LOGFILE = None
# to be this many hours after their creation time.
AUTH_TOKEN_DURATION = 30 * 24
+# Bypass authentication for user administration.
+BYPASS_ADMIN_AUTH = False
+
+# Show these many users per page in admin interface.
+ADMIN_PAGE_LIMIT = 100
+
# Authenticate via Twitter.
TWITTER_KEY = ''
TWITTER_SECRET = ''
SERVICE_NAME = 'Pithos'
+# Address to use for outgoing emails
+DEFAULT_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>'
+DEFAULT_CONTACT_EMAIL = 'support@pithos.grnet.gr'
+
# Where users should login with their invitation code
INVITATION_LOGIN_TARGET = '%s/im/login/invitation?code=%d&next=%s'
+++ /dev/null
-# Show these many users per page in admin interface.
-ADMIN_PAGE_LIMIT = 100
--- /dev/null
+FEEDBACK_FROM_EMAIL = DEFAULT_FROM_EMAIL
+FEEDBACK_CONTACT_EMAIL = DEFAULT_CONTACT_EMAIL