Internal Server Error: /forums/questions/new/
DataError at /forums/questions/new/ invalid input syntax for type inet: "41.216.201.16/32 " LINE 1: ...:06:24.882182+00:00'::timestamptz, "ip_address" = '41.216.20... ^
Request Method: POST Request URL: https://inkscape.org/forums/questions/new/ Django Version: 2.2 Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi Python Version: 3.6.8 Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages'] Server time: Mon, 27 Nov 2023 08:08:25 +0000 Installed Applications: ('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux') Installed Middleware: ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/backends/utils.py" in _execute 84. return self.cursor.execute(sql, params)
The above exception (invalid input syntax for type inet: "41.216.201.16/32 " LINE 1: ...:06:24.882182+00:00'::timestamptz, "ip_address" = '41.216.20... ^ ) was the direct cause of the following exception:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view 71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper 45. return bound_method(*args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 21. return view_func(request, *args, **kwargs)
File "./person/mixins.py" in dispatch 41. return super().dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch 97. return handler(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/edit.py" in post 141. if form.is_valid():
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in is_valid 185. return self.is_bound and not self.errors
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in errors 180. self.full_clean()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in full_clean 381. self._clean_fields()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/forms/forms.py" in _clean_fields 402. value = getattr(self, 'clean_%s' % name)()
File "./forums/forms.py" in clean_comment 111. censor_text(self.user, subject.lower(), comment.lower())
File "./forums/utils.py" in censor_text 81. user.forum_flags.instant_ban(user, words=bwd.phrase)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/manager.py" in manager_method 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
File "./forums/querysets.py" in instant_ban 139. comment.save()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django_comments/abstracts.py" in save 93. super(CommentAbstractModel, self).save(*args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/base.py" in save 741. force_update=force_update, update_fields=update_fields)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/base.py" in save_base 779. force_update, using, update_fields,
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/base.py" in _save_table 851. forced_update)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/base.py" in _do_update 900. return filtered._update(values) > 0
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/query.py" in _update 760. return query.get_compiler(self.db).execute_sql(CURSOR)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/sql/compiler.py" in execute_sql 1426. cursor = super().execute_sql(result_type)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/models/sql/compiler.py" in execute_sql 1097. cursor.execute(sql, params)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/backends/utils.py" in execute 67. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/backends/utils.py" in _execute_with_wrappers 76. return executor(sql, params, many, context)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/backends/utils.py" in _execute 84. return self.cursor.execute(sql, params)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/utils.py" in __exit__ 89. raise dj_exc_value.with_traceback(traceback) from exc_value
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/db/backends/utils.py" in _execute 84. return self.cursor.execute(sql, params)
Exception Type: DataError at /forums/questions/new/ Exception Value: invalid input syntax for type inet: "41.216.201.16/32 " LINE 1: ...:06:24.882182+00:00'::timestamptz, "ip_address" = '41.216.20... ^
Request information: USER: Professor Nyeko
GET: No GET data
POST: csrfmiddlewaretoken = 'csdLNIUs3v6veDTPmExyKjpFlHOuyZCy9mbABOxwopwfToboHcUTkdfpeklVjRz9' msie11bug = 'http://stackoverflow.com/questions/20149751/ie11-only-submit-bug' content_type = 'forums.forum' object_pk = '7' timestamp = '1701072423' security_hash = '1101a2977d737cef5930d68186bbfc3327810710' subject = 'Spiritual Healing and Protection magic ring +27655320351 In\xa0Finland , Greenland ,Grenada, Guadeloupe South Africa Botswana' comment = '<p><strong>Spiritual Healing and Protection magic ring +27655320351 In Finland , Greenland ,Grenada, Guadeloupe South Africa Botswana</strong></p><p>Magic rings can have either “good” or “evil” powers- it all depends on who enchanted the ring and what powers the ring was given. However, in this day and age, most magic rings are used for good. A spellcaster can enchant a magic ring to have any power desired. Magic rings for sale exist all over the world, and even more so on the internet. If you need a magic ring for any purpose at all, it won’t be too hard to find.<br />Is there something in your life that you need to change? Do you want to have the power to decide your own fate? Is there something in your life that is not going the way you’d planned? Magic rings could be the perfect solution! Magic rings are enchanted and contain spiritual powers that can benefit the wearer of the ring.<br />Call / What's App: +27655320351 .<br />Prof Nyeko <br />Email: professornyeko@gmail.com </p>' honeypot = '' attachments = '' galleries = '' embedded = ''
FILES: No FILES data
COOKIES: csrftoken = 'fDz6Ofm7tEv2DvynfQ5s35KyltHiHdNjcxxVClZbOyVMigQWAosNDZAie6eJs5KU' sessionid = '7r1xdn73um30f0vc6djo1s012m7w0s0v'
META: CONTENT_LENGTH = '1664' CONTENT_TYPE = 'application/x-www-form-urlencoded' CSRF_COOKIE = 'fDz6Ofm7tEv2DvynfQ5s35KyltHiHdNjcxxVClZbOyVMigQWAosNDZAie6eJs5KU' DOCUMENT_ROOT = '/var/www/www.inkscape.org' HTTPS = 'on' HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' HTTP_ACCEPT_ENCODING = 'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE = 'en' HTTP_CACHE_CONTROL = 'max-age=0' HTTP_CONTENT_LENGTH = '1664' HTTP_CONTENT_TYPE = 'application/x-www-form-urlencoded' HTTP_COOKIE = 'csrftoken=fDz6Ofm7tEv2DvynfQ5s35KyltHiHdNjcxxVClZbOyVMigQWAosNDZAie6eJs5KU; sessionid=7r1xdn73um30f0vc6djo1s012m7w0s0v' HTTP_HOST = 'inkscape.org' HTTP_ORIGIN = 'https://inkscape.org' HTTP_REFERER = 'https://inkscape.org/forums/questions/new/' HTTP_SEC_CH_UA = '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"' HTTP_SEC_CH_UA_MOBILE = '?0' HTTP_SEC_CH_UA_PLATFORM = '"Windows"' HTTP_SEC_FETCH_DEST = 'document' HTTP_SEC_FETCH_MODE = 'navigate' HTTP_SEC_FETCH_SITE = 'same-origin' HTTP_SEC_FETCH_USER = '?1' HTTP_UPGRADE_INSECURE_REQUESTS = '1' HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' PATH_INFO = '/forums/questions/new/' QUERY_STRING = '' REMOTE_ADDR = '41.216.201.16' REMOTE_PORT = '29955' REQUEST_METHOD = 'POST' REQUEST_SCHEME = 'https' REQUEST_URI = '/forums/questions/new/' SCRIPT_NAME = '' SERVER_NAME = 'inkscape.org' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/2.0' SESSION_URL = 'https://inkscape.org/admin/user_sessions/session/7r1xdn73um30f0vc6djo1s012m7...' USER_URL = 'https://inkscape.org/~professornyeko/' uwsgi.node = b'inkscape1.osuosl.org' uwsgi.version = b'2.0.17' wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> wsgi.file_wrapper = '' wsgi.input = <uwsgi._Input object at 0x7fc9513d9bb8> wsgi.multiprocess = True wsgi.multithread = False wsgi.run_once = False wsgi.url_scheme = 'https' wsgi.version = '(1, 0)'
Settings: Using settings module inkscape.settings ABSOLUTE_URL_OVERRIDES = {} ACCOUNT_ACTIVATION_DAYS = 7 ADMINS = "(('Webmaster', 'webmaster@lists.inkscape.org'),)" ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.' ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic' ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org'] APPEND_SLASH = True AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')" AUTH_PASSWORD_VALIDATORS = '********************' AUTH_USER_MODEL = 'person.User' BASE_DIR = './inkscape' CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '********************' CACHE_MIDDLEWARE_SECONDS = 5 CACHE_PAGE_SETTING = 3600 CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge' CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]} CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True} CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False} CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')" CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)" CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True} CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)" CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}} CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))" CODE_PATH = '/var/www/www.inkscape.org/inkscape' COMMENTS_APP = 'forums' COMMENT_MAX_LENGTH = 20000 CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = 'csrftoken' CSRF_COOKIE_PATH = '/' CSRF_COOKIE_SAMESITE = 'Lax' CSRF_COOKIE_SECURE = True CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] CSRF_USE_SESSIONS = False DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}} DATABASE_ROUTERS = [] DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = 'N j, Y, P' DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] DATE_FORMAT = 'N j, Y' DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG = False DEBUG_PROPAGATE_EXCEPTIONS = False DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7fc97ca0d268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False} 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', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')" DEBUG_TOOLBAR_PATCH_SETTINGS = True DECIMAL_SEPARATOR = '.' DEFAULT_CHARSET = 'utf-8' DEFAULT_CONTENT_TYPE = 'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = 'webmaster@inkscape.org' DEFAULT_INDEX_TABLESPACE = '' DEFAULT_TABLESPACE = '' DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design' DISALLOWED_USER_AGENTS = [] DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache' DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_HOST_PASSWORD = '********************' EMAIL_HOST_USER = '' EMAIL_PORT = 25 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = '********************' EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] ' EMAIL_TIMEOUT = None EMAIL_USE_LOCALTIME = False EMAIL_USE_SSL = False EMAIL_USE_TLS = False ENABLE_CACHING = False ENABLE_DEBUG_TOOLBAR = False ENABLE_DESIGN_TOOLBAR = False ENABLE_PROFILER_TOOLBAR = False ENABLE_PYMPLER_TOOLBAR = False ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log' ERROR_RATE_LIMIT = 300 ERROR_ROOT = '/var/www/www.inkscape.org/data/logs' EXTRA_APPS = [] FACEBOOK_EXTENDED_PERMISSIONS = ['email'] FASTLY_CACHE_API_KEY = '********************' FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj' FILER_IMAGE_MODEL = 'filer.Image' FILE_CHARSET = 'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 FILE_UPLOAD_PERMISSIONS = 420 FILE_UPLOAD_TEMP_DIR = None FIRST_DAY_OF_WEEK = 0 FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)" FORCE_SCRIPT_NAME = None FORMAT_MODULE_PATH = None FORM_RENDERER = 'django.forms.renderers.DjangoTemplates' FORUM_TEAM = 'moderators' GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip' GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}} GOOGLE_ANID = None HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}} HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource'] HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter'] HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor' HOST_ROOT = 'www.inkscape.org' I18N_DOMAIN = 'inkscape' IGNORABLE_404_URLS = [] INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')" INTERNAL_IPS = [] IS_TEST = False LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur'] LANGUAGE_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'} LANGUAGE_CODE = 'en' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = 'django_language' LANGUAGE_COOKIE_PATH = '/' LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)" LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}} LOGGING_CONFIG = 'logging.config.dictConfig' LOGIN_ERROR_URL = '/user/login/' LOGIN_REDIRECT_URL = '/user/' LOGIN_URL = '/user/login/' LOGOUT_REDIRECT_URL = None LOGS_ROOT = '/var/www/www.inkscape.org/data/logs' MANAGERS = '()' MAX_PREVIEW_SIZE = 5242880 MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/' MEDIA_URL = 'https://media.inkscape.org/media/' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware'] MIGRATION_MODULES = {} MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))" MONTH_DAY_FORMAT = 'F j' NUMBER_GROUPING = 0 OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}] OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly%27%7D%7D OPENID_REDIRECT_NEXT = '/accounts/openid/done/' OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''} PASSWORD_HASHERS = '********************' PASSWORD_RESET_TIMEOUT_DAYS = '********************' PREPEND_WWW = False PROJECT_PATH = '/var/www/www.inkscape.org' PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id'] ROCKET_CHAT_API = '********************' ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log' ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json' ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent' ROOT_URLCONF = 'inkscape.urls' SECRET_KEY = '********************' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = False SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_PRELOAD = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = None SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SENDFILE_BACKEND = 'sendfile.backends.development' SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/' SENDFILE_URL = 'https://media.inkscape.org/media/' SERVER_EMAIL = 'webmaster@inkscape.org' SERVE_STATIC = True SESSION_CACHE_ALIAS = 'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = 'sessionid' SESSION_COOKIE_PATH = '/' SESSION_COOKIE_SAMESITE = 'Lax' SESSION_COOKIE_SECURE = True SESSION_ENGINE = 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = True SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer' SETTINGS = 'local_settings.py' SETTINGS_MODULE = 'inkscape.settings' SFS_ALL_POST_REQUESTS = True SFS_CACHE_EXPIRE = 7 SFS_LOG_EXPIRE = 7 SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip' SFS_ZIP_FILENAME = 'listed_ip_7.txt' SHORT_DATETIME_FORMAT = 'm/d/Y P' SHORT_DATE_FORMAT = 'm/d/Y' SIGNING_BACKEND = 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = ['1_6.W002'] SITE_ADDRESS = 'www.inkscape.org' SITE_ID = 1 SITE_NAME = 'inkscape-website-www' SITE_ROOT = 'http://www.inkscape.org' SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user' SOCIAL_AUTH_FACEBOOK_KEY = '********************' SOCIAL_AUTH_FACEBOOK_SECRET = '********************' SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************' SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************' SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/' STATICFILES_DIRS = [] STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT = '/var/www/www.inkscape.org/data/static' STATIC_URL = 'https://media.inkscape.org/static/' TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner' THOUSAND_SEPARATOR = ',' TIME_FORMAT = 'P' TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE = 'UTC' TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')" USE_I18N = True USE_L10N = True USE_THOUSAND_SEPARATOR = False USE_TZ = True USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False WSGI_APPLICATION = None X_FRAME_OPTIONS = 'SAMEORIGIN' YEAR_MONTH_FORMAT = 'F Y'