[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hant/~inkscape/galleries/contest-for-046/
Internal Server Error: /zh-hant/~inkscape/galleries/contest-for-046/
KeyError at /zh-hant/~inkscape/galleries/contest-for-046/ 'object_list'
Request Method: GET Request URL: https://inkscape.org/zh-hant/~inkscape/galleries/contest-for-046/?page=2&... 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: 星期六, 2 十二月 2023 02:02:12 +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/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/views/generic/base.py" in dispatch 97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get 358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data 768. data = super().get_context_data(**kwargs)
File "./resources/views.py" in get_context_data 694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hant/~inkscape/galleries/contest-for-046/ Exception Value: 'object_list' Request information: USER: AnonymousUser
GET: page = '2' order = 'downed'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META: CONTENT_LENGTH = '' CONTENT_TYPE = '' DOCUMENT_ROOT = '/var/www/www.inkscape.org' HTTPS = 'on' HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING = 'gzip, deflate' HTTP_ACCEPT_LANGUAGE = 'en' HTTP_CONNECTION = 'Close' HTTP_HOST = 'inkscape.org' HTTP_REFERER = 'https://inkscape.org/zh-hant/~inkscape/galleries/contest-for-046?order=downe...' HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; Android 7.1.1; OPPO R9sk Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3011.109 Mobile Safari/537.36 LieBaoFast/5.12.3' PATH_INFO = '/zh-hant/~inkscape/galleries/contest-for-046/' QUERY_STRING = 'page=2&order=downed' REMOTE_ADDR = '123.52.14.219' REMOTE_PORT = '21409' REQUEST_METHOD = 'GET' REQUEST_SCHEME = 'https' REQUEST_URI = '/zh-hant/~inkscape/galleries/contest-for-046/?page=2&order=downed' SCRIPT_NAME = '' SERVER_NAME = 'inkscape.org' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/1.1' 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 0x7f6906509690> 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 = '您必须先在论坛上发帖,然后才能发送私信。' 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', '三欄頁面'), ('cms/super.html', '全螢幕'), ('cms/normal.html', '一般頁面'), ('cms/develop.html', '開發者頁面'), ('cms/withside.html', '側邊欄頁面'))" 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 0x7f692b2f7268>, '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', '網站使用者'), ('resources.resource', '畫廊資源'), ('django_comments.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'
participants (1)
-
webmaster@inkscape.org