list index out of range
Request Method: | GET |
---|---|
Request URL: | https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/ |
Django Version: | 1.8.3 |
Exception Type: | IndexError |
Exception Value: | list index out of range |
Exception Location: | /home/xfenix/envs/nobby/local/lib/python2.7/site-packages/django/db/models/query.py in __getitem__, line 201 |
Python Executable: | /home/xfenix/envs/nobby/bin/uwsgi |
Python Version: | 2.7.6 |
Python Path: | ['.', '', '/home/xfenix/envs/nobby/lib/python2.7', '/home/xfenix/envs/nobby/lib/python2.7/plat-x86_64-linux-gnu', '/home/xfenix/envs/nobby/lib/python2.7/lib-tk', '/home/xfenix/envs/nobby/lib/python2.7/lib-old', '/home/xfenix/envs/nobby/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/xfenix/envs/nobby/local/lib/python2.7/site-packages', '/home/xfenix/envs/nobby/lib/python2.7/site-packages'] |
Server time: | Sat, 30 Mar 2024 05:05:48 +0300 |
/home/xfenix/envs/nobby/local/lib/python2.7/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 |
---|---|
e | IndexError('list index out of range',) |
callback_args | () |
resolver_match | ResolverMatch(func=content.views.ItemView, args=(), kwargs={'color': u'black', 'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod'}, url_name=item, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x2b11aa767c10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2b11a58a73d0> |
request | "<WSGIRequest\npath:/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'fV7rrc1mqO6LUxnBy6N2yd7dr1ywC2Pr',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'nobby.ru',\n 'HTTP_REFERER': 'https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.224.52.210',\n 'REMOTE_PORT': '50406',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'nobby.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'nobby',\n 'uwsgi.version': '2.0.17',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x2b11aa644ae0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x2b11ab1996a8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function ItemView at 0x2b11aa761f50> |
wrapped_callback | <function ItemView at 0x2b11aa761f50> |
resolver | <RegexURLResolver 'nobby.urls' (None:None) ^/> |
callback_kwargs | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black'} |
response | None |
urlconf | 'nobby.urls' |
/home/xfenix/envs/nobby/local/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <content.views.ItemView object at 0x2b11abb9c3d0> |
args | () |
request | "<WSGIRequest\npath:/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'fV7rrc1mqO6LUxnBy6N2yd7dr1ywC2Pr',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'nobby.ru',\n 'HTTP_REFERER': 'https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.224.52.210',\n 'REMOTE_PORT': '50406',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'nobby.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'nobby',\n 'uwsgi.version': '2.0.17',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x2b11aa644ae0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x2b11ab1996a8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black'} |
cls | <class 'content.views.ItemView'> |
/home/xfenix/envs/nobby/local/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': request
Variable | Value |
---|---|
self | <content.views.ItemView object at 0x2b11abb9c3d0> |
handler | <bound method ItemView.get of <content.views.ItemView object at 0x2b11abb9c3d0>> |
request | "<WSGIRequest\npath:/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'fV7rrc1mqO6LUxnBy6N2yd7dr1ywC2Pr',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'nobby.ru',\n 'HTTP_REFERER': 'https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.224.52.210',\n 'REMOTE_PORT': '50406',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'nobby.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'nobby',\n 'uwsgi.version': '2.0.17',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x2b11aa644ae0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x2b11ab1996a8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black'} |
/home/xfenix/envs/nobby/local/lib/python2.7/site-packages/django/views/generic/base.py
in get
class TemplateView(TemplateResponseMixin, ContextMixin, View):
"""
A view that renders a template. This view will also pass into the context
any keyword arguments passed by the url conf.
"""
def get(self, request, *args, **kwargs):
context = self.get_context_data(**kwargs)...
return self.render_to_response(context)
class RedirectView(View):
"""
A view that provides a redirect on any GET request.
Variable | Value |
---|---|
self | <content.views.ItemView object at 0x2b11abb9c3d0> |
args | () |
request | "<WSGIRequest\npath:/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'fV7rrc1mqO6LUxnBy6N2yd7dr1ywC2Pr',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'nobby.ru',\n 'HTTP_REFERER': 'https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.224.52.210',\n 'REMOTE_PORT': '50406',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'nobby.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'nobby',\n 'uwsgi.version': '2.0.17',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x2b11aa644ae0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x2b11ab1996a8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black'} |
./content/views.py
in get_context_data
class ItemView(TemplateView):
template_name = 'catalog/item.html'
def get_context_data(self, **kwargs):
context = super(ItemView, self).get_context_data(**kwargs)
item, variant, variants = Item.get_by_alias_and_color(self.kwargs['alias'], self.kwargs['color'])
context['category'] = Category.objects.filter(alias=self.kwargs['catalog'])[0]...
context['item'] = item
context['variant'] = variant
context['variants'] = variants
return context
Variable | Value |
---|---|
self | <content.views.ItemView object at 0x2b11abb9c3d0> |
variant | None |
item | <Item: Holder magnetic, for air vent, clip, black, 003-001> |
context | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black', u'view': <content.views.ItemView object at 0x2b11abb9c3d0>} |
kwargs | {'alias': u'derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001', 'catalog': u'iphone-ipod', 'color': u'black'} |
variants | [] |
/home/xfenix/envs/nobby/local/lib/python2.7/site-packages/django/db/models/query.py
in __getitem__
else:
stop = None
qs.query.set_limits(start, stop)
return list(qs)[::k.step] if k.step else qs
qs = self._clone()
qs.query.set_limits(k, k + 1)
return list(qs)[0]...
def __and__(self, other):
self._merge_sanity_check(other)
if isinstance(other, EmptyQuerySet):
return other
if isinstance(self, EmptyQuerySet):
Variable | Value |
---|---|
qs | [] |
k | 0 |
self | [] |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
HTTP_REFERER | 'https://nobby.ru/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'nobby.ru' |
REMOTE_ADDR | '54.224.52.210' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'nobby' |
DOCUMENT_ROOT | '/etc/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x2b11ab1996a8> |
HTTP_HOST | 'nobby.ru' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/en/iphone-ipod/derzhatel-magnitnyj-na-vozduhootvod-zazhim-chernyj-003-001-black/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x2b11aa644ae0> |
REMOTE_PORT | '50406' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.17' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'fV7rrc1mqO6LUxnBy6N2yd7dr1ywC2Pr' |
nobby.settings
Setting | Value |
---|---|
COMPRESS_URL | '/static/' |
COMPRESS_OUTPUT_DIR | 'cache' |
SECURE_SSL_REDIRECT | False |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
SECURE_BROWSER_XSS_FILTER | False |
IMAGEKIT_CACHEFILE_DIR | 'cache/' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'ru-RU' |
ROOT_URLCONF | 'nobby.urls' |
MANAGERS | () |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
BASE_DIR | '/var/www/nobby.ru' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
IGNORABLE_404_URLS | () |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/var/www/nobby.ru/nobby/collected_static' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
RECAPTCHA_PUBLIC_KEY | u'********************' |
CKEDITOR_UPLOAD_PATH | 'upload/' |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 3600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'nobby', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'postgres'}} |
EMAIL_SSL_KEYFILE | u'********************' |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
SUIT_CONFIG | {'ADMIN_NAME': u'\u041d\u043e\u0431\u0431\u0438', 'CONFIRM_UNSAVED_CHANGES': False, 'HEADER_DATE_FORMAT': 'l, j E Y', 'LIST_PER_PAGE': 30, 'MENU': ({'app': 'content', 'icon': 'icon-book', 'label': u'\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 Nobby'}, {'app': 'bb', 'icon': 'icon-book', 'label': u'\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 BB'}, {'app': 'auth', 'icon': 'icon-user', 'label': u'\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438'}, {'blank': True, 'icon': 'icon-trash clear-cache', 'label': u'\u041f\u043e\u043b\u043d\u0430\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u043a\u0435\u0448\u0430', 'url': '/admin/custom/clear_cache/'}), 'SHOW_REQUIRED_ASTERISK': True} |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
EMAIL_USE_SSL | False |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'compressor': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}}, 'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/3', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}}, 'sessions': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/2', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}, 'template_fragments': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/4', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}}} |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
DOMAIN_URL | 'http://nobby.ru/' |
IMAGEKIT_CACHE_BACKEND | 'django.core.cache.backends.dummy.DummyCache' |
SESSION_COOKIE_PATH | '/' |
COMPRESS_PARSER | 'compressor.parser.HtmlParser' |
COMPRESS_CACHE_BACKEND | 'compressor' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'hmin.middleware.MinMiddleware', 'hmin.middleware.MarkMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | (('django.template.loaders.cached.Loader', ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')),) |
WSGI_APPLICATION | 'nobby.wsgi.application' |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_VERBOSE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
COMPRESS_JS_FILTERS | ('compressor.filters.jsmin.SlimItFilter',) |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('suit', 'super_inlines', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'any_imagefield', 'modeltranslation', 'compressor', 'imagekit', 'ckeditor', 'mptt', 'columns', 'kronos', 'base', 'content', 'bb', 'captcha') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
USE_L10N | True |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/var/www/nobby.ru/nobby/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MEDIA_URL | '/media/' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
AUTH_USER_MODEL | 'auth.User' |
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') |
COMPRESS_CSS_FILTERS | ('compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
LOGS_DIR | '/var/www/nobby.ru/logsock' |
SESSION_ENGINE | 'django.contrib.sessions.backends.signed_cookies' |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_MTIME_DELAY | 10 |
LOCALE_PATHS | ('/var/www/nobby.ru/nobby/locale',) |
SITE | 1 |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | () |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
CORE_PATH | '/var/www/nobby.ru/nobby' |
MEDIA_ROOT | '/var/www/nobby.ru/nobby/media' |
LANGUAGE_COOKIE_PATH | '/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | ((u'\u0414\u0435\u043d', 'ad@xfenix.ru'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMPRESS_ROOT | '/var/www/nobby.ru/nobby/collected_static' |
HTML_MINIFY | True |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
CKEDITOR_CONFIGS | {'another': {'autoGrow_maxHeight': 650, 'autoGrow_minHeight': 50, 'autoGrow_onStartup': True, 'extraAllowedContent': 'ul ol li', 'extraPlugins': 'autogrow', 'forcePasteAsPlainText': True, 'format_s': {'element': 's', 'name': '\xd0\x97\xd0\xb0\xd1\x87\xd1\x91\xd1\x80\xd0\xba\xd0\xbd\xd1\x83\xd1\x82\xd1\x8b\xd0\xb9'}, 'format_tags': 'h3;s;u', 'format_u': {'element': 'u', 'name': '\xd0\x9f\xd0\xbe\xd0\xb4\xd1\x87\xd1\x91\xd1\x80\xd0\xba\xd0\xbd\xd1\x83\xd1\x82\xd1\x8b\xd0\xb9'}, 'toolbar': [['Blockquote', 'Bold', 'Italic', '-', 'Link', 'Unlink', 'RemoveFormat', 'Image', 'Format'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Find', 'ShowBlocks', 'Maximize', 'Preview', 'Print', 'Source']], 'width': 'auto'}, 'default': {'height': 100, 'toolbar': 'Basic'}} |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
USE_THOUSAND_SEPARATOR | False |
COMPRESS_MINT_DELAY | 30 |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/var/www/nobby.ru/logsock/django.log'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler'}}, 'loggers': {'django.request': {'handlers': ['file'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/nobby.ru/nobby/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.i18n', 'base.context.process']}}] |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
COMPRESS_ENABLED | True |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_OFFLINE | False |
TIME_ZONE | 'Europe/Moscow' |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
CACHE_TEMPLATE_TIME | 7200 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x2b11aa15e500> |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'nobby.settings' |
USE_ETAGS | True |
LANGUAGES | (('ru', <django.utils.functional.__proxy__ object at 0x2b11a58a7110>), ('en', <django.utils.functional.__proxy__ object at 0x2b11a58a7150>)) |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
ABSOLUTE_URL_OVERRIDES | {} |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
BASE_APP_NAME | 'nobby' |
CSRF_COOKIE_HTTPONLY | False |
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') |
EMAIL_HOST_USER | '' |
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 page generated by the handler for this status code.