|
@@ -1,126 +1,19 @@
|
|
"""
|
|
"""
|
|
-Misago default settings
|
|
|
|
|
|
+Default Misago settings. Override these with settings in the module pointed to
|
|
|
|
+by the DJANGO_SETTINGS_MODULE environment variable.
|
|
|
|
|
|
-This fille sets everything Misago needs to run.
|
|
|
|
-
|
|
|
|
-If you want to add custom app, middleware or path, please update setting vallue
|
|
|
|
-defined in this file instead of copying setting from here to your settings.py.
|
|
|
|
-
|
|
|
|
-Yes:
|
|
|
|
-
|
|
|
|
-#yourproject/settings.py
|
|
|
|
-INSTALLED_APPS += (
|
|
|
|
- 'myawesomeapp',
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-No:
|
|
|
|
-
|
|
|
|
-#yourproject/settings.py
|
|
|
|
-INSTALLED_APPS = (
|
|
|
|
- 'django.contrib.admin',
|
|
|
|
- 'django.contrib.auth',
|
|
|
|
- 'misago.core',
|
|
|
|
- 'misago.conf',
|
|
|
|
- ...
|
|
|
|
- 'myawesomeapp',
|
|
|
|
-)
|
|
|
|
|
|
+If you rely on any of those in your code, make sure you use `misago.conf.settings`
|
|
|
|
+instead of Django's `django.conf.settings`.
|
|
"""
|
|
"""
|
|
|
|
|
|
# Default JS debug to false
|
|
# Default JS debug to false
|
|
# This setting used exclusively by test runner and isn't part of public API
|
|
# This setting used exclusively by test runner and isn't part of public API
|
|
-_MISAGO_JS_DEBUG = False
|
|
|
|
-
|
|
|
|
|
|
|
|
-# Application definition
|
|
|
|
-
|
|
|
|
-INSTALLED_APPS = (
|
|
|
|
- # Load Misago's locale/templates/static files
|
|
|
|
- 'misago',
|
|
|
|
-
|
|
|
|
- # Keep misago.users above django.contrib.auth
|
|
|
|
- # so our management commands take precedence over theirs
|
|
|
|
- 'misago.users',
|
|
|
|
-
|
|
|
|
- # Django and 3rd party apps
|
|
|
|
- 'django.contrib.admin',
|
|
|
|
- 'django.contrib.auth',
|
|
|
|
- 'django.contrib.contenttypes',
|
|
|
|
- 'django.contrib.sessions',
|
|
|
|
- 'django.contrib.messages',
|
|
|
|
- 'django.contrib.staticfiles',
|
|
|
|
- 'django.contrib.humanize',
|
|
|
|
- 'debug_toolbar',
|
|
|
|
- 'crispy_forms',
|
|
|
|
- 'mptt',
|
|
|
|
- 'rest_framework',
|
|
|
|
-
|
|
|
|
- # Misago apps
|
|
|
|
- 'misago.admin',
|
|
|
|
- 'misago.acl',
|
|
|
|
- 'misago.core',
|
|
|
|
- 'misago.conf',
|
|
|
|
- 'misago.markup',
|
|
|
|
- 'misago.legal',
|
|
|
|
- 'misago.categories',
|
|
|
|
- 'misago.threads',
|
|
|
|
- 'misago.readtracker',
|
|
|
|
- 'misago.search',
|
|
|
|
- 'misago.faker',
|
|
|
|
-
|
|
|
|
- # Utility for moving data from Misago 0.5
|
|
|
|
- 'misago.datamover',
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-MIDDLEWARE_CLASSES = (
|
|
|
|
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
|
|
|
|
-
|
|
|
|
- 'misago.users.middleware.RealIPMiddleware',
|
|
|
|
- 'misago.core.middleware.frontendcontext.FrontendContextMiddleware',
|
|
|
|
-
|
|
|
|
- 'django.contrib.sessions.middleware.SessionMiddleware',
|
|
|
|
- 'django.middleware.common.CommonMiddleware',
|
|
|
|
- 'django.middleware.csrf.CsrfViewMiddleware',
|
|
|
|
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|
|
|
- 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
|
|
|
|
-
|
|
|
|
- 'misago.users.middleware.UserMiddleware',
|
|
|
|
-
|
|
|
|
- 'django.contrib.messages.middleware.MessageMiddleware',
|
|
|
|
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
|
|
|
|
|
+_MISAGO_JS_DEBUG = False
|
|
|
|
|
|
- 'misago.core.middleware.exceptionhandler.ExceptionHandlerMiddleware',
|
|
|
|
- 'misago.users.middleware.OnlineTrackerMiddleware',
|
|
|
|
- 'misago.admin.middleware.AdminAuthMiddleware',
|
|
|
|
- 'misago.threads.middleware.UnreadThreadsCountMiddleware',
|
|
|
|
- 'misago.core.middleware.threadstore.ThreadStoreMiddleware',
|
|
|
|
-)
|
|
|
|
|
|
|
|
-DEFAULT_CONTEXT_PROCESSORS = (
|
|
|
|
- 'django.template.context_processors.debug',
|
|
|
|
- 'django.template.context_processors.i18n',
|
|
|
|
- 'django.template.context_processors.media',
|
|
|
|
- 'django.template.context_processors.static',
|
|
|
|
- 'django.template.context_processors.tz',
|
|
|
|
-
|
|
|
|
- 'django.contrib.auth.context_processors.auth',
|
|
|
|
- 'django.contrib.messages.context_processors.messages',
|
|
|
|
-
|
|
|
|
- 'misago.core.context_processors.site_address',
|
|
|
|
- 'misago.conf.context_processors.settings',
|
|
|
|
- 'misago.users.context_processors.user_links',
|
|
|
|
- 'misago.legal.context_processors.legal_links',
|
|
|
|
-
|
|
|
|
- # Data preloaders
|
|
|
|
- 'misago.conf.context_processors.preload_settings_json',
|
|
|
|
- 'misago.core.context_processors.current_link',
|
|
|
|
- 'misago.markup.context_processors.preload_api_url',
|
|
|
|
- 'misago.threads.context_processors.preload_threads_urls',
|
|
|
|
- 'misago.users.context_processors.preload_user_json',
|
|
|
|
-
|
|
|
|
- # Note: keep frontend_context processor last for previous processors
|
|
|
|
- # to be able to add data to request.frontend_context
|
|
|
|
- 'misago.core.context_processors.frontend_context',
|
|
|
|
-)
|
|
|
|
|
|
+# Permissions system extensions
|
|
|
|
+# https://misago.readthedocs.io/en/latest/developers/acls.html#extending-permissions-system
|
|
|
|
|
|
MISAGO_ACL_EXTENSIONS = (
|
|
MISAGO_ACL_EXTENSIONS = (
|
|
'misago.users.permissions.account',
|
|
'misago.users.permissions.account',
|
|
@@ -135,8 +28,15 @@ MISAGO_ACL_EXTENSIONS = (
|
|
'misago.search.permissions',
|
|
'misago.search.permissions',
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+
|
|
|
|
+# Custom markup extensions
|
|
|
|
+
|
|
MISAGO_MARKUP_EXTENSIONS = ()
|
|
MISAGO_MARKUP_EXTENSIONS = ()
|
|
|
|
|
|
|
|
+
|
|
|
|
+# Posting middlewares
|
|
|
|
+# https://misago.readthedocs.io/en/latest/developers/posting_process.html
|
|
|
|
+
|
|
MISAGO_POSTING_MIDDLEWARES = (
|
|
MISAGO_POSTING_MIDDLEWARES = (
|
|
# Always keep FloodProtectionMiddleware middleware first one
|
|
# Always keep FloodProtectionMiddleware middleware first one
|
|
'misago.threads.api.postingendpoint.floodprotection.FloodProtectionMiddleware',
|
|
'misago.threads.api.postingendpoint.floodprotection.FloodProtectionMiddleware',
|
|
@@ -163,50 +63,40 @@ MISAGO_POSTING_MIDDLEWARES = (
|
|
'misago.threads.api.postingendpoint.emailnotification.EmailNotificationMiddleware',
|
|
'misago.threads.api.postingendpoint.emailnotification.EmailNotificationMiddleware',
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+
|
|
|
|
+# Configured thread types
|
|
|
|
+
|
|
MISAGO_THREAD_TYPES = (
|
|
MISAGO_THREAD_TYPES = (
|
|
'misago.threads.threadtypes.thread.Thread',
|
|
'misago.threads.threadtypes.thread.Thread',
|
|
'misago.threads.threadtypes.privatethread.PrivateThread',
|
|
'misago.threads.threadtypes.privatethread.PrivateThread',
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+
|
|
|
|
+# Search extensions
|
|
|
|
+
|
|
MISAGO_SEARCH_EXTENSIONS = (
|
|
MISAGO_SEARCH_EXTENSIONS = (
|
|
'misago.threads.search.SearchThreads',
|
|
'misago.threads.search.SearchThreads',
|
|
'misago.users.search.SearchUsers',
|
|
'misago.users.search.SearchUsers',
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
-# Internationalization
|
|
|
|
-
|
|
|
|
-USE_I18N = True
|
|
|
|
|
|
+# Misago-admin specific date formats
|
|
|
|
|
|
-USE_L10N = True
|
|
|
|
-
|
|
|
|
-USE_TZ = True
|
|
|
|
-
|
|
|
|
-TIME_ZONE = 'UTC'
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Misago specific date formats
|
|
|
|
-# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
|
|
|
MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH = 'j M'
|
|
MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH = 'j M'
|
|
MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH_YEAR = 'M \'y'
|
|
MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH_YEAR = 'M \'y'
|
|
|
|
|
|
|
|
|
|
-# Use Misago CSRF Failure Page
|
|
|
|
-CSRF_FAILURE_VIEW = 'misago.core.errorpages.csrf_failure'
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Use Misago authentication
|
|
|
|
-AUTH_USER_MODEL = 'misago_users.User'
|
|
|
|
-
|
|
|
|
-AUTHENTICATION_BACKENDS = (
|
|
|
|
- 'misago.users.authbackends.MisagoBackend',
|
|
|
|
-)
|
|
|
|
|
|
+# Additional registration validators
|
|
|
|
+# https://misago.readthedocs.io/en/latest/developers/validating_registrations.html
|
|
|
|
|
|
MISAGO_NEW_REGISTRATIONS_VALIDATORS = (
|
|
MISAGO_NEW_REGISTRATIONS_VALIDATORS = (
|
|
'misago.users.validators.validate_gmail_email',
|
|
'misago.users.validators.validate_gmail_email',
|
|
'misago.users.validators.validate_with_sfs',
|
|
'misago.users.validators.validate_with_sfs',
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+
|
|
|
|
+# Stop Forum Spam settings
|
|
|
|
+
|
|
MISAGO_USE_STOP_FORUM_SPAM = True
|
|
MISAGO_USE_STOP_FORUM_SPAM = True
|
|
MISAGO_STOP_FORUM_SPAM_MIN_CONFIDENCE = 80
|
|
MISAGO_STOP_FORUM_SPAM_MIN_CONFIDENCE = 80
|
|
|
|
|
|
@@ -216,95 +106,114 @@ MISAGO_STOP_FORUM_SPAM_MIN_CONFIDENCE = 80
|
|
|
|
|
|
MISAGO_MAILER_BATCH_SIZE = 20
|
|
MISAGO_MAILER_BATCH_SIZE = 20
|
|
|
|
|
|
-# Auth paths
|
|
|
|
|
|
+
|
|
|
|
+# Login API URL
|
|
|
|
+
|
|
MISAGO_LOGIN_API_URL = 'auth'
|
|
MISAGO_LOGIN_API_URL = 'auth'
|
|
|
|
|
|
-LOGIN_REDIRECT_URL = 'misago:index'
|
|
|
|
-LOGIN_URL = 'misago:login'
|
|
|
|
-LOGOUT_URL = 'misago:logout'
|
|
|
|
|
|
|
|
# Misago Admin Path
|
|
# Misago Admin Path
|
|
-# Omit starting and trailing slashes
|
|
|
|
-# To disable Misago admin, empty this value
|
|
|
|
|
|
+# Omit starting and trailing slashes. To disable Misago admin, empty this value.
|
|
|
|
+
|
|
MISAGO_ADMIN_PATH = 'admincp'
|
|
MISAGO_ADMIN_PATH = 'admincp'
|
|
|
|
|
|
|
|
+
|
|
# Admin urls namespaces that Misago's AdminAuthMiddleware should protect
|
|
# Admin urls namespaces that Misago's AdminAuthMiddleware should protect
|
|
|
|
+
|
|
MISAGO_ADMIN_NAMESPACES = (
|
|
MISAGO_ADMIN_NAMESPACES = (
|
|
'admin',
|
|
'admin',
|
|
'misago:admin',
|
|
'misago:admin',
|
|
)
|
|
)
|
|
|
|
|
|
-# How long (in minutes) since previous request to admin namespace should
|
|
|
|
-# admin session last.
|
|
|
|
|
|
+
|
|
|
|
+# How long (in minutes) since previous request to admin namespace should admin session last.
|
|
|
|
+
|
|
MISAGO_ADMIN_SESSION_EXPIRATION = 60
|
|
MISAGO_ADMIN_SESSION_EXPIRATION = 60
|
|
|
|
|
|
|
|
|
|
# Display threads on forum index
|
|
# Display threads on forum index
|
|
# Change this to false to display categories list instead
|
|
# Change this to false to display categories list instead
|
|
|
|
+
|
|
MISAGO_THREADS_ON_INDEX = True
|
|
MISAGO_THREADS_ON_INDEX = True
|
|
|
|
|
|
|
|
|
|
# Max age of notifications in days
|
|
# Max age of notifications in days
|
|
-# Notifications older than this are deleted
|
|
|
|
-# On very active forums its better to keep this smaller
|
|
|
|
|
|
+# Notifications older than this are deleted. On very active forums its better to keep this smaller.
|
|
|
|
+
|
|
MISAGO_NOTIFICATIONS_MAX_AGE = 40
|
|
MISAGO_NOTIFICATIONS_MAX_AGE = 40
|
|
|
|
|
|
|
|
|
|
# Fail-safe limits in case forum is raided by spambot
|
|
# Fail-safe limits in case forum is raided by spambot
|
|
-# No user may exceed those limits, however you may disable
|
|
|
|
-# them by changing them to 0
|
|
|
|
|
|
+# No user may exceed those limits, however you may disable them by changing them to 0.
|
|
|
|
+
|
|
MISAGO_DIALY_POST_LIMIT = 600
|
|
MISAGO_DIALY_POST_LIMIT = 600
|
|
MISAGO_HOURLY_POST_LIMIT = 100
|
|
MISAGO_HOURLY_POST_LIMIT = 100
|
|
|
|
|
|
|
|
|
|
# Function used for generating individual avatar for user
|
|
# Function used for generating individual avatar for user
|
|
|
|
+
|
|
MISAGO_DYNAMIC_AVATAR_DRAWER = 'misago.users.avatars.dynamic.draw_default'
|
|
MISAGO_DYNAMIC_AVATAR_DRAWER = 'misago.users.avatars.dynamic.draw_default'
|
|
|
|
|
|
|
|
|
|
# Path to directory containing avatar galleries
|
|
# Path to directory containing avatar galleries
|
|
# Those galleries can be loaded by running loadavatargallery command
|
|
# Those galleries can be loaded by running loadavatargallery command
|
|
|
|
+
|
|
MISAGO_AVATAR_GALLERY = None
|
|
MISAGO_AVATAR_GALLERY = None
|
|
|
|
|
|
|
|
+
|
|
# Save user avatars for sizes
|
|
# Save user avatars for sizes
|
|
# Keep sizes ordered from greatest to smallest
|
|
# Keep sizes ordered from greatest to smallest
|
|
# Max size also controls min size of uploaded image as well as crop size
|
|
# Max size also controls min size of uploaded image as well as crop size
|
|
|
|
+
|
|
MISAGO_AVATARS_SIZES = (400, 200, 150, 100, 64, 50, 30)
|
|
MISAGO_AVATARS_SIZES = (400, 200, 150, 100, 64, 50, 30)
|
|
|
|
|
|
-# Path to blank avatar
|
|
|
|
|
|
+
|
|
|
|
+# Path to blank avatar image used for guests and removed users.
|
|
|
|
+
|
|
MISAGO_BLANK_AVATAR = 'blank-avatar.png'
|
|
MISAGO_BLANK_AVATAR = 'blank-avatar.png'
|
|
|
|
|
|
|
|
|
|
-# Number of threads displayed on single page
|
|
|
|
|
|
+# Threads lists pagination settings
|
|
|
|
+
|
|
MISAGO_THREADS_PER_PAGE = 25
|
|
MISAGO_THREADS_PER_PAGE = 25
|
|
MISAGO_THREADS_TAIL = 15
|
|
MISAGO_THREADS_TAIL = 15
|
|
|
|
|
|
|
|
|
|
-# Number of posts displayed on single thread page
|
|
|
|
|
|
+# Posts lists pagination settings
|
|
|
|
+
|
|
MISAGO_POSTS_PER_PAGE = 18
|
|
MISAGO_POSTS_PER_PAGE = 18
|
|
MISAGO_POSTS_TAIL = 6
|
|
MISAGO_POSTS_TAIL = 6
|
|
|
|
|
|
|
|
|
|
# Number of events displayed on single thread page
|
|
# Number of events displayed on single thread page
|
|
# If there's more events than specified, oldest events will be trimmed
|
|
# If there's more events than specified, oldest events will be trimmed
|
|
|
|
+
|
|
MISAGO_EVENTS_PER_PAGE = 20
|
|
MISAGO_EVENTS_PER_PAGE = 20
|
|
|
|
|
|
|
|
|
|
# Number of attachments possible to assign to single post
|
|
# Number of attachments possible to assign to single post
|
|
|
|
+
|
|
MISAGO_POST_ATTACHMENTS_LIMIT = 16
|
|
MISAGO_POST_ATTACHMENTS_LIMIT = 16
|
|
|
|
|
|
|
|
+
|
|
# Max allowed size of image before Misago will generate thumbnail for it
|
|
# Max allowed size of image before Misago will generate thumbnail for it
|
|
|
|
+
|
|
MISAGO_ATTACHMENT_IMAGE_SIZE_LIMIT = (500, 500)
|
|
MISAGO_ATTACHMENT_IMAGE_SIZE_LIMIT = (500, 500)
|
|
|
|
|
|
|
|
+
|
|
# Length of secret used for attachments url tokens and filenames
|
|
# Length of secret used for attachments url tokens and filenames
|
|
|
|
+
|
|
MISAGO_ATTACHMENT_SECRET_LENGTH = 64
|
|
MISAGO_ATTACHMENT_SECRET_LENGTH = 64
|
|
|
|
|
|
# How old (in minutes) should attachments unassociated with any be before they'll
|
|
# How old (in minutes) should attachments unassociated with any be before they'll
|
|
# automatically deleted by "clearattachments" task
|
|
# automatically deleted by "clearattachments" task
|
|
|
|
+
|
|
MISAGO_ATTACHMENT_ORPHANED_EXPIRE = 24 * 60
|
|
MISAGO_ATTACHMENT_ORPHANED_EXPIRE = 24 * 60
|
|
|
|
|
|
|
|
|
|
# Names of files served when user requests file that doesn't exist or is unavailable
|
|
# Names of files served when user requests file that doesn't exist or is unavailable
|
|
# Those files will be sought within STATIC_ROOT directory
|
|
# Those files will be sought within STATIC_ROOT directory
|
|
|
|
+
|
|
MISAGO_404_IMAGE = 'misago/img/error-404.png'
|
|
MISAGO_404_IMAGE = 'misago/img/error-404.png'
|
|
MISAGO_403_IMAGE = 'misago/img/error-403.png'
|
|
MISAGO_403_IMAGE = 'misago/img/error-403.png'
|
|
|
|
|
|
@@ -314,13 +223,16 @@ MISAGO_403_IMAGE = 'misago/img/error-403.png'
|
|
# If your forum runs out of memory when trying to generate users rankings list
|
|
# If your forum runs out of memory when trying to generate users rankings list
|
|
# or you want those to be more dynamic, give this setting lower value
|
|
# or you want those to be more dynamic, give this setting lower value
|
|
# You don't have to be overzelous with this as user rankings are cached for 24h
|
|
# You don't have to be overzelous with this as user rankings are cached for 24h
|
|
|
|
+
|
|
MISAGO_RANKING_LENGTH = 30
|
|
MISAGO_RANKING_LENGTH = 30
|
|
|
|
|
|
# Controls max number of items displayed on ranked lists
|
|
# Controls max number of items displayed on ranked lists
|
|
|
|
+
|
|
MISAGO_RANKING_SIZE = 50
|
|
MISAGO_RANKING_SIZE = 50
|
|
|
|
|
|
|
|
|
|
# Controls number of users displayed on single page
|
|
# Controls number of users displayed on single page
|
|
|
|
+
|
|
MISAGO_USERS_PER_PAGE = 12
|
|
MISAGO_USERS_PER_PAGE = 12
|
|
|
|
|
|
|
|
|
|
@@ -328,42 +240,5 @@ MISAGO_USERS_PER_PAGE = 12
|
|
# Items older than number of days specified below are considered read
|
|
# Items older than number of days specified below are considered read
|
|
# Depending on amount of new content being posted on your forum you may want
|
|
# Depending on amount of new content being posted on your forum you may want
|
|
# To decrease or increase this number to fine-tune readtracker performance
|
|
# To decrease or increase this number to fine-tune readtracker performance
|
|
-MISAGO_READTRACKER_CUTOFF = 40
|
|
|
|
|
|
|
|
-
|
|
|
|
-# Default forms templates
|
|
|
|
-CRISPY_TEMPLATE_PACK = 'bootstrap3'
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Rest Framework Configuration
|
|
|
|
-REST_FRAMEWORK = {
|
|
|
|
- 'DEFAULT_PERMISSION_CLASSES': (
|
|
|
|
- 'misago.core.rest_permissions.IsAuthenticatedOrReadOnly',
|
|
|
|
- ),
|
|
|
|
- 'DEFAULT_RENDERER_CLASSES': (
|
|
|
|
- 'rest_framework.renderers.JSONRenderer',
|
|
|
|
- ),
|
|
|
|
- 'EXCEPTION_HANDLER': 'misago.core.exceptionhandler.handle_api_exception',
|
|
|
|
- 'UNAUTHENTICATED_USER': 'misago.users.models.AnonymousUser',
|
|
|
|
- 'URL_FORMAT_OVERRIDE': None,
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Register Misago debug panels
|
|
|
|
-DEBUG_TOOLBAR_PANELS = (
|
|
|
|
- 'debug_toolbar.panels.versions.VersionsPanel',
|
|
|
|
- 'debug_toolbar.panels.timer.TimerPanel',
|
|
|
|
- 'debug_toolbar.panels.settings.SettingsPanel',
|
|
|
|
- 'debug_toolbar.panels.headers.HeadersPanel',
|
|
|
|
- 'debug_toolbar.panels.request.RequestPanel',
|
|
|
|
- 'debug_toolbar.panels.sql.SQLPanel',
|
|
|
|
- 'misago.acl.panels.MisagoACLPanel',
|
|
|
|
- 'debug_toolbar.panels.staticfiles.StaticFilesPanel',
|
|
|
|
- 'debug_toolbar.panels.templates.TemplatesPanel',
|
|
|
|
- 'debug_toolbar.panels.cache.CachePanel',
|
|
|
|
- 'debug_toolbar.panels.signals.SignalsPanel',
|
|
|
|
- 'debug_toolbar.panels.logging.LoggingPanel',
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-# Show debug toolbar for localhost
|
|
|
|
-INTERNAL_IPS = ['127.0.0.1']
|
|
|
|
|
|
+MISAGO_READTRACKER_CUTOFF = 40
|