get() returned more than one AuthorTranslation -- it returned 2!
Request Method: | GET |
---|---|
Request URL: | https://pl.zunr.eu/reflections/author/olgierd-maslukowski |
Django Version: | 1.7.1 |
Exception Type: | MultipleObjectsReturned |
Exception Value: | get() returned more than one AuthorTranslation -- it returned 2! |
Exception Location: | /var/www/servers/zunr.eu/lib/python2.7/site-packages/django/db/models/query.py in get, line 361 |
Python Executable: | /var/www/venv/zunr.eu/bin/uwsgi |
Python Version: | 2.7.5 |
Python Path: | ['.', '', '/var/www/servers/zunr.eu/lib64/python27.zip', '/var/www/servers/zunr.eu/lib64/python2.7', '/var/www/servers/zunr.eu/lib64/python2.7/plat-linux2', '/var/www/servers/zunr.eu/lib64/python2.7/lib-tk', '/var/www/servers/zunr.eu/lib64/python2.7/lib-old', '/var/www/servers/zunr.eu/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7', '/var/www/servers/zunr.eu/lib/python2.7/site-packages'] |
Server time: | Czw, 28 Marz 2024 13:04:19 +0200 |
/var/www/servers/zunr.eu/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 | MultipleObjectsReturned('get() returned more than one AuthorTranslation -- it returned 2!',) |
callback_args | () |
resolver_match | ResolverMatch(func=<function ReflectionsAuthorListView at 0x7f412f081848>, args=(), kwargs={'slug': u'olgierd-maslukowski'}, url_name='reflection_author_list', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f412f051b10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4131c56490> |
request | "<WSGIRequest\npath:/reflections/author/olgierd-maslukowski,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'OAukHpQexsLO0F9mk5WHRKLdcZs8WfR5',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'pl.zunr.eu',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/reflections/author/olgierd-maslukowski',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.212.50.220',\n 'REMOTE_PORT': '56230',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/reflections/author/olgierd-maslukowski',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'pl.zunr.eu',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/2.0',\n 'uwsgi.node': 'zunr.eu',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f412f16b150>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f412fa52f00>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function ReflectionsAuthorListView at 0x7f412f081848> |
wrapped_callback | <function ReflectionsAuthorListView at 0x7f412f081848> |
resolver | <RegexURLResolver 'zunr.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'olgierd-maslukowski'} |
response | None |
urlconf | 'zunr.urls' |
/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <publications.views.ReflectionsAuthorListView object at 0x7f412e358710> |
args | () |
request | "<WSGIRequest\npath:/reflections/author/olgierd-maslukowski,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'OAukHpQexsLO0F9mk5WHRKLdcZs8WfR5',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'pl.zunr.eu',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/reflections/author/olgierd-maslukowski',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.212.50.220',\n 'REMOTE_PORT': '56230',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/reflections/author/olgierd-maslukowski',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'pl.zunr.eu',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/2.0',\n 'uwsgi.node': 'zunr.eu',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f412f16b150>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f412fa52f00>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'slug': u'olgierd-maslukowski'} |
cls | <class 'publications.views.ReflectionsAuthorListView'> |
/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': request
Variable | Value |
---|---|
self | <publications.views.ReflectionsAuthorListView object at 0x7f412e358710> |
handler | <bound method ReflectionsAuthorListView.get of <publications.views.ReflectionsAuthorListView object at 0x7f412e358710>> |
request | "<WSGIRequest\npath:/reflections/author/olgierd-maslukowski,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'OAukHpQexsLO0F9mk5WHRKLdcZs8WfR5',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'pl.zunr.eu',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/reflections/author/olgierd-maslukowski',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.212.50.220',\n 'REMOTE_PORT': '56230',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/reflections/author/olgierd-maslukowski',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'pl.zunr.eu',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/2.0',\n 'uwsgi.node': 'zunr.eu',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f412f16b150>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f412fa52f00>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {'slug': u'olgierd-maslukowski'} |
/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/views/generic/list.py
in get
class BaseListView(MultipleObjectMixin, View):
"""
A base view for displaying a list of objects.
"""
def get(self, request, *args, **kwargs):
self.object_list = self.get_queryset()...
allow_empty = self.get_allow_empty()
if not allow_empty:
# When pagination is enabled and object_list is a queryset,
# it's better to do a cheap query than to load the unpaginated
# queryset in memory.
Variable | Value |
---|---|
self | <publications.views.ReflectionsAuthorListView object at 0x7f412e358710> |
args | () |
request | "<WSGIRequest\npath:/reflections/author/olgierd-maslukowski,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'OAukHpQexsLO0F9mk5WHRKLdcZs8WfR5',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'pl.zunr.eu',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/reflections/author/olgierd-maslukowski',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.212.50.220',\n 'REMOTE_PORT': '56230',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/reflections/author/olgierd-maslukowski',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'pl.zunr.eu',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/2.0',\n 'uwsgi.node': 'zunr.eu',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f412f16b150>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f412fa52f00>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'slug': u'olgierd-maslukowski'} |
./publications/views.py
in get_queryset
author = get_object_by_translation_or_404(AuthorTranslation, self.kwargs.get('slug'))
self.request.breadcrumbs([
(_('Reflections'), reverse('reflection_list')),
(author.name, author.url()),
])
def get_queryset(self):
author = get_object_by_translation_or_404(AuthorTranslation, self.kwargs.get('slug'))...
condition = {"author":author}
return self.model.reflections.filter(**condition).order_by('-date_at')
class ReflectionsTypeListView(ReflectionsListView):
model = Reflection
Variable | Value |
---|---|
self | <publications.views.ReflectionsAuthorListView object at 0x7f412e358710> |
./publications/views.py
in get_object_by_translation_or_404
context['title'] = _('Reflections')
return context
def get_queryset(self):
return BasePublication.reflections.order_by('-date_at')
def get_object_by_translation_or_404(cls, slug):
translation = get_object_or_404(cls, slug=slug)...
return translation.parent
class ReflectionsAuthorListView(ReflectionsListView):
model = Reflection
def get_context_data(self, **kwargs):
Variable | Value |
---|---|
slug | u'olgierd-maslukowski' |
cls | <class 'publications.models.AuthorTranslation'> |
/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/shortcuts.py
in get_object_or_404
arguments and keyword arguments are used in the get() query.
Note: Like with get(), an MultipleObjectsReturned will be raised if more than one
object is found.
"""
queryset = _get_queryset(klass)
try:
return queryset.get(*args, **kwargs)...
except queryset.model.DoesNotExist:
raise Http404('No %s matches the given query.' % queryset.model._meta.object_name)
def get_list_or_404(klass, *args, **kwargs):
"""
Variable | Value |
---|---|
args | () |
queryset | [<AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>] |
klass | <class 'publications.models.AuthorTranslation'> |
kwargs | {'slug': u'olgierd-maslukowski'} |
/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/db/models/query.py
in get
if not num:
raise self.model.DoesNotExist(
"%s matching query does not exist." %
self.model._meta.object_name)
raise self.model.MultipleObjectsReturned(
"get() returned more than one %s -- it returned %s!" % (
self.model._meta.object_name,
num if num <= MAX_GET_RESULTS else 'more than %s' % MAX_GET_RESULTS...
)
)
def create(self, **kwargs):
"""
Creates a new object with the given kwargs, saving it to the database
Variable | Value |
---|---|
clone | [<AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>] |
num | 2 |
self | [<AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>, <AuthorTranslation: AuthorTranslation object>] |
args | () |
kwargs | {'slug': u'olgierd-maslukowski'} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/reflections/author/olgierd-maslukowski' |
SERVER_PROTOCOL | 'HTTP/2.0' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'pl.zunr.eu' |
REMOTE_ADDR | '44.212.50.220' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'zunr.eu' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7f412fa52f00> |
HTTP_HOST | 'pl.zunr.eu' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/reflections/author/olgierd-maslukowski' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f412f16b150> |
REMOTE_PORT | '56230' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.14' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'OAukHpQexsLO0F9mk5WHRKLdcZs8WfR5' |
zunr.settings
Setting | Value |
---|---|
YEAR_MONTH_FORMAT | 'F Y' |
SERVER_EMAIL | 'root@localhost' |
CKEDITOR_MEDIA_PREFIX | '/media/ckeditor/' |
USE_L10N | True |
IMAGEKIT_CACHEFILE_DIR | 'CACHE/images' |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'pl-PL' |
ROOT_URLCONF | 'zunr.urls' |
MANAGERS | (('admin', 'admin@example.com'),) |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/var/www/venv/zunr.eu/public_html/static' |
DEFAULT_LANGUAGE | 1 |
CKEDITOR_UPLOAD_PATH | 'uploads/ck/' |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | u'********************' |
ALLOWED_HOSTS | ['pl.zunr.eu'] |
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') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
CKEDITOR_UPLOAD_PREFIX | '/media/ckuploads/' |
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': '127.0.0.1', 'NAME': 'pl_zunr', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/Kiev', 'USER': 'pl_zunr'}} |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
TAGGIT_AUTOSUGGEST_MODELS | {'default': ('taggit_localized', 'TagLocalized')} |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
DIRNAME | './zunr' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 60}} |
IMAGEKIT_CACHE_BACKEND | 'django.core.cache.backends.dummy.DummyCache' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | ('middleware.i18n.ForceDefaultLanguageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'breadcrumbs.middleware.BreadcrumbsMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_SETTINGS | <module 'django.conf.global_settings' from '/var/www/servers/zunr.eu/lib/python2.7/site-packages/django/conf/global_settings.pyc'> |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
WSGI_APPLICATION | 'zunr.wsgi.application' |
CACHE_PAGE_DETAIL_LIFETIME | 240 |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | '' |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CACHE_DETAIL_LIFETIME | 120 |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'simpleconfig', 'ckeditor', 'embed_video', 'dimensions', 'publications', 'pages', 'blogs', 'imagekit', 'breadcrumbs', 'taggit_autosuggest', 'taggit_localized', 'polls', 'banners') |
LANGUAGES | (('pl', 'Polish'),) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('./zunr/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
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 |
CACHE_HOME_LIFETIME | 60 |
TIME_FORMAT | 'P' |
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') |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | ('./zunr/conf/locale',) |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/var/www/venv/zunr.eu/public_html/media' |
CACHE_LIST_LIFETIME | 120 |
LANGUAGE_COOKIE_PATH | '/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('admin', 'admin@example.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('./zunr/templates',) |
CKEDITOR_CONFIGS | {'basic_ckeditor': {'height': 300, 'toolbar': 'Basic'}, 'default_ckeditor': {'extraPlugins': 'youtube', 'height': 300, 'toolbar': 'MinToolbar'}} |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Kiev' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('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', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'zunr.settings' |
USE_ETAGS | False |
DOCUMENTROORDIR | '/var/www/venv/zunr.eu/public_html' |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
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 | {} |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
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') |
ADMIN_FOR | () |
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.