'SQLCompiler' object is not callable
Request Method: | GET |
---|---|
Request URL: | https://concept.kg/news/tag/hr/ |
Django Version: | 1.11.2 |
Exception Type: | TypeError |
Exception Value: | 'SQLCompiler' object is not callable |
Exception Location: | /home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/taggit/managers.py in as_sql, line 88 |
Python Executable: | /home/concept/.virtualenvs/concept/bin/uwsgi |
Python Version: | 2.7.6 |
Python Path: | ['/home/concept/.virtualenvs/concept/concept.kg/apps', '.', '', '/home/concept/.virtualenvs/concept/lib/python2.7', '/home/concept/.virtualenvs/concept/lib/python2.7/plat-x86_64-linux-gnu', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-tk', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-old', '/home/concept/.virtualenvs/concept/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/concept/.virtualenvs/concept/local/lib/python2.7/site-packages'] |
Server time: | Чт, 28 Мар 2024 16:34:55 +0600 |
/home/concept/.virtualenvs/concept/local/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 | TypeError("'SQLCompiler' object is not callable",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0>> |
request | <WSGIRequest: GET '/news/tag/hr/'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method SecurityMiddleware.process_request of <django.middleware.security.SecurityMiddleware object at 0x7f010f9dc610>> |
request | <WSGIRequest: GET '/news/tag/hr/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_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:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function news_by_tag at 0x7f010dfcd500> |
callback_args | () |
callback_kwargs | {'slug': u'hr'} |
e | TypeError("'SQLCompiler' object is not callable",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/news/tag/hr/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=news.views.news_by_tag, args=(), kwargs={'slug': u'hr'}, url_name=by_tag, app_names=[], namespaces=['news']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function news_by_tag at 0x7f010dfcd500> |
/home/concept/.virtualenvs/concept/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:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function news_by_tag at 0x7f010dfcd500> |
callback_args | () |
callback_kwargs | {'slug': u'hr'} |
e | TypeError("'SQLCompiler' object is not callable",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/news/tag/hr/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=news.views.news_by_tag, args=(), kwargs={'slug': u'hr'}, url_name=by_tag, app_names=[], namespaces=['news']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function news_by_tag at 0x7f010dfcd500> |
/home/concept/.virtualenvs/concept/concept.kg/apps/news/views.py
in news_by_tag
"""
news = News.objects.published().filter(tags__slug=slug)
paginator = Paginator(news, 3)
page = request.GET.get('page')
try:
news = paginator.page(page)
except PageNotAnInteger:
news = paginator.page(1)...
except EmptyPage:
news = paginator.page(paginator.num_pages)
last_3_news = news[:3]
context = {"news": news, "last_3_news": last_3_news}
return render(request, 'news/news_list.html', context)
Variable | Value |
---|---|
news | Error in formatting: TypeError: 'SQLCompiler' object is not callable |
page | None |
paginator | <django.core.paginator.Paginator object at 0x7f0107115490> |
request | <WSGIRequest: GET '/news/tag/hr/'> |
slug | u'hr' |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/paginator.py
in page
raise EmptyPage(_('That page contains no results'))
return number
def page(self, number):
"""
Returns a Page object for the given 1-based page number.
"""
number = self.validate_number(number)...
bottom = (number - 1) * self.per_page
top = bottom + self.per_page
if top + self.orphans >= self.count:
top = self.count
return self._get_page(self.object_list[bottom:top], number, self)
Variable | Value |
---|---|
number | 1 |
self | <django.core.paginator.Paginator object at 0x7f0107115490> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/paginator.py
in validate_number
"""
try:
number = int(number)
except (TypeError, ValueError):
raise PageNotAnInteger(_('That page number is not an integer'))
if number < 1:
raise EmptyPage(_('That page number is less than 1'))
if number > self.num_pages:...
if number == 1 and self.allow_empty_first_page:
pass
else:
raise EmptyPage(_('That page contains no results'))
return number
Variable | Value |
---|---|
number | 1 |
self | <django.core.paginator.Paginator object at 0x7f0107115490> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/utils/functional.py
in __get__
self.func = func
self.__doc__ = getattr(func, '__doc__')
self.name = name or func.__name__
def __get__(self, instance, cls=None):
if instance is None:
return self
res = instance.__dict__[self.name] = self.func(instance)...
return res
class Promise(object):
"""
This is just a base class for the proxy class created in
Variable | Value |
---|---|
cls | <class 'django.core.paginator.Paginator'> |
instance | <django.core.paginator.Paginator object at 0x7f0107115490> |
self | <django.utils.functional.cached_property object at 0x7f0112963210> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/paginator.py
in num_pages
return len(self.object_list)
@cached_property
def num_pages(self):
"""
Returns the total number of pages.
"""
if self.count == 0 and not self.allow_empty_first_page:...
return 0
hits = max(1, self.count - self.orphans)
return int(ceil(hits / float(self.per_page)))
@property
def page_range(self):
Variable | Value |
---|---|
self | <django.core.paginator.Paginator object at 0x7f0107115490> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/utils/functional.py
in __get__
self.func = func
self.__doc__ = getattr(func, '__doc__')
self.name = name or func.__name__
def __get__(self, instance, cls=None):
if instance is None:
return self
res = instance.__dict__[self.name] = self.func(instance)...
return res
class Promise(object):
"""
This is just a base class for the proxy class created in
Variable | Value |
---|---|
cls | <class 'django.core.paginator.Paginator'> |
instance | <django.core.paginator.Paginator object at 0x7f0107115490> |
self | <django.utils.functional.cached_property object at 0x7f01129631d0> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/paginator.py
in count
"""
try:
return self.object_list.count()
except (AttributeError, TypeError):
# AttributeError if object_list has no count() method.
# TypeError if object_list.count() requires arguments
# (i.e. is of type list).
return len(self.object_list)...
@cached_property
def num_pages(self):
"""
Returns the total number of pages.
"""
Variable | Value |
---|---|
self | <django.core.paginator.Paginator object at 0x7f0107115490> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/query.py
in __len__
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "...(remaining elements truncated)..."
return '<%s %r>' % (self.__class__.__name__, data)
def __len__(self):
self._fetch_all()...
return len(self._result_cache)
def __iter__(self):
"""
The queryset iterator protocol uses three nested iterators in the
default case:
Variable | Value |
---|---|
self | Error in formatting: TypeError: 'SQLCompiler' object is not callable |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/query.py
in _fetch_all
clone._fields = self._fields
clone.__dict__.update(kwargs)
return clone
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self._iterable_class(self))...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: TypeError: 'SQLCompiler' object is not callable |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/query.py
in __iter__
def __iter__(self):
queryset = self.queryset
db = queryset.db
compiler = queryset.query.get_compiler(using=db)
# Execute the query. This will also fill compiler.select, klass_info,
# and annotations.
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)...
select, klass_info, annotation_col_map = (compiler.select, compiler.klass_info,
compiler.annotation_col_map)
model_cls = klass_info['model']
select_fields = klass_info['select_fields']
model_fields_start, model_fields_end = select_fields[0], select_fields[-1] + 1
init_list = [f[0].target.attname
Variable | Value |
---|---|
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
db | 'default' |
queryset | Error in formatting: TypeError: 'SQLCompiler' object is not callable |
self | <django.db.models.query.ModelIterable object at 0x7f0107115d90> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
subclasses such as InsertQuery). It's possible, however, that no query
is needed, as the filters describe an empty set. In that case, None is
returned, to avoid any unnecessary database interaction.
"""
if not result_type:
result_type = NO_RESULTS
try:
sql, params = self.as_sql()...
if not sql:
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
Variable | Value |
---|---|
chunked_fetch | False |
result_type | 'multi' |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in as_sql
refcounts_before = self.query.alias_refcount.copy()
try:
extra_select, order_by, group_by = self.pre_sql_setup()
distinct_fields = self.get_distinct()
# This must come after 'select', 'ordering', and 'distinct' -- see
# docstring of get_from_clause() for details.
from_, f_params = self.get_from_clause()...
for_update_part = None
where, w_params = self.compile(self.where) if self.where is not None else ("", [])
having, h_params = self.compile(self.having) if self.having is not None else ("", [])
combinator = self.query.combinator
Variable | Value |
---|---|
distinct_fields | [] |
extra_select | [] |
group_by | [] |
order_by | [(OrderBy(Col(news_news, news.News.date), descending=True), (u'`news_news`.`date` DESC', [], False))] |
refcounts_before | {u'news_news': 3, u'taggit_tag': 1, u'taggit_taggeditem': 1} |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
with_col_aliases | False |
with_limits | True |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in get_from_clause
continue
try:
from_clause = self.query.alias_map[alias]
except KeyError:
# Extra tables can end up in self.tables, but not in the
# alias_map if they aren't in a join. That's OK. We skip them.
continue
clause_sql, clause_params = self.compile(from_clause)...
result.append(clause_sql)
params.extend(clause_params)
for t in self.query.extra_tables:
alias, _ = self.query.table_alias(t)
# Only add the alias if it's not already present (the table_alias()
# call increments the refcount, so an alias refcount of one means
Variable | Value |
---|---|
alias | u'taggit_taggeditem' |
clause_params | [] |
clause_sql | u'`news_news`' |
from_clause | <django.db.models.sql.datastructures.Join object at 0x7f0106352c90> |
params | [] |
result | [u'`news_news`'] |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in compile
return r
def compile(self, node, select_format=False):
vendor_impl = getattr(node, 'as_' + self.connection.vendor, None)
if vendor_impl:
sql, params = vendor_impl(self, self.connection)
else:
sql, params = node.as_sql(self, self.connection)...
if select_format is FORCE or (select_format and not self.query.subquery):
return node.output_field.select_format(self, sql, params)
return sql, params
def get_combinator_sql(self, combinator, all):
features = self.connection.features
Variable | Value |
---|---|
node | <django.db.models.sql.datastructures.Join object at 0x7f0106352c90> |
select_format | False |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
vendor_impl | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/datastructures.py
in as_sql
))
# Add a single condition inside parentheses for whatever
# get_extra_restriction() returns.
extra_cond = self.join_field.get_extra_restriction(
compiler.query.where_class, self.table_alias, self.parent_alias)
if extra_cond:
extra_sql, extra_params = compiler.compile(extra_cond)...
join_conditions.append('(%s)' % extra_sql)
params.extend(extra_params)
if not join_conditions:
# This might be a rel on the other end of an actual declared field.
declared_field = getattr(self.join_field, 'field', self.join_field)
Variable | Value |
---|---|
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
connection | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0110532a50> |
extra_cond | <taggit.managers.ExtraJoinRestriction object at 0x7f0106773510> |
index | 0 |
join_conditions | [u'`news_news`.`id` = `taggit_taggeditem`.`object_id`'] |
lhs_col | u'id' |
params | [] |
qn | <bound method SQLCompiler.quote_name_unless_alias of <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450>> |
qn2 | <bound method DatabaseOperations.quote_name of <django.db.backends.mysql.operations.DatabaseOperations object at 0x7f0110532b90>> |
rhs_col | u'object_id' |
self | <django.db.models.sql.datastructures.Join object at 0x7f0106352c90> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in compile
return r
def compile(self, node, select_format=False):
vendor_impl = getattr(node, 'as_' + self.connection.vendor, None)
if vendor_impl:
sql, params = vendor_impl(self, self.connection)
else:
sql, params = node.as_sql(self, self.connection)...
if select_format is FORCE or (select_format and not self.query.subquery):
return node.output_field.select_format(self, sql, params)
return sql, params
def get_combinator_sql(self, combinator, all):
features = self.connection.features
Variable | Value |
---|---|
node | <taggit.managers.ExtraJoinRestriction object at 0x7f0106773510> |
select_format | False |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
vendor_impl | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/taggit/managers.py
in as_sql
def __init__(self, alias, col, content_types):
self.alias = alias
self.col = col
self.content_types = content_types
def as_sql(self, qn, connection):
if len(self.content_types) == 1:
extra_where = "%s.%s = %%s" % (qn(self.alias), qn(self.col))...
else:
extra_where = "%s.%s IN (%s)" % (qn(self.alias), qn(self.col),
','.join(['%s'] * len(self.content_types)))
return extra_where, self.content_types
def relabel_aliases(self, change_map):
Variable | Value |
---|---|
connection | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0110532a50> |
qn | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f0106773450> |
self | <taggit.managers.ExtraJoinRestriction object at 0x7f0106773510> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'concept.kg' |
HTTP_REFERER | 'https://concept.kg/ru/news/tag/hr/' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/news/tag/hr/' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.235.227.36' |
REMOTE_PORT | '37040' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/news/tag/hr/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'concept.kg' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_SCHEME | 'https' |
uwsgi.node | 'concept.kg' |
uwsgi.version | '2.0.10' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f010fb75f60> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f01067c8ea0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
project.settings.settings_local
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_AUTHENTICATION_METHOD | 'email' |
ACCOUNT_USER_MODEL_USERNAME_FIELD | None |
ADMINS | [] |
ALLOWED_HOSTS | ['.concept.kg'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'profiles.KCUser' |
BASE_DIR | '/home/concept/.virtualenvs/concept/concept.kg/project' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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 | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
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 0x7f010ff49848> |
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': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/assets' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_URL | '/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'' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSE_ID | '010469371847685056235:cltontutc_a' |
CSE_KEY | u'********************' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
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.mysql', 'HOST': 'localhost', 'NAME': 'concept', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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 |
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'' |
DEMIR_BANK_CLIENT_ID | '170000005' |
DEMIR_BANK_CLIENT_MODEL_NAME | 'Client' |
DEMIR_BANK_CLIENT_MODEL_PATH | 'client.models' |
DEMIR_BANK_CLIENT_MODEL_SEARCH_FIELD | 'phone_number' |
DEMIR_BANK_CLIENT_MODEL_UPDATE_BALANCE_METHOD_NAME | 'update_balance_demirbank' |
DEMIR_BANK_CURRENCY_CODE | 417 |
DEMIR_BANK_FAIL_URL | 'http://concept.kg/ru/payment/pay_fail/' |
DEMIR_BANK_INSTALMENT | '' |
DEMIR_BANK_LANG | 'ru' |
DEMIR_BANK_OK_URL | 'http://concept.kg/ru/payment/pay_success/' |
DEMIR_BANK_PAY_ACTION_URL | 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate' |
DEMIR_BANK_STORE_KEY | u'********************' |
DEMIR_BANK_STORE_TYPE | '3d_Pay_Hosting' |
DEMIR_BANK_TRANSACTION_TYPE | 'Auth' |
DEV | False |
DISALLOWED_USER_AGENTS | [] |
DJANGO_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites') |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'kcsite@concept.kg' |
EMAIL_PORT | 465 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | True |
EMAIL_USE_TLS | False |
EXTRA_LANG_INFO | {'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u043a\u0438\u0439'}} |
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' |
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.sitemaps', 'django.contrib.sites', 'apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management', 'redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
INTERNAL_IPS | [] |
LANGUAGES | (('ru', 'Russian'), ('en', 'English'), ('kg', 'Kyrgyz')) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'ru' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LANG_INFO | {u'af': {u'bidi': False, u'code': u'af', u'name': u'Afrikaans', u'name_local': u'Afrikaans'}, u'ar': {u'bidi': True, u'code': u'ar', u'name': u'Arabic', u'name_local': u'\u0627\u0644\u0639\u0631\u0628\u064a\u0651\u0629'}, u'ast': {u'bidi': False, u'code': u'ast', u'name': u'Asturian', u'name_local': u'asturianu'}, u'az': {u'bidi': True, u'code': u'az', u'name': u'Azerbaijani', u'name_local': u'Az\u0259rbaycanca'}, u'be': {u'bidi': False, u'code': u'be', u'name': u'Belarusian', u'name_local': u'\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f'}, u'bg': {u'bidi': False, u'code': u'bg', u'name': u'Bulgarian', u'name_local': u'\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438'}, u'bn': {u'bidi': False, u'code': u'bn', u'name': u'Bengali', u'name_local': u'\u09ac\u09be\u0982\u09b2\u09be'}, u'br': {u'bidi': False, u'code': u'br', u'name': u'Breton', u'name_local': u'brezhoneg'}, u'bs': {u'bidi': False, u'code': u'bs', u'name': u'Bosnian', u'name_local': u'bosanski'}, u'ca': {u'bidi': False, u'code': u'ca', u'name': u'Catalan', u'name_local': u'catal\xe0'}, u'cs': {u'bidi': False, u'code': u'cs', u'name': u'Czech', u'name_local': u'\u010desky'}, u'cy': {u'bidi': False, u'code': u'cy', u'name': u'Welsh', u'name_local': u'Cymraeg'}, u'da': {u'bidi': False, u'code': u'da', u'name': u'Danish', u'name_local': u'dansk'}, u'de': {u'bidi': False, u'code': u'de', u'name': u'German', u'name_local': u'Deutsch'}, u'dsb': {u'bidi': False, u'code': u'dsb', u'name': u'Lower Sorbian', u'name_local': u'dolnoserbski'}, u'el': {u'bidi': False, u'code': u'el', u'name': u'Greek', u'name_local': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'}, u'en': {u'bidi': False, u'code': u'en', u'name': u'English', u'name_local': u'English', u'name_translated': u'\u0410\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439'}, u'en-au': {u'bidi': False, u'code': u'en-au', u'name': u'Australian English', u'name_local': u'Australian English'}, u'en-gb': {u'bidi': False, u'code': u'en-gb', u'name': u'British English', u'name_local': u'British English'}, u'eo': {u'bidi': False, u'code': u'eo', u'name': u'Esperanto', u'name_local': u'Esperanto'}, u'es': {u'bidi': False, u'code': u'es', u'name': u'Spanish', u'name_local': u'espa\xf1ol'}, u'es-ar': {u'bidi': False, u'code': u'es-ar', u'name': u'Argentinian Spanish', u'name_local': u'espa\xf1ol de Argentina'}, u'es-co': {u'bidi': False, u'code': u'es-co', u'name': u'Colombian Spanish', u'name_local': u'espa\xf1ol de Colombia'}, u'es-mx': {u'bidi': False, u'code': u'es-mx', u'name': u'Mexican Spanish', u'name_local': u'espa\xf1ol de Mexico'}, u'es-ni': {u'bidi': False, u'code': u'es-ni', u'name': u'Nicaraguan Spanish', u'name_local': u'espa\xf1ol de Nicaragua'}, u'es-ve': {u'bidi': False, u'code': u'es-ve', u'name': u'Venezuelan Spanish', u'name_local': u'espa\xf1ol de Venezuela'}, u'et': {u'bidi': False, u'code': u'et', u'name': u'Estonian', u'name_local': u'eesti'}, u'eu': {u'bidi': False, u'code': u'eu', u'name': u'Basque', u'name_local': u'Basque'}, u'fa': {u'bidi': True, u'code': u'fa', u'name': u'Persian', u'name_local': u'\u0641\u0627\u0631\u0633\u06cc'}, u'fi': {u'bidi': False, u'code': u'fi', u'name': u'Finnish', u'name_local': u'suomi'}, u'fr': {u'bidi': False, u'code': u'fr', u'name': u'French', u'name_local': u'fran\xe7ais'}, u'fy': {u'bidi': False, u'code': u'fy', u'name': u'Frisian', u'name_local': u'frysk'}, u'ga': {u'bidi': False, u'code': u'ga', u'name': u'Irish', u'name_local': u'Gaeilge'}, u'gd': {u'bidi': False, u'code': u'gd', u'name': u'Scottish Gaelic', u'name_local': u'G\xe0idhlig'}, u'gl': {u'bidi': False, u'code': u'gl', u'name': u'Galician', u'name_local': u'galego'}, u'he': {u'bidi': True, u'code': u'he', u'name': u'Hebrew', u'name_local': u'\u05e2\u05d1\u05e8\u05d9\u05ea'}, u'hi': {u'bidi': False, u'code': u'hi', u'name': u'Hindi', u'name_local': u'Hindi'}, u'hr': {u'bidi': False, u'code': u'hr', u'name': u'Croatian', u'name_local': u'Hrvatski'}, u'hsb': {u'bidi': False, u'code': u'hsb', u'name': u'Upper Sorbian', u'name_local': u'hornjoserbsce'}, u'hu': {u'bidi': False, u'code': u'hu', u'name': u'Hungarian', u'name_local': u'Magyar'}, u'ia': {u'bidi': False, u'code': u'ia', u'name': u'Interlingua', u'name_local': u'Interlingua'}, u'id': {u'bidi': False, u'code': u'id', u'name': u'Indonesian', u'name_local': u'Bahasa Indonesia'}, u'io': {u'bidi': False, u'code': u'io', u'name': u'Ido', u'name_local': u'ido'}, u'is': {u'bidi': False, u'code': u'is', u'name': u'Icelandic', u'name_local': u'\xcdslenska'}, u'it': {u'bidi': False, u'code': u'it', u'name': u'Italian', u'name_local': u'italiano'}, u'ja': {u'bidi': False, u'code': u'ja', u'name': u'Japanese', u'name_local': u'\u65e5\u672c\u8a9e'}, u'ka': {u'bidi': False, u'code': u'ka', u'name': u'Georgian', u'name_local': u'\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8'}, 'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u043a\u0438\u0439'}, u'kk': {u'bidi': False, u'code': u'kk', u'name': u'Kazakh', u'name_local': u'\u049a\u0430\u0437\u0430\u049b'}, u'km': {u'bidi': False, u'code': u'km', u'name': u'Khmer', u'name_local': u'Khmer'}, u'kn': {u'bidi': False, u'code': u'kn', u'name': u'Kannada', u'name_local': u'Kannada'}, u'ko': {u'bidi': False, u'code': u'ko', u'name': u'Korean', u'name_local': u'\ud55c\uad6d\uc5b4'}, u'lb': {u'bidi': False, u'code': u'lb', u'name': u'Luxembourgish', u'name_local': u'L\xebtzebuergesch'}, u'lt': {u'bidi': False, u'code': u'lt', u'name': u'Lithuanian', u'name_local': u'Lietuvi\u0161kai'}, u'lv': {u'bidi': False, u'code': u'lv', u'name': u'Latvian', u'name_local': u'latvie\u0161u'}, u'mk': {u'bidi': False, u'code': u'mk', u'name': u'Macedonian', u'name_local': u'\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438'}, u'ml': {u'bidi': False, u'code': u'ml', u'name': u'Malayalam', u'name_local': u'Malayalam'}, u'mn': {u'bidi': False, u'code': u'mn', u'name': u'Mongolian', u'name_local': u'Mongolian'}, u'mr': {u'bidi': False, u'code': u'mr', u'name': u'Marathi', u'name_local': u'\u092e\u0930\u093e\u0920\u0940'}, u'my': {u'bidi': False, u'code': u'my', u'name': u'Burmese', u'name_local': u'\u1019\u103c\u1014\u103a\u1019\u102c\u1018\u102c\u101e\u102c'}, u'nb': {u'bidi': False, u'code': u'nb', u'name': u'Norwegian Bokmal', u'name_local': u'norsk (bokm\xe5l)'}, u'ne': {u'bidi': False, u'code': u'ne', u'name': u'Nepali', u'name_local': u'\u0928\u0947\u092a\u093e\u0932\u0940'}, u'nl': {u'bidi': False, u'code': u'nl', u'name': u'Dutch', u'name_local': u'Nederlands'}, u'nn': {u'bidi': False, u'code': u'nn', u'name': u'Norwegian Nynorsk', u'name_local': u'norsk (nynorsk)'}, u'no': {u'bidi': False, u'code': u'no', u'name': u'Norwegian', u'name_local': u'norsk'}, u'os': {u'bidi': False, u'code': u'os', u'name': u'Ossetic', u'name_local': u'\u0418\u0440\u043e\u043d'}, u'pa': {u'bidi': False, u'code': u'pa', u'name': u'Punjabi', u'name_local': u'Punjabi'}, u'pl': {u'bidi': False, u'code': u'pl', u'name': u'Polish', u'name_local': u'polski'}, u'pt': {u'bidi': False, u'code': u'pt', u'name': u'Portuguese', u'name_local': u'Portugu\xeas'}, u'pt-br': {u'bidi': False, u'code': u'pt-br', u'name': u'Brazilian Portuguese', u'name_local': u'Portugu\xeas Brasileiro'}, u'ro': {u'bidi': False, u'code': u'ro', u'name': u'Romanian', u'name_local': u'Rom\xe2n\u0103'}, u'ru': {u'bidi': False, u'code': u'ru', u'name': u'Russian', u'name_local': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439', u'name_translated': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439'}, u'sk': {u'bidi': False, u'code': u'sk', u'name': u'Slovak', u'name_local': u'Slovensky'}, u'sl': {u'bidi': False, u'code': u'sl', u'name': u'Slovenian', u'name_local': u'Sloven\u0161\u010dina'}, u'sq': {u'bidi': False, u'code': u'sq', u'name': u'Albanian', u'name_local': u'shqip'}, u'sr': {u'bidi': False, u'code': u'sr', u'name': u'Serbian', u'name_local': u'\u0441\u0440\u043f\u0441\u043a\u0438'}, u'sr-latn': {u'bidi': False, u'code': u'sr-latn', u'name': u'Serbian Latin', u'name_local': u'srpski (latinica)'}, u'sv': {u'bidi': False, u'code': u'sv', u'name': u'Swedish', u'name_local': u'svenska'}, u'sw': {u'bidi': False, u'code': u'sw', u'name': u'Swahili', u'name_local': u'Kiswahili'}, u'ta': {u'bidi': False, u'code': u'ta', u'name': u'Tamil', u'name_local': u'\u0ba4\u0bae\u0bbf\u0bb4\u0bcd'}, u'te': {u'bidi': False, u'code': u'te', u'name': u'Telugu', u'name_local': u'\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41'}, u'th': {u'bidi': False, u'code': u'th', u'name': u'Thai', u'name_local': u'\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22'}, u'tr': {u'bidi': False, u'code': u'tr', u'name': u'Turkish', u'name_local': u'T\xfcrk\xe7e'}, u'tt': {u'bidi': False, u'code': u'tt', u'name': u'Tatar', u'name_local': u'\u0422\u0430\u0442\u0430\u0440\u0447\u0430'}, u'udm': {u'bidi': False, u'code': u'udm', u'name': u'Udmurt', u'name_local': u'\u0423\u0434\u043c\u0443\u0440\u0442'}, u'uk': {u'bidi': False, u'code': u'uk', u'name': u'Ukrainian', u'name_local': u'\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430'}, u'ur': {u'bidi': True, u'code': u'ur', u'name': u'Urdu', u'name_local': u'\u0627\u0631\u062f\u0648'}, u'vi': {u'bidi': False, u'code': u'vi', u'name': u'Vietnamese', u'name_local': u'Ti\xea\u0301ng Vi\xea\u0323t'}, u'zh-cn': {u'fallback': [u'zh-hans']}, u'zh-hans': {u'bidi': False, u'code': u'zh-hans', u'name': u'Simplified Chinese', u'name_local': u'\u7b80\u4f53\u4e2d\u6587'}, u'zh-hant': {u'bidi': False, u'code': u'zh-hant', u'name': u'Traditional Chinese', u'name_local': u'\u7e41\u9ad4\u4e2d\u6587'}, u'zh-hk': {u'fallback': [u'zh-hant']}, u'zh-mo': {u'fallback': [u'zh-hant']}, u'zh-my': {u'fallback': [u'zh-hans']}, u'zh-sg': {u'fallback': [u'zh-hans']}, u'zh-tw': {u'fallback': [u'zh-hant']}} |
LOCALE_PATHS | ('/home/concept/.virtualenvs/concept/concept.kg/project/locale',) |
LOCAL_APPS | ('apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management') |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'formatters': {'main_formatter': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(levelname)s|%(name)s: %(message)s (%(asctime)s; %(filename)s:%(lineno)d)'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG'}, 'debug_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main_debug.log', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG', 'maxBytes': 5242880}, 'null': {'class': 'logging.NullHandler'}, 'production_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main.log', 'filters': ['require_debug_false'], 'formatter': 'main_formatter', 'level': 'INFO', 'maxBytes': 5242880}}, 'loggers': {'': {'handlers': ['console', 'production_file', 'debug_file'], 'level': 'DEBUG'}, 'django': {'handlers': ['null']}, 'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': True}, 'py.warnings': {'handlers': ['null']}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | Error in formatting: NoReverseMatch: Reverse for 'django.contrib.auth.views.login' not found. 'django.contrib.auth.views.login' is not a valid view function or pattern name. |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'solid_i18n.middleware.SolidLocaleMiddleware', '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', 'django.middleware.cache.UpdateCacheMiddleware') |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'ru' |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
REDACTOR_OPTIONS | {'imagePosition': True, 'imageResizable': True, 'lang': 'en', 'plugins': ['source', 'alignment', 'table', 'video', 'fullscreen', 'fontcolor', 'fontsize']} |
ROOT_URLCONF | 'project.urls' |
ROSETTA_STORAGE_CLASS | 'rosetta.storage.SessionRosettaStorage' |
ROSETTA_UWSGI_AUTO_RELOAD | True |
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 | u'root@localhost' |
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 | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
SETTINGS_MODULE | 'project.settings.settings_local' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SITE_NAME | 'project' |
SITE_ROOT | '/home/concept/.virtualenvs/concept/concept.kg' |
SOLID_I18N_DEFAULT_PREFIX_REDIRECT | True |
SOLID_I18N_USE_REDIRECTS | False |
STATICFILES_DIRS | ('/home/concept/.virtualenvs/concept/concept.kg/staticfiles',) |
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/concept/.virtualenvs/concept/concept.kg/assets' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/concept/.virtualenvs/concept/concept.kg/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'apps.base.context_processors.ip_address_processor'], 'loaders': ['admin_tools.template_loaders.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEMPLATE_DEBUG | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THIRD_PARTY_APPS | ('redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Asia/Bishkek' |
UNISENDER_API_KEY | u'********************' |
UNISENDER_LIST_ID | 5363938 |
UNISENDER_LIST_ID_EN | 8755447 |
UNISENDER_LIST_ID_KG | 8755499 |
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 | 'project.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.