X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=settings.py;h=4848651b77d31285b49ebed81d3eb921b538973e;hb=fe2d9095c7819fbe98ae1448a8aba1094090cdd8;hp=30463db4fd2e346f5332d644a6519d32a7647c51;hpb=58fea93b179a34faacdd636c6532016f1c395d36;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/settings.py b/settings.py index 30463db..4848651 100644 --- a/settings.py +++ b/settings.py @@ -36,8 +36,6 @@ LANGUAGES = ( ('en', 'English'), ) -SITE_ID = 1 - # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True @@ -101,6 +99,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", + "django.core.context_processors.request", ) LOGIN_URL = "/accounts/login/" @@ -115,6 +114,9 @@ AUTHENTICATION_BACKENDS = ( AUTH_PROFILE_MODULE = 'base.UserProfile' +# Max length for comments, in characters. +DEFAULT_MAX_COMMENT_LENGTH = 3000 + # Import local settings, that are specific to this installation. These # can override any settings specified here. try: