album.html
Request Method: | GET |
---|---|
Request URL: | https://60north.ru/albums/67/ |
Django Version: | 1.3.1 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | album.html |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/template/loader.py in find_template, line 138 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.16 |
Python Path: | ['/www/60N', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/www'] |
Server time: | Птн, 29 Мар 2024 12:16:55 +0300 |
Django tried loading these templates, in this order:
django.template.loaders.filesystem.function
:
django.template.loaders.app_directories.function
:
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, 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 |
---|---|
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
e | TemplateDoesNotExist('album.html',) |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0xf4bdfb1c>, None)] |
middleware_method | <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0xf4d2a7ac>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xf5335b6c> |
settings | <django.conf.LazySettings object at 0xf4dfe76c> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': '60north.ru', 'HTTP_REFERER': 'http://www.60north.ru/albums/67/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/albums/67/', 'PATH_TRANSLATED': '/www/60N/wsgi.py/albums/67/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.159.116.24', 'REMOTE_PORT': '35260', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/albums/67/', 'SCRIPT_FILENAME': '/www/60N/wsgi.py', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'https://60north.ru/albums/67/', 'SCRIPT_URL': '/albums/67/', 'SERVER_ADDR': '194.117.250.46', 'SERVER_ADMIN': 'admin@60north.ru', 'SERVER_NAME': '60north.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.4.38 (Debian) Server at 60north.ru Port 443</address>\n', 'SERVER_SOFTWARE': 'Apache/2.4.38 (Debian)', 'SSL_TLS_SNI': '60north.ru', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': '60north.ru|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.daemon_connects': '1', 'mod_wsgi.daemon_restarts': '0', 'mod_wsgi.daemon_start': '1711703815714834', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/albums/67/', 'mod_wsgi.process_group': '60north.ru', 'mod_wsgi.queue_start': '1711703815714672', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'x3blGZE0c/c', 'mod_wsgi.request_start': '1711703815714503', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711703815714886', 'mod_wsgi.thread_id': 7, 'mod_wsgi.thread_requests': 1L, 'mod_wsgi.total_requests': 150L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xe3a15d18>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0xe3d66ac8>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
callback | <function album at 0xe3d3c25c> |
resolver | <RegexURLResolver 60N.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'album_id': u'67'} |
response | None |
urlconf | '60N.urls' |
/www/60N/news/views.py
in album
if past:
return render_to_response('main.html', {'newslist':newslist,'albumlist':albumlist,'past':1,'explist':explist},context_instance=RequestContext(request))
else:
return render_to_response('main.html', {'newslist':newslist,'albumlist':albumlist,'explist':explist},context_instance=RequestContext(request))
def album(request,album_id):
album = get_object_or_404(Gallery, pk=album_id)
return render_to_response('album.html', {'album':album},context_instance=RequestContext(request))...
def album_index(request):
albums = Gallery.objects.filter(is_public=True)
return render_to_response('albums_list.html', {'albums':albums},context_instance=RequestContext(request))
def album_gallery(request,album_id):
Variable | Value |
---|---|
album | <Gallery: Med Mooring> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': '60north.ru', 'HTTP_REFERER': 'http://www.60north.ru/albums/67/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/albums/67/', 'PATH_TRANSLATED': '/www/60N/wsgi.py/albums/67/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.159.116.24', 'REMOTE_PORT': '35260', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/albums/67/', 'SCRIPT_FILENAME': '/www/60N/wsgi.py', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'https://60north.ru/albums/67/', 'SCRIPT_URL': '/albums/67/', 'SERVER_ADDR': '194.117.250.46', 'SERVER_ADMIN': 'admin@60north.ru', 'SERVER_NAME': '60north.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.4.38 (Debian) Server at 60north.ru Port 443</address>\n', 'SERVER_SOFTWARE': 'Apache/2.4.38 (Debian)', 'SSL_TLS_SNI': '60north.ru', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': '60north.ru|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.daemon_connects': '1', 'mod_wsgi.daemon_restarts': '0', 'mod_wsgi.daemon_start': '1711703815714834', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/albums/67/', 'mod_wsgi.process_group': '60north.ru', 'mod_wsgi.queue_start': '1711703815714672', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'x3blGZE0c/c', 'mod_wsgi.request_start': '1711703815714503', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711703815714886', 'mod_wsgi.thread_id': 7, 'mod_wsgi.thread_requests': 1L, 'mod_wsgi.total_requests': 150L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xe3a15d18>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0xe3d66ac8>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
album_id | u'67' |
/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.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 = {'mimetype': kwargs.pop('mimetype', 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.
Uses a RequestContext by default.
Variable | Value |
---|---|
httpresponse_kwargs | {'mimetype': None} |
args | ('album.html', {'album': <Gallery: Med Mooring>}) |
kwargs | {'context_instance': [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xe3de8f4c>}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': '60north.ru', 'HTTP_REFERER': 'http://www.60north.ru/albums/67/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/albums/67/', 'PATH_TRANSLATED': '/www/60N/wsgi.py/albums/67/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.159.116.24', 'REMOTE_PORT': '35260', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/albums/67/', 'SCRIPT_FILENAME': '/www/60N/wsgi.py', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'https://60north.ru/albums/67/', 'SCRIPT_URL': '/albums/67/', 'SERVER_ADDR': '194.117.250.46', 'SERVER_ADMIN': 'admin@60north.ru', 'SERVER_NAME': '60north.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.4.38 (Debian) Server at 60north.ru Port 443</address>\n', 'SERVER_SOFTWARE': 'Apache/2.4.38 (Debian)', 'SSL_TLS_SNI': '60north.ru', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': '60north.ru|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.daemon_connects': '1', 'mod_wsgi.daemon_restarts': '0', 'mod_wsgi.daemon_start': '1711703815714834', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/albums/67/', 'mod_wsgi.process_group': '60north.ru', 'mod_wsgi.queue_start': '1711703815714672', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'x3blGZE0c/c', 'mod_wsgi.request_start': '1711703815714503', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711703815714886', 'mod_wsgi.thread_id': 7, 'mod_wsgi.thread_requests': 1L, 'mod_wsgi.total_requests': 150L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xe3a15d18>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0xe3d66ac8>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'perms': <django.utils.functional.__proxy__ object at 0xe3dec82c>, 'messages': <django.utils.functional.__proxy__ object at 0xe3dec4ac>, 'user': <django.utils.functional.SimpleLazyObject object at 0xe3ac3cac>}]} |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in render_to_string
get_template, or it may be a tuple to use select_template to find one of
the templates in the list. Returns a string.
"""
dictionary = dictionary or {}
if isinstance(template_name, (list, tuple)):
t = select_template(template_name)
else:
t = get_template(template_name)...
if not context_instance:
return t.render(Context(dictionary))
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
context_instance.update(dictionary)
try:
Variable | Value |
---|---|
template_name | 'album.html' |
context_instance | [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xe3de8f4c>}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': '60north.ru', 'HTTP_REFERER': 'http://www.60north.ru/albums/67/', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/albums/67/', 'PATH_TRANSLATED': '/www/60N/wsgi.py/albums/67/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.159.116.24', 'REMOTE_PORT': '35260', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/albums/67/', 'SCRIPT_FILENAME': '/www/60N/wsgi.py', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'https://60north.ru/albums/67/', 'SCRIPT_URL': '/albums/67/', 'SERVER_ADDR': '194.117.250.46', 'SERVER_ADMIN': 'admin@60north.ru', 'SERVER_NAME': '60north.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.4.38 (Debian) Server at 60north.ru Port 443</address>\n', 'SERVER_SOFTWARE': 'Apache/2.4.38 (Debian)', 'SSL_TLS_SNI': '60north.ru', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': '60north.ru|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.daemon_connects': '1', 'mod_wsgi.daemon_restarts': '0', 'mod_wsgi.daemon_start': '1711703815714834', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/albums/67/', 'mod_wsgi.process_group': '60north.ru', 'mod_wsgi.queue_start': '1711703815714672', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'x3blGZE0c/c', 'mod_wsgi.request_start': '1711703815714503', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711703815714886', 'mod_wsgi.thread_id': 7, 'mod_wsgi.thread_requests': 1L, 'mod_wsgi.total_requests': 150L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xe3a15d18>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0xe3d66ac8>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'perms': <django.utils.functional.__proxy__ object at 0xe3dec82c>, 'messages': <django.utils.functional.__proxy__ object at 0xe3dec4ac>, 'user': <django.utils.functional.SimpleLazyObject object at 0xe3ac3cac>}] |
dictionary | {'album': <Gallery: Med Mooring>} |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in get_template
return template, origin
def get_template(template_name):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = find_template(template_name)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = get_template_from_string(template, origin, template_name)
return template
def get_template_from_string(source, origin=None, name=None):
Variable | Value |
---|---|
template_name | 'album.html' |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in find_template
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)...
def find_template_source(name, dirs=None):
# For backward compatibility
import warnings
warnings.warn(
"`django.template.loader.find_template_source` is deprecated; use `django.template.loader.find_template` instead.",
Variable | Value |
---|---|
dirs | None |
name | 'album.html' |
loader | <function load_template_source at 0xe3d8db54> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
HTTP_REFERER | 'http://www.60north.ru/albums/67/' |
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
SERVER_SOFTWARE | 'Apache/2.4.38 (Debian)' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.4.38 (Debian) Server at 60north.ru Port 443</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/albums/67/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
SSL_TLS_SNI | '60north.ru' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | '60north.ru' |
REMOTE_ADDR | '54.159.116.24' |
mod_wsgi.queue_start | '1711703815714672' |
mod_wsgi.request_handler | 'wsgi-script' |
apache.version | (2, 4, 38) |
mod_wsgi.version | (4, 6, 5) |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/www/60N/wsgi.py/albums/67/' |
SERVER_PORT | '443' |
mod_wsgi.total_requests | 150L |
wsgi.multiprocess | False |
SERVER_ADDR | '194.117.250.46' |
DOCUMENT_ROOT | '/var/www/html' |
mod_wsgi.process_group | '60north.ru' |
mod_wsgi.thread_requests | 1L |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.request_id | 'x3blGZE0c/c' |
SCRIPT_FILENAME | '/www/60N/wsgi.py' |
SERVER_ADMIN | 'admin@60north.ru' |
mod_wsgi.ignore_activity | '0' |
SCRIPT_URI | 'https://60north.ru/albums/67/' |
wsgi.input | <mod_wsgi.Input object at 0xe3d66ac8> |
HTTP_HOST | '60north.ru' |
SCRIPT_URL | '/albums/67/' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_restarts | '0' |
REQUEST_URI | '/albums/67/' |
HTTP_ACCEPT | '*/*' |
mod_wsgi.path_info | '/albums/67/' |
wsgi.file_wrapper | '' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
mod_wsgi.script_name | '' |
REMOTE_PORT | '35260' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'https' |
CONTEXT_PREFIX | '' |
wsgi.input_terminated | True |
mod_wsgi.script_start | '1711703815714886' |
mod_wsgi.application_group | '60north.ru|' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.thread_id | 7 |
mod_wsgi.request_start | '1711703815714503' |
wsgi.errors | <mod_wsgi.Log object at 0xe3a15d18> |
mod_wsgi.daemon_start | '1711703815714834' |
60N.settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
LANGUAGE_CODE | 'ru' |
ROOT_URLCONF | '60N.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
TEST_DATABASE_CHARSET | None |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.1 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMMENTS_MODERATORS_GROUP | None |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': '', 'OPTIONS': {'read_default_file': '/etc/60north.cnf'}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Moscow', 'USER': ''}} |
TEST_DATABASE_NAME | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source') |
TEMPLATE_DEBUG | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.flatpages', 'django.contrib.markup', 'photologue', 'tagging', 'news', 'exped', 'article', 'school', 'race', 'seminar'] |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
NEWS_ROOT | 'news' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/www/60N/templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/www/60N/photo/' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMMENTS_BANNED_USERS_GROUP | None |
STATICFILES_DIRS | () |
MEDIA_URL | '/photo/' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | '' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
TIME_ZONE | 'Europe/Moscow' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.request', 'django.contrib.auth.context_processors.auth') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | '60N.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | None |
EMAIL_PORT | 25 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
DATABASE_PASSWORD | '********************' |
ADMIN_FOR | () |
EXPEDITIONS_ROOT | 'exped' |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | '********************' |
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.