[Errno 2] No such file or directory
Request Method: | GET |
---|---|
Request URL: | http://lopen.linguistics.ntu.edu.tw/lope.anno/ |
Django Version: | 1.7.4 |
Exception Type: | FileNotFoundError |
Exception Value: | [Errno 2] No such file or directory |
Exception Location: | /usr/local/lib/python3.4/posixpath.py in abspath, line 361 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 3.4.3 |
Python Path: | ['.', '', '/usr/local/lib/python34.zip', '/usr/local/lib/python3.4', '/usr/local/lib/python3.4/plat-linux', '/usr/local/lib/python3.4/lib-dynload', '/usr/local/lib/python3.4/site-packages'] |
Server time: | Fri, 29 Mar 2024 21:29:20 +0800 |
/usr/local/lib/python3.4/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
wrapped_callback | <function main at 0x7f813503cf28> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f81359c82e8>> |
response | None |
callback_kwargs | {} |
urlconf | 'core.urls' |
request | ('<WSGIRequest\n' 'path:/lope.anno/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'CSRF_COOKIE': 'qDPtCkxBVVejdEwPDYeUFU5h8220Gpjk',\n" " 'HTTP_ACCEPT': '*/*',\n" " 'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'lopen.linguistics.ntu.edu.tw',\n" " 'HTTP_REFERER': 'http://lopen.linguistics.ntu.edu.tw/lope.anno/',\n" " 'HTTP_USER_AGENT': 'claudebot',\n" " 'PATH_INFO': '/lope.anno/',\n" " 'QUERY_STRING': '',\n" " 'REMOTE_ADDR': '172.21.0.1',\n" " 'REMOTE_PORT': '27273',\n" " 'REQUEST_METHOD': 'GET',\n" " 'REQUEST_URI': '/lope.anno/',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '7d264c774063',\n" " 'SERVER_PORT': '8001',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'UWSGI_ROUTER': 'http',\n" " 'uwsgi.node': b'7d264c774063',\n" " 'uwsgi.version': b'2.0.17',\n" " 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>,\n" " 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n" " 'wsgi.input': <uwsgi._Input object at 0x7f8135fa44e0>,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'http',\n" " 'wsgi.version': (1, 0)}>") |
callback | <function main at 0x7f813503cf28> |
resolver | <RegexURLResolver 'core.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=<function main at 0x7f813503cf28>, args=(), kwargs={}, url_name='index', app_name='None', namespace='') |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f8136af8b38> |
callback_args | () |
/usr/local/lib/python3.4/site-packages/django/shortcuts.py
in render_to_response
def render_to_response(*args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
httpresponse_kwargs = {'content_type': kwargs.pop('content_type', None)}
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)...
def render(request, *args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
Variable | Value |
---|---|
args | ('senti_main.html',) |
kwargs | {'context_instance': [{'True': True, 'False': False, 'None': None}, {'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8134b09198>>, 'request': <WSGIRequest path:/lope.anno/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'qDPtCkxBVVejdEwPDYeUFU5h8220Gpjk', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'lopen.linguistics.ntu.edu.tw', 'HTTP_REFERER': 'http://lopen.linguistics.ntu.edu.tw/lope.anno/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': '/lope.anno/', 'QUERY_STRING': '', 'REMOTE_ADDR': '172.21.0.1', 'REMOTE_PORT': '27273', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/lope.anno/', 'SCRIPT_NAME': '', 'SERVER_NAME': '7d264c774063', 'SERVER_PORT': '8001', 'SERVER_PROTOCOL': 'HTTP/1.0', 'UWSGI_ROUTER': 'http', 'uwsgi.node': b'7d264c774063', 'uwsgi.version': b'2.0.17', 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f8135fa44e0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, 'csrf_token': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7f8134b09978>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f8134b09630>}]} |
httpresponse_kwargs | {'content_type': None} |
/usr/local/lib/python3.4/site-packages/django/template/loader.py
in render_to_string
context. The template_name may be a string to load a single template using
get_template, or it may be a tuple to use select_template to find one of
the templates in the list. Returns a string.
"""
if isinstance(template_name, (list, tuple)):
t = select_template(template_name, dirs)
else:
t = get_template(template_name, dirs)...
if not context_instance:
return t.render(Context(dictionary))
if not dictionary:
return t.render(context_instance)
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
Variable | Value |
---|---|
template_name | 'senti_main.html' |
dictionary | None |
dirs | None |
context_instance | [{'True': True, 'False': False, 'None': None}, {'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8134b09198>>, 'request': <WSGIRequest path:/lope.anno/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'qDPtCkxBVVejdEwPDYeUFU5h8220Gpjk', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'lopen.linguistics.ntu.edu.tw', 'HTTP_REFERER': 'http://lopen.linguistics.ntu.edu.tw/lope.anno/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': '/lope.anno/', 'QUERY_STRING': '', 'REMOTE_ADDR': '172.21.0.1', 'REMOTE_PORT': '27273', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/lope.anno/', 'SCRIPT_NAME': '', 'SERVER_NAME': '7d264c774063', 'SERVER_PORT': '8001', 'SERVER_PROTOCOL': 'HTTP/1.0', 'UWSGI_ROUTER': 'http', 'uwsgi.node': b'7d264c774063', 'uwsgi.version': b'2.0.17', 'wsgi.errors': <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f8135fa44e0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, 'csrf_token': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7f8134b09978>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f8134b09630>}] |
/usr/local/lib/python3.4/site-packages/django/template/loader.py
in get_template
def get_template(template_name, dirs=None):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = find_template(template_name, dirs)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = get_template_from_string(template, origin, template_name)
return template
Variable | Value |
---|---|
template_name | 'senti_main.html' |
dirs | None |
/usr/local/lib/python3.4/site-packages/django/template/loader.py
in find_template
for loader_name in settings.TEMPLATE_LOADERS:
loader = find_template_loader(loader_name)
if loader is not None:
loaders.append(loader)
template_source_loaders = tuple(loaders)
for loader in template_source_loaders:
try:
source, display_name = loader(name, dirs)...
return (source, make_origin(display_name, loader, name, dirs))
except TemplateDoesNotExist:
pass
raise TemplateDoesNotExist(name)
Variable | Value |
---|---|
loader | <django.template.loaders.filesystem.Loader object at 0x7f8134e05400> |
dirs | None |
name | 'senti_main.html' |
/usr/local/lib/python3.4/site-packages/django/template/loader.py
in __call__
class BaseLoader(object):
is_usable = False
def __init__(self, *args, **kwargs):
pass
def __call__(self, template_name, template_dirs=None):
return self.load_template(template_name, template_dirs)...
def load_template(self, template_name, template_dirs=None):
source, display_name = self.load_template_source(template_name, template_dirs)
origin = make_origin(display_name, self.load_template_source, template_name, template_dirs)
try:
template = get_template_from_string(source, origin, template_name)
Variable | Value |
---|---|
template_name | 'senti_main.html' |
self | <django.template.loaders.filesystem.Loader object at 0x7f8134e05400> |
template_dirs | None |
/usr/local/lib/python3.4/site-packages/django/template/loader.py
in load_template
def __init__(self, *args, **kwargs):
pass
def __call__(self, template_name, template_dirs=None):
return self.load_template(template_name, template_dirs)
def load_template(self, template_name, template_dirs=None):
source, display_name = self.load_template_source(template_name, template_dirs)...
origin = make_origin(display_name, self.load_template_source, template_name, template_dirs)
try:
template = get_template_from_string(source, origin, template_name)
return template, None
except TemplateDoesNotExist:
# If compiling the template we found raises TemplateDoesNotExist, back off to
Variable | Value |
---|---|
template_name | 'senti_main.html' |
self | <django.template.loaders.filesystem.Loader object at 0x7f8134e05400> |
template_dirs | None |
/usr/local/lib/python3.4/site-packages/django/template/loaders/filesystem.py
in load_template_source
# The joined path was located outside of this particular
# template_dir (it might be inside another one, so this isn't
# fatal).
pass
def load_template_source(self, template_name, template_dirs=None):
tried = []
for filepath in self.get_template_sources(template_name, template_dirs):...
try:
with open(filepath, 'rb') as fp:
return (fp.read().decode(settings.FILE_CHARSET), filepath)
except IOError:
tried.append(filepath)
if tried:
Variable | Value |
---|---|
template_name | 'senti_main.html' |
tried | [] |
self | <django.template.loaders.filesystem.Loader object at 0x7f8134e05400> |
template_dirs | None |
/usr/local/lib/python3.4/site-packages/django/template/loaders/filesystem.py
in get_template_sources
directory in "template_dirs". Any paths that don't lie inside one of the
template dirs are excluded from the result set, for security reasons.
"""
if not template_dirs:
template_dirs = settings.TEMPLATE_DIRS
for template_dir in template_dirs:
try:
yield safe_join(template_dir, template_name)...
except UnicodeDecodeError:
# The template dir name was a bytestring that wasn't valid UTF-8.
raise
except ValueError:
# The joined path was located outside of this particular
# template_dir (it might be inside another one, so this isn't
Variable | Value |
---|---|
template_name | 'senti_main.html' |
template_dir | './annotator/templates' |
self | <django.template.loaders.filesystem.Loader object at 0x7f8134e05400> |
template_dirs | ('./annotator/templates', './utility/templates', './analysis/templates', './account/templates', './templates') |
/usr/local/lib/python3.4/site-packages/django/utils/_os.py
in safe_join
Returns a normalized, absolute version of the final path.
The final path must be located inside of the base path component (otherwise
a ValueError is raised).
"""
base = force_text(base)
paths = [force_text(p) for p in paths]
final_path = abspathu(join(base, *paths))...
base_path = abspathu(base)
# Ensure final_path starts with base_path (using normcase to ensure we
# don't false-negative on case insensitive operating systems like Windows),
# further, one of the following conditions must be true:
# a) The next character is the path separator (to prevent conditions like
# safe_join("/dir", "/../d"))
Variable | Value |
---|---|
paths | ['senti_main.html'] |
base | './annotator/templates' |
/usr/local/lib/python3.4/posixpath.py
in abspath
def abspath(path):
"""Return an absolute path."""
if not isabs(path):
if isinstance(path, bytes):
cwd = os.getcwdb()
else:
cwd = os.getcwd()...
path = join(cwd, path)
return normpath(path)
# Return a canonical path (i.e. the absolute location of a file on the
# filesystem).
Variable | Value |
---|---|
path | './annotator/templates/senti_main.html' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.run_once | False |
HTTP_ACCEPT | '*/*' |
wsgi.multithread | False |
uwsgi.version | b'2.0.17' |
wsgi.version | (1, 0) |
wsgi.file_wrapper | '' |
HTTP_CONNECTION | 'close' |
SERVER_PORT | '8001' |
wsgi.input | <uwsgi._Input object at 0x7f8135fa44e0> |
SERVER_PROTOCOL | 'HTTP/1.0' |
wsgi.url_scheme | 'http' |
REMOTE_PORT | '27273' |
HTTP_HOST | 'lopen.linguistics.ntu.edu.tw' |
HTTP_REFERER | 'http://lopen.linguistics.ntu.edu.tw/lope.anno/' |
uwsgi.node | b'7d264c774063' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | '7d264c774063' |
REQUEST_URI | '/lope.anno/' |
PATH_INFO | '/lope.anno/' |
QUERY_STRING | '' |
REQUEST_METHOD | 'GET' |
REMOTE_ADDR | '172.21.0.1' |
SCRIPT_NAME | '' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
CSRF_COOKIE | 'qDPtCkxBVVejdEwPDYeUFU5h8220Gpjk' |
UWSGI_ROUTER | 'http' |
wsgi.multiprocess | True |
core.settings
Setting | Value |
---|---|
DECIMAL_SEPARATOR | '.' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
MEDIA_ROOT | '' |
TIME_ZONE | 'Asia/Taipei' |
MEDIA_URL | '' |
LOCALE_PATHS | () |
SESSION_COOKIE_NAME | 'sessionid' |
CSRF_COOKIE_PATH | '/' |
TEMPLATE_DIRS | ('./annotator/templates', './utility/templates', './analysis/templates', './account/templates', './templates') |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
SESSION_COOKIE_SECURE | False |
USE_I18N | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
BASE_DIR | '.' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
LOGOUT_URL | '/accounts/logout/' |
DEFAULT_TABLESPACE | '' |
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') |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'annotator', 'utility', 'analysis', 'account') |
SETTINGS_MODULE | 'core.settings' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DEFAULT_CONTENT_TYPE | 'text/html' |
FIRST_DAY_OF_WEEK | 0 |
NUMBER_GROUPING | 0 |
SEND_BROKEN_LINK_EMAILS | False |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CSRF_COOKIE_NAME | 'csrftoken' |
RLITE_DB_PATH | './dbs' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
TEMPLATE_DEBUG | True |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.request', 'django.contrib.auth.context_processors.auth') |
WSGI_APPLICATION | 'core.wsgi.application' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
USER_DB_PATH | './user_dbs/%s.db' |
SESSION_CACHE_ALIAS | 'default' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CSRF_COOKIE_DOMAIN | None |
STATIC_ROOT | None |
CSRF_COOKIE_AGE | 31449600 |
APPEND_SLASH | True |
USE_ETAGS | False |
ABSOLUTE_URL_OVERRIDES | {} |
STATIC_URL | '/static_lopeanno/' |
EMAIL_USE_SSL | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': './db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': ''}} |
EMAIL_HOST | 'localhost' |
USE_X_FORWARDED_HOST | False |
TIME_FORMAT | 'P' |
DATE_FORMAT | 'N j, Y' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
TRANSACTIONS_MANAGED | False |
ROOT_URLCONF | 'core.urls' |
EMAIL_HOST_PASSWORD | '********************' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
MANAGERS | () |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
LANGUAGE_COOKIE_DOMAIN | None |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
SERVER_EMAIL | 'root@localhost' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
LOGIN_URL | '/accounts/login/' |
FORCE_SCRIPT_NAME | None |
ALLOWED_HOSTS | ['140.112.147.131'] |
SESSION_SAVE_EVERY_REQUEST | False |
COMMENTS_ALLOW_PROFANITIES | False |
DATABASE_ROUTERS | [] |
CSRF_COOKIE_SECURE | False |
CSRF_COOKIE_HTTPONLY | False |
DEFAULT_INDEX_TABLESPACE | '' |
SESSION_COOKIE_PATH | '/' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
THOUSAND_SEPARATOR | ',' |
SESSION_COOKIE_AGE | 1209600 |
TEST_NON_SERIALIZED_APPS | [] |
SESSION_COOKIE_DOMAIN | None |
EMAIL_HOST_USER | '' |
ADMINS | () |
INTERNAL_IPS | () |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TAG_PATH | './annotator/ref.json' |
FIXTURE_DIRS | () |
PROFANITIES_LIST | '********************' |
INSTALLED_APPS_LOCAL | ('annotator', 'utility', 'analysis', 'account') |
CACHE_MIDDLEWARE_ALIAS | 'default' |
YEAR_MONTH_FORMAT | 'F Y' |
SESSION_COOKIE_HTTPONLY | True |
FILE_UPLOAD_PERMISSIONS | None |
LANGUAGE_CODE | 'en-us' |
STATICFILES_DIRS | ('./static',) |
DATETIME_FORMAT | 'N j, Y, P' |
USE_THOUSAND_SEPARATOR | False |
FILE_CHARSET | 'utf-8' |
EMAIL_PORT | 25 |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') |
SESSION_FILE_PATH | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
TEMPLATE_STRING_IF_INVALID | '' |
USE_TZ | True |
LANGUAGE_COOKIE_AGE | None |
IGNORABLE_404_URLS | () |
EMAIL_USE_TLS | False |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
PREPEND_WWW | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SILENCED_SYSTEM_CHECKS | [] |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
FORMAT_MODULE_PATH | None |
ADMIN_FOR | () |
DEFAULT_CHARSET | 'utf-8' |
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') |
DISALLOWED_USER_AGENTS | () |
SECRET_KEY | '********************' |
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'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian 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'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('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 Bokmal'), ('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-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
AUTH_USER_MODEL | 'auth.User' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
CACHE_MIDDLEWARE_SECONDS | 600 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
MIGRATION_MODULES | {} |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | '********************' |
USE_L10N | True |
LANGUAGE_COOKIE_PATH | '/' |
ALLOWED_INCLUDE_ROOTS | () |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
LOGGING | {'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'}}, 'loggers': {'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}}, 'version': 1} |
MONTH_DAY_FORMAT | 'F j' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEBUG | True |
SHORT_DATE_FORMAT | 'm/d/Y' |
SECURE_PROXY_SSL_HEADER | None |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.