Redis is loading the dataset in memory
Request Method: | GET |
---|---|
Request URL: | http://money.chedot.com/hk/money/ |
Django Version: | 1.11.3 |
Exception Type: | BusyLoadingError |
Exception Value: | Redis is loading the dataset in memory |
Exception Location: | /home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/connection.py in read_response, line 255 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.9 |
Python Path: | ['/home/webmaster/', '/home/webmaster/chedot_money/chedot_money/', '/home/webmaster/chedot_money/env/lib/python2.7/site-packages', '/home/webmaster/chedot_money/env/', '/home/webmaster/chedot_money/deploy/', '.', '', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-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', '/usr/lib/pymodules/python2.7'] |
Server time: | Thu, 28 Mar 2024 11:39:44 +0300 |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | BusyLoadingError('Redis is loading the dataset in memory',) |
get_response | <main.middleware.CountryLanguage object at 0x7fb38c03de90> |
request | <WSGIRequest: GET '/hk/money/'> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/django/utils/deprecation.py
in __call__
def __init__(self, get_response=None):
self.get_response = get_response
super(MiddlewareMixin, self).__init__()
def __call__(self, request):
response = None
if hasattr(self, 'process_request'):
response = self.process_request(request)...
if not response:
response = self.get_response(request)
if hasattr(self, 'process_response'):
response = self.process_response(request, response)
return response
Variable | Value |
---|---|
request | <WSGIRequest: GET '/hk/money/'> |
response | None |
self | <main.middleware.CountryLanguage object at 0x7fb38c03de90> |
/home/webmaster/chedot_money/chedot_money/main/middleware.py
in process_request
# пробуем получить страну из урла
url = request.get_full_path()
m = self._country_code_regex.match(url)
if m is not None:
country_code = m.group('country_code')
# пробуем получить страну
country = self._get_country(country_code)...
# может быть она есть в сессии
if country is None:
# проверяем сессию
country_id = request.session.get(views.COUNTRY_SESSION_KEY)
if country_id is not None:
Variable | Value |
---|---|
country | None |
country_code | u'hk' |
m | <_sre.SRE_Match object at 0x7fb37cfb1eb8> |
request | <WSGIRequest: GET '/hk/money/'> |
self | <main.middleware.CountryLanguage object at 0x7fb38c03de90> |
url | u'/hk/money/' |
/home/webmaster/chedot_money/chedot_money/main/middleware.py
in _get_country
request.session[translation.LANGUAGE_SESSION_KEY] = lang
return None
def _get_country(self, country_id_or_code):
if country_id_or_code is None:
return None
return Country.objects.get_from_cache(country_id_or_code)...
Variable | Value |
---|---|
country_id_or_code | u'hk' |
self | <main.middleware.CountryLanguage object at 0x7fb38c03de90> |
/home/webmaster/chedot_money/chedot_money/geo/models.py
in get_from_cache
COUNTRIES_CACHE_KEY = 'geo-countries'
IP_SUBST_CACHE_KEY = 'geo-ip-subs'
class CountryManager(models.Manager):
def get_from_cache(self, id_or_code):
countries_cache = cache.get(COUNTRIES_CACHE_KEY)...
if countries_cache is None:
qs = self.all()
countries_cache = {c.id: c for c in qs}
countries_cache.update({c.code.lower(): c for c in qs})
cache.set(COUNTRIES_CACHE_KEY, countries_cache, 24*60*60)
if isinstance(id_or_code, (str, unicode)):
Variable | Value |
---|---|
id_or_code | u'hk' |
self | <geo.models.CountryManager object at 0x7fb3868bcf90> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis_cache/backends/base.py
in wrapped
def wrapper(method):
@wraps(method)
def wrapped(self, key, *args, **kwargs):
version = kwargs.pop('version', None)
client = self.get_client(key, write=write)
key = self.make_key(key, version=version)
return method(self, client, key, *args, **kwargs)...
return wrapped
return wrapper
Variable | Value |
---|---|
args | () |
client | Redis<ConnectionPool<Connection<host=localhost,port=6379,db=10>>> |
key | :1:geo-countries |
kwargs | {} |
method | <function get at 0x7fb384a43050> |
self | <redis_cache.backends.single.RedisCache object at 0x7fb37f4c5150> |
version | None |
write | False |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis_cache/backends/base.py
in get
@get_client()
def get(self, client, key, default=None):
"""Retrieve a value from the cache.
Returns deserialized value if key is found, the default if not.
"""
value = client.get(key)...
if value is None:
return default
value = self.get_value(value)
return value
def _set(self, client, key, value, timeout, _add_only=False):
Variable | Value |
---|---|
client | Redis<ConnectionPool<Connection<host=localhost,port=6379,db=10>>> |
default | None |
key | :1:geo-countries |
self | <redis_cache.backends.single.RedisCache object at 0x7fb37f4c5150> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/client.py
in get
when = int(mod_time.mktime(when.timetuple()))
return self.execute_command('EXPIREAT', name, when)
def get(self, name):
"""
Return the value at key ``name``, or None if the key doesn't exist
"""
return self.execute_command('GET', name)...
def __getitem__(self, name):
"""
Return the value at key ``name``, raises a KeyError if the key
doesn't exist.
"""
Variable | Value |
---|---|
name | :1:geo-countries |
self | Redis<ConnectionPool<Connection<host=localhost,port=6379,db=10>>> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/client.py
in execute_command
connection.send_command(*args)
return self.parse_response(connection, command_name, **options)
except (ConnectionError, TimeoutError) as e:
connection.disconnect()
if not connection.retry_on_timeout and isinstance(e, TimeoutError):
raise
connection.send_command(*args)
return self.parse_response(connection, command_name, **options)...
finally:
pool.release(connection)
def parse_response(self, connection, command_name, **options):
"Parses a response from the Redis server"
response = connection.read_response()
Variable | Value |
---|---|
args | ('GET', :1:geo-countries) |
command_name | 'GET' |
connection | Connection<host=localhost,port=6379,db=10> |
e | BusyLoadingError('Redis is loading the dataset in memory',) |
options | {} |
pool | ConnectionPool<Connection<host=localhost,port=6379,db=10>> |
self | Redis<ConnectionPool<Connection<host=localhost,port=6379,db=10>>> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/client.py
in parse_response
connection.send_command(*args)
return self.parse_response(connection, command_name, **options)
finally:
pool.release(connection)
def parse_response(self, connection, command_name, **options):
"Parses a response from the Redis server"
response = connection.read_response()...
if command_name in self.response_callbacks:
return self.response_callbacks[command_name](response, **options)
return response
# SERVER INFORMATION
def bgrewriteaof(self):
Variable | Value |
---|---|
command_name | 'GET' |
connection | Connection<host=localhost,port=6379,db=10> |
options | {} |
self | Redis<ConnectionPool<Connection<host=localhost,port=6379,db=10>>> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/connection.py
in read_response
sock = self._sock
return self._parser.can_read() or \
bool(select([sock], [], [], timeout)[0])
def read_response(self):
"Read the response from a previously sent command"
try:
response = self._parser.read_response()...
except:
self.disconnect()
raise
if isinstance(response, ResponseError):
raise response
return response
Variable | Value |
---|---|
self | Connection<host=localhost,port=6379,db=10> |
/home/webmaster/chedot_money/env/lib/python2.7/site-packages/redis/connection.py
in read_response
# server returned an error
if byte == '-':
response = nativestr(response)
error = self.parse_error(response)
# if the error is a ConnectionError, raise immediately so the user
# is notified
if isinstance(error, ConnectionError):
raise error...
# otherwise, we're dealing with a ResponseError that might belong
# inside a pipeline response. the connection's read_response()
# and/or the pipeline's execute() will raise this error if
# necessary, so just return the exception instance here.
return error
# single value
Variable | Value |
---|---|
byte | '-' |
error | BusyLoadingError('Redis is loading the dataset in memory',) |
response | 'LOADING Redis is loading the dataset in memory' |
self | <redis.connection.PythonParser object at 0x7fb37f515b50> |
[unable to retrieve the current user]
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/home/webmaster/chedot_money/chedot_money/files' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'money.chedot.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.210.126.232' |
HTTP_X_REAL_IP | '54.210.126.232' |
PATH_INFO | u'/hk/money/' |
QUERY_STRING | '' |
REMOTE_ADDR | '136.243.177.171' |
REMOTE_PORT | '36061' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/hk/money/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'money.chedot.com' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
uwsgi.core | 3 |
uwsgi.node | 'service.chedot.com' |
uwsgi.version | '2.0.7-debian' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7fb38c05a810> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7fb37d2e5468> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
chedot_money.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Aleksey', 'w_b@kivano.ru'),) |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/home/webmaster/chedot_money/chedot_money' |
CACHES | {'default': {'BACKEND': 'redis_cache.RedisCache', 'LOCATION': 'localhost:6379', 'OPTIONS': {'DB': 10}, 'TIMEOUT': 86400}, 'rosetta': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/tmp'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CACHE_ON | True |
CKEDITOR_CONFIGS | {'default': {'height': 300, 'toolbar': 'Standart', 'width': 800}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_UPLOAD_PATH | 'texteditor/' |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | u'default' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | ['compressor.filters.cssmin.CSSMinFilter'] |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | True |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x7fb38689fed8> |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/money/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | '' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/webmaster/chedot_money/chedot_money/files/static' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/money/static/'} |
COMPRESS_URL | '/money/static/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftokenmoney' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'chedot_money', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'chedot_money'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_ON | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_FROM | 'prod-money <bugs1@chedot.com>' |
EMAIL_HOST | 'smtp.yandex.ru' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'bugs1@chedot.com' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
GEOIP_CACHE_MODE | 1 |
GEOIP_PATH | '/home/webmaster/chedot_money/chedot_money/geoip' |
GEOIP_WEATHER_TUNE_PROBABILITY | 0 |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['modeltranslation', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'sorl.thumbnail', 'main', 'geo', 'money', 'api', 'parse', 'html_mailer', 'compressor', 'rosetta', 'ckeditor'] |
INTERNAL_IPS | [] |
LANDING_HOST | 'http://landing.chedot.com/' |
LANDING_LANGUAGES | ['en', 'ar', 'bn', 'de', 'en', 'es', 'fa', 'fr', 'hi', 'id', 'it', 'ja', 'ko', 'ms', 'pa', 'ph', 'pt', 'ru', 'sw', 'th', 'tr', 'ur', 'zh'] |
LANGUAGES | (('en', u'English'), ('ar', u'Arabian'), ('ru', u'Russian')) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-gb' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | ['/home/webmaster/chedot_money/chedot_money/main/locale', '/home/webmaster/chedot_money/chedot_money/money/locale'] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_DOMAIN | 'media-s.chedot.com' |
MEDIA_ROOT | '/home/webmaster/chedot_money/chedot_money/files/media' |
MEDIA_URL | '/money/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'main.middleware.CountryLanguage', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'en' |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
RAVEN_CONFIG | {'dsn': 'http://45988b7fef4141b886f9eec273f0eda4:e2eade34d34b48c489a942922317a7a5@chedot.lootdb.ru:9000/5', 'name': 'money_prod'} |
ROOT_URLCONF | 'chedot_money.urls' |
SECRET_KEY | u'********************' |
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 |
SERVER_EMAIL | 'prod-money <bugs1@chedot.com>' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'chedot_money.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SHOW_COUNTRY_SWITCHER | True |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/webmaster/chedot_money/chedot_money/files/static' |
STATIC_URL | '/money/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/webmaster/chedot_money/chedot_money/../../../templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'main.context_processors.default']}}] |
TEMPLATE_DEBUG | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
THUMBNAIL_DEBUG | True |
THUMBNAIL_DUMMY | True |
THUMBNAIL_QUALITY | 90 |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Europe/Moscow' |
USE_CELERY | True |
USE_ETAGS | False |
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 | 'chedot_money.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
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.