invalid literal for int() with base 10: '4905/monitoring-news-2016-7-1-4905'
Request Method: | GET |
---|---|
Request URL: | http://cilvektiesibas.org.lv/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/ |
Django Version: | 1.7.5 |
Exception Type: | ValueError |
Exception Value: | invalid literal for int() with base 10: '4905/monitoring-news-2016-7-1-4905' |
Exception Location: | /home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py in get_prep_value, line 915 |
Python Executable: | /home/envs/cilvektiesibas/bin/python |
Python Version: | 2.7.12 |
Python Path: | ['/home/envs/cilvektiesibas', '/home/envs/cilvektiesibas/bin', '/home/envs/cilvektiesibas/lib/python2.7', '/home/envs/cilvektiesibas/lib/python2.7/plat-x86_64-linux-gnu', '/home/envs/cilvektiesibas/lib/python2.7/lib-tk', '/home/envs/cilvektiesibas/lib/python2.7/lib-old', '/home/envs/cilvektiesibas/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/envs/cilvektiesibas/local/lib/python2.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 17:25:42 +0200 |
/home/envs/cilvektiesibas/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 | ValueError("invalid literal for int() with base 10: '4905/monitoring-news-2016-7-1-4905'",) |
callback_args | (u'4905/monitoring-news-2016-7-1-4905', u'None') |
resolver_match | ResolverMatch(func=<function single_monitoring at 0x7fde18be7140>, args=(u'4905/monitoring-news-2016-7-1-4905', u'None'), kwargs={}, url_name='single_monitoring', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fde18ea0650>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fde1a28f990> |
request | "<WSGIRequest\npath:/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'GFeoroPDfHnEbkZcV6yUkeuShenAHbtj',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'cilvektiesibas.org.lv',\n 'HTTP_REFERER': 'http://cilvektiesibas.org.lv/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '35.170.81.62',\n 'PATH_INFO': u'/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_PORT': '37752',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '127.0.0.1',\n 'SERVER_PORT': '25020',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7fde177ead00>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fde17ab3dd0>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7fde17ab3050>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function single_monitoring at 0x7fde18be7140> |
wrapped_callback | <function single_monitoring at 0x7fde18be7140> |
resolver | <RegexURLResolver 'hr.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'hr.urls' |
/home/envs/cilvektiesibas/hr/apps/record/views.py
in single_monitoring
}, context_instance=RequestContext(request))
def single_monitoring(request, *attrs):
""" Single monitoring details """
try:
obj = Monitoring.objects.get(pk=attrs[0])...
except Monitoring.DoesNotExist:
return HttpResponseRedirect(reverse('first_page'))
obj_list = Monitoring.objects.filter(published=True\
).order_by('-insert_date')
# Years
Variable | Value |
---|---|
request | "<WSGIRequest\npath:/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'GFeoroPDfHnEbkZcV6yUkeuShenAHbtj',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'cilvektiesibas.org.lv',\n 'HTTP_REFERER': 'http://cilvektiesibas.org.lv/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '35.170.81.62',\n 'PATH_INFO': u'/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_PORT': '37752',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '127.0.0.1',\n 'SERVER_PORT': '25020',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7fde177ead00>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fde17ab3dd0>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7fde17ab3050>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
attrs | (u'4905/monitoring-news-2016-7-1-4905', u'None') |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/manager.py
in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)...
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
# Refs http://bugs.python.org/issue1785.
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x7fde1925d490> |
args | () |
name | 'get' |
kwargs | {'pk': u'4905/monitoring-news-2016-7-1-4905'} |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/query.py
in get
return self.query.get_count(using=self.db)
def get(self, *args, **kwargs):
"""
Performs the query and returns a single object matching the given
keyword arguments.
"""
clone = self.filter(*args, **kwargs)...
if self.query.can_filter():
clone = clone.order_by()
if (not clone.query.select_for_update or
connections[self.db].features.supports_select_for_update_with_limit):
clone = clone[:MAX_GET_RESULTS + 1]
num = len(clone)
Variable | Value |
---|---|
self | [<Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, '...(remaining elements truncated)...'] |
args | () |
kwargs | {'pk': u'4905/monitoring-news-2016-7-1-4905'} |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/query.py
in filter
return self._clone()
def filter(self, *args, **kwargs):
"""
Returns a new QuerySet instance with the args ANDed to the existing
set.
"""
return self._filter_or_exclude(False, *args, **kwargs)...
def exclude(self, *args, **kwargs):
"""
Returns a new QuerySet instance with NOT (args) ANDed to the existing
set.
"""
Variable | Value |
---|---|
self | [<Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, '...(remaining elements truncated)...'] |
args | () |
kwargs | {'pk': u'4905/monitoring-news-2016-7-1-4905'} |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/query.py
in _filter_or_exclude
assert self.query.can_filter(), \
"Cannot filter a query once a slice has been taken."
clone = self._clone()
if negate:
clone.query.add_q(~Q(*args, **kwargs))
else:
clone.query.add_q(Q(*args, **kwargs))...
return clone
def complex_filter(self, filter_obj):
"""
Returns a new QuerySet instance with filter_obj added to the filters.
Variable | Value |
---|---|
negate | False |
clone | [<Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, '...(remaining elements truncated)...'] |
args | () |
self | [<Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, <Monitoring: Integration and Minority Information Service>, '...(remaining elements truncated)...'] |
kwargs | {'pk': u'4905/monitoring-news-2016-7-1-4905'} |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in add_q
# and existing conditions. So, any existing inner join forces the join
# type to remain inner. Existing outer joins can however be demoted.
# (Consider case where rel_a is LOUTER and rel_a__col=1 is added - if
# rel_a doesn't produce any rows, then the whole condition must fail.
# So, demotion is OK.
existing_inner = set(
(a for a in self.alias_map if self.alias_map[a].join_type == self.INNER))
clause, require_inner = self._add_q(where_part, self.used_aliases)...
self.where.add(clause, AND)
for hp in having_parts:
clause, _ = self._add_q(hp, self.used_aliases)
self.having.add(clause, AND)
self.demote_joins(existing_inner)
Variable | Value |
---|---|
q_object | <django.db.models.query_utils.Q object at 0x7fde17b68290> |
self | <django.db.models.sql.query.Query object at 0x7fde17b68390> |
existing_inner | set([]) |
having_parts | [] |
where_part | <django.db.models.query_utils.Q object at 0x7fde17b68290> |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in _add_q
child_clause, needed_inner = self._add_q(
child, used_aliases, branch_negated,
current_negated)
joinpromoter.add_votes(needed_inner)
else:
child_clause, needed_inner = self.build_filter(
child, can_reuse=used_aliases, branch_negated=branch_negated,
current_negated=current_negated, connector=connector)...
joinpromoter.add_votes(needed_inner)
target_clause.add(child_clause, connector)
needed_inner = joinpromoter.update_join_types(self)
return target_clause, needed_inner
def names_to_path(self, names, opts, allow_many=True, fail_on_missing=False):
Variable | Value |
---|---|
used_aliases | set([u'record_monitoring']) |
current_negated | False |
target_clause | <django.db.models.sql.where.WhereNode object at 0x7fde17b68990> |
branch_negated | False |
joinpromoter | <django.db.models.sql.query.JoinPromoter object at 0x7fde17b68d90> |
child | ('pk', u'4905/monitoring-news-2016-7-1-4905') |
connector | u'AND' |
q_object | <django.db.models.query_utils.Q object at 0x7fde17b68290> |
self | <django.db.models.sql.query.Query object at 0x7fde17b68390> |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in build_filter
# refactored when composite fields lands.
condition = field.get_lookup_constraint(self.where_class, alias, targets, sources,
lookups, value)
lookup_type = lookups[-1]
else:
assert(len(targets) == 1)
col = Col(alias, targets[0], field)
condition = self.build_lookup(lookups, col, value)...
if not condition:
# Backwards compat for custom lookups
if lookups[0] not in self.query_terms:
raise FieldError(
"Join on field '%s' not permitted. Did you "
"misspell '%s' for the lookup type?" %
Variable | Value |
---|---|
current_negated | False |
branch_negated | False |
sources | (<django.db.models.fields.AutoField: id>,) |
arg | 'pk' |
targets | (<django.db.models.fields.AutoField: id>,) |
reffed_aggregate | False |
self | <django.db.models.sql.query.Query object at 0x7fde17b68390> |
connector | u'AND' |
field | <django.db.models.fields.AutoField: id> |
parts | ['pk'] |
filter_expr | ('pk', u'4905/monitoring-news-2016-7-1-4905') |
used_joins | set([u'record_monitoring']) |
join_list | [u'record_monitoring'] |
path | [] |
can_reuse | set([u'record_monitoring']) |
allow_many | True |
lookups | ['exact'] |
clause | <django.db.models.sql.where.WhereNode object at 0x7fde17b68f90> |
value | u'4905/monitoring-news-2016-7-1-4905' |
alias | u'record_monitoring' |
col | <django.db.models.sql.datastructures.Col object at 0x7fde17b683d0> |
opts | <Options for Monitoring> |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in build_lookup
def build_lookup(self, lookups, lhs, rhs):
lookups = lookups[:]
while lookups:
lookup = lookups[0]
if len(lookups) == 1:
final_lookup = lhs.get_lookup(lookup)
if final_lookup:
return final_lookup(lhs, rhs)...
# We didn't find a lookup, so we are going to try get_transform
# + get_lookup('exact').
lookups.append('exact')
next = lhs.get_transform(lookup)
if next:
lhs = next(lhs, lookups)
Variable | Value |
---|---|
lookups | ['exact'] |
self | <django.db.models.sql.query.Query object at 0x7fde17b68390> |
lookup | 'exact' |
final_lookup | <class 'django.db.models.lookups.Exact'> |
lhs | <django.db.models.sql.datastructures.Col object at 0x7fde17b683d0> |
rhs | u'4905/monitoring-news-2016-7-1-4905' |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/lookups.py
in __init__
class Lookup(RegisterLookupMixin):
lookup_name = None
def __init__(self, lhs, rhs):
self.lhs, self.rhs = lhs, rhs
self.rhs = self.get_prep_lookup()...
def get_prep_lookup(self):
return self.lhs.output_field.get_prep_lookup(self.lookup_name, self.rhs)
def get_db_prep_lookup(self, value, connection):
return (
Variable | Value |
---|---|
rhs | u'4905/monitoring-news-2016-7-1-4905' |
lhs | <django.db.models.sql.datastructures.Col object at 0x7fde17b683d0> |
self | <django.db.models.lookups.Exact object at 0x7fde17b68b90> |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/lookups.py
in get_prep_lookup
lookup_name = None
def __init__(self, lhs, rhs):
self.lhs, self.rhs = lhs, rhs
self.rhs = self.get_prep_lookup()
def get_prep_lookup(self):
return self.lhs.output_field.get_prep_lookup(self.lookup_name, self.rhs)...
def get_db_prep_lookup(self, value, connection):
return (
'%s', self.lhs.output_field.get_db_prep_lookup(
self.lookup_name, value, connection, prepared=True))
Variable | Value |
---|---|
self | <django.db.models.lookups.Exact object at 0x7fde17b68b90> |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py
in get_prep_lookup
'iexact', 'contains', 'icontains',
'startswith', 'istartswith', 'endswith', 'iendswith',
'month', 'day', 'week_day', 'hour', 'minute', 'second',
'isnull', 'search', 'regex', 'iregex',
}:
return value
elif lookup_type in ('exact', 'gt', 'gte', 'lt', 'lte'):
return self.get_prep_value(value)...
elif lookup_type in ('range', 'in'):
return [self.get_prep_value(v) for v in value]
elif lookup_type == 'year':
try:
return int(value)
except ValueError:
Variable | Value |
---|---|
lookup_type | 'exact' |
self | <django.db.models.fields.AutoField: id> |
value | u'4905/monitoring-news-2016-7-1-4905' |
/home/envs/cilvektiesibas/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py
in get_prep_value
value = connection.ops.validate_autopk_value(value)
return value
def get_prep_value(self, value):
value = super(AutoField, self).get_prep_value(value)
if value is None:
return None
return int(value)...
def contribute_to_class(self, cls, name):
assert not cls._meta.has_auto_field, \
"A model can't have more than one AutoField."
super(AutoField, self).contribute_to_class(cls, name)
cls._meta.has_auto_field = True
Variable | Value |
---|---|
self | <django.db.models.fields.AutoField: id> |
value | u'4905/monitoring-news-2016-7-1-4905' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_REFERER | 'http://cilvektiesibas.org.lv/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/' |
SERVER_SOFTWARE | 'gunicorn/19.6.0' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
REMOTE_PORT | '37752' |
SERVER_NAME | '127.0.0.1' |
REMOTE_ADDR | '127.0.0.1' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '25020' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fde17ab3050> |
HTTP_HOST | 'cilvektiesibas.org.lv' |
wsgi.multithread | False |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
RAW_URI | '/en/monitoring/4905/monitoring-news-2016-7-1-4905/None/' |
wsgi.run_once | False |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fde17ab3dd0> |
wsgi.multiprocess | True |
gunicorn.socket | <socket._socketobject object at 0x7fde177ead00> |
HTTP_X_FORWARDED_FOR | '35.170.81.62' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'GFeoroPDfHnEbkZcV6yUkeuShenAHbtj' |
hr.settings
Setting | Value |
---|---|
COMPRESS_URL | '/static/' |
COMPRESS_OUTPUT_DIR | 'min' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
USE_L10N | True |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'lv' |
ROOT_URLCONF | 'hr.urls' |
MANAGERS | (('Edgars Sulcs', 'edgars.sulcs@gmail.com'),) |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
BASE_DIR | '/home/envs/cilvektiesibas' |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
IGNORABLE_404_URLS | () |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/envs/cilvektiesibas/hr/../static/' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
GRAPPELLI_INDEX_DASHBOARD | 'hr.dashboard.CustomIndexDashboard' |
USE_THOUSAND_SEPARATOR | False |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
ALLOWED_HOSTS | ['127.0.0.1'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
SESSION_CACHE_ALIAS | 'default' |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'cilvektiesibas', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/Riga', 'USER': 'cilvektiesibas'}} |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
LOCAL_ROOT | '/home/envs/cilvektiesibas/hr' |
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' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_CACHE_BACKEND | u'default' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | ('localeurl.middleware.LocaleURLMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', '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', 'pagination.middleware.PaginationMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
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 | [u'compressor.filters.jsmin.JSMinFilter'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('grappelli.dashboard', 'grappelli', 'filebrowser', 'modeltranslation', 'localeurl', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.sitemaps', 'django.contrib.syndication', 'hr.apps.news', 'hr.apps.record', 'hr.apps.common', 'hr.apps.maillist', 'compressor', 'sorl.thumbnail', 'rosetta', 'pagination') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
COMMENTS_ALLOW_PROFANITIES | False |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
STATICFILES_DIRS | ('/home/envs/cilvektiesibas/hr/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_SAVE_EVERY_REQUEST | 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.CSSMinFilter') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
GRAPPELLI_ADMIN_TITLE | 'cilvektiesibas.org.lv' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
LOCALE_INDEPENDENT_PATHS | ('^/sitemap.xml', '^/media/', '^/static/', '^/admin/') |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
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 |
SITE_ID | 1 |
LOCALE_PATHS | ('/home/envs/cilvektiesibas/hr/locale',) |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/home/envs/cilvektiesibas/hr/templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/envs/cilvektiesibas/hr/../media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Edgars Sulcs', 'edgars.sulcs@gmail.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMPRESS_ROOT | '/home/envs/cilvektiesibas/static' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
COMPRESS_MINT_DELAY | 30 |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
COMPRESS_ENABLED | True |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_OFFLINE | False |
TIME_ZONE | 'Europe/Riga' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x7fde18f94488> |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'hr.apps.common.context_processors.site_info') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'hr.settings' |
USE_ETAGS | False |
LANGUAGES | (('lv', 'Latvian'), ('en', 'English'), ('ru', 'Russian')) |
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 | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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 | '' |
PROFANITIES_LIST | u'********************' |
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.