ProgrammingError at /catalog/tree/10110/10143/10392/

column "catalog_cartree.lft" must appear in the GROUP BY clause or be used in an aggregate function
LINE 23:                         ORDER by catalog_cartree.lft
                                          ^
Request Method: GET
Request URL: http://127.0.0.1:8000/catalog/tree/10110/10143/10392/
Django Version: 1.7
Exception Type: ProgrammingError
Exception Value:
column "catalog_cartree.lft" must appear in the GROUP BY clause or be used in an aggregate function
LINE 23:                         ORDER by catalog_cartree.lft
                                          ^
Exception Location: /var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 65
Python Executable: /var/www/automobi/env/automobi/envs/automobi/local/bin/python
Python Version: 2.7.12
Python Path:
['/var/www/automobi/src/automobi/src/automobi',
 '/var/www/automobi/env/automobi/envs/automobi/local/bin',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/plat-x86_64-linux-gnu',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/lib-tk',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/lib-old',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/site-packages',
 '/var/www/automobi/env/automobi/envs/automobi/local/src/django-cities-light',
 '/var/www/automobi/env/automobi/envs/automobi/local/src/django-ftpserver/src',
 '/var/www/automobi/env/automobi/envs/automobi/local/src/django-queryset-csv',
 '/var/www/automobi/src/automobi/src/automobi',
 '/var/www/automobi/src/automobi/src/automobi/automobi_project/apps',
 '/var/www/automobi/env/automobi/envs/automobi/local/lib/python2.7/site-packages/IPython/extensions']
Server time: Птн, 15 Мар 2024 07:17:59 +0200

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
wsgi.multiprocess
True
SERVER_SOFTWARE
'gunicorn/19.8.1'
SCRIPT_NAME
u''
REQUEST_METHOD
'GET'
PATH_INFO
u'/catalog/tree/10110/10143/10392/'
SERVER_PROTOCOL
'HTTP/1.0'
QUERY_STRING
''
HTTP_USER_AGENT
'claudebot'
HTTP_CONNECTION
'close'
SERVER_NAME
'0.0.0.0'
REMOTE_PORT
'34802'
wsgi.url_scheme
'http'
SERVER_PORT
'8000'
wsgi.input
<gunicorn.http.body.Body object at 0x7fa7a0feeb50>
HTTP_HOST
'127.0.0.1:8000'
wsgi.multithread
False
HTTP_ACCEPT
'*/*'
wsgi.version
(1, 0)
RAW_URI
'/catalog/tree/10110/10143/10392/'
wsgi.run_once
False
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fa7a0feef10>
REMOTE_ADDR
'127.0.0.1'
gunicorn.socket
<socket._socketobject object at 0x7fa7a1867520>
wsgi.file_wrapper
''
CSRF_COOKIE
u'X1wBBg8JNHTj5AubOxeSgdNttFSbg0cG'

Settings

Using settings module automobi_project.settings

Setting Value
BROKER_TRANSPORT_OPTIONS
{'visibility_timeout': 43200}
CACHEOPS_CACHE_TIMEOUT
604800
COMPRESS_OUTPUT_DIR
u'CACHE'
NOCAPTCHA
True
SITEMAP_PAGES
1000
COMPRESS_TEMPLATE_FILTER_CONTEXT
{u'STATIC_URL': '/static/'}
STATIC_ROOT
'/var/www/automobi/src/automobi/src/automobi/automobi_project/static_collected'
COMPRESS_URL
'/static/'
DB_REMOTE_HOST
'127.0.0.1'
COMPRESS_DATA_URI_MAX_SIZE
1024
EXPORT_DOMAIN_CLIENT
'http://127.0.0.1'
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'ru'
ROOT_URLCONF
'automobi_project.urls'
MANAGERS
()
BROKER_URL
'redis://127.0.0.1/2'
COMPRESS_CSS_HASHING_METHOD
u'mtime'
BASE_DIR
'/var/www/automobi/src/automobi/src/automobi'
TEST_NON_SERIALIZED_APPS
[]
DEFAULT_CHARSET
'utf-8'
IGNORABLE_404_URLS
()
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
CACHEOPS
{'cabinet.currencysettings': ('all', 86400),
 'catalog.ac': ('all', 604800),
 'catalog.carbrand': ('all', 604800),
 'catalog.carmodel': ('all', 604800),
 'catalog.carmodelcountry': ('all', 604800),
 'catalog.carmodification': ('all', 604800),
 'catalog.cartree': ('all', 604800),
 'catalog.part': ('just_enable', 604800),
 'catalog.partdescriptiontext': ('all', 604800),
 'catalog.partimage': ('all', 604800),
 'catalog.trademark': ('just_enable', 604800),
 'catalog.weightsizespecification': ('all', 604800),
 'cities_light.*': ('all', 604800),
 'contenttypes.*': ('all', 2678400),
 'core.currency': ('all', 604800),
 'orders.deliverymethod': ('all', 604800),
 'orders.deliverymethodsettings': ('all', 86400),
 'orders.deliverytime': ('all', 25200),
 'seo.seodata': ('all', 604800),
 'seo.seourls': ('all', 604800),
 'superuser.roundingmethod': ('get', 604800),
 'superuser.settings': ('all', 604800),
 'thumbnail.kvstore': ('all', 604800),
 'users.address': ('all', 604800),
 'users.agreement': ('all', 604800),
 'users.client': ('all', 604800),
 'users.dc': ('all', 604800),
 'users.entity': ('all', 604800),
 'users.ownershipform': ('all', 604800),
 'users.permission': ('all', 604800),
 'users.so': ('all', 604800),
 'users.staff': ('all', 604800),
 'users.supplier': ('all', 604800),
 'users.user': ('all', 604800)}
ACTIVE_URL_CACHE
True
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
u''
MONTH_DAY_FORMAT
'F j'
TESTING
False
USE_THOUSAND_SEPARATOR
False
RECAPTCHA_PUBLIC_KEY
u'********************'
COMPRESS_OFFLINE_MANIFEST
u'manifest.json'
SOLID_I18N_USE_REDIRECTS
False
AUTO_API_URL
u'********************'
ALLOWED_HOSTS
['m.automobi.ua', 'automobi.ua', 'www.automobi.ua', '*']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
DB_REMOTE_HOST2
'127.0.0.1'
RECAPTCHA_PRIVATE_KEY
u'********************'
COMPRESS_YUI_JS_ARGUMENTS
u''
SEND_BROKEN_LINK_EMAILS
False
FTP_PORT
'10021'
SITEMAP_PER_PAGE
50000
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 'compressor.finders.CompressorFinder')
SECRET_PHRASE
u'********************'
SESSION_CACHE_ALIAS
'default'
COMPRESS_CSSTIDY_ARGUMENTS
u'--template=highest'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
COMPRESS_YUGLIFY_JS_ARGUMENTS
u'--terminal'
THUMBNAIL_ALIASES
{'': {'catalog_part_preview': {'crop': True,
                               'quality': 100,
                               'size': (95, 95)}}}
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATABASES
{'api': {'ATOMIC_REQUESTS': False,
         'AUTOCOMMIT': True,
         'CONN_MAX_AGE': 0,
         'ENGINE': 'django.db.backends.postgresql_psycopg2',
         'HOST': '127.0.0.1',
         'NAME': 'api',
         'OPTIONS': {},
         'PASSWORD': u'********************',
         'PORT': 5432,
         'TEST': {'CHARSET': None,
                  'COLLATION': None,
                  'MIRROR': None,
                  'NAME': None},
         'TIME_ZONE': 'Europe/Kiev',
         'USER': 'automobi'},
 'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': '127.0.0.1',
             'NAME': 'automobi',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': 5432,
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': 'Europe/Kiev',
             'USER': 'automobi'}}
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
USE_TZ
False
COMPRESS_YUI_BINARY
u'java -jar yuicompressor.jar'
FILE_UPLOAD_PERMISSIONS
None
TIME_FORMAT
'P'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
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.core.context_processors.request',
 'django.contrib.messages.context_processors.messages',
 'social.apps.django_app.context_processors.backends',
 'social.apps.django_app.context_processors.login_redirect')
DEFAULT_CONTENT_TYPE
'text/html'
COMPRESS_CSS_COMPRESSOR
u'compressor.css.CssCompressor'
SECRET_PHRASE_KEY
u'********************'
ACTIVE_URL_CACHE_TIMEOUT
86400
EMAIL_URL_PREFIX
'http://automobi.ua'
APPEND_SLASH
True
API_FILTER_KEYS
u'********************'
DATABASE_ROUTERS
['db_share.router.DbRouter']
EMAIL_USE_SSL
False
FIELDS_STORED_IN_SESSION
['reg_type']
SOCIAL_AUTH_FACEBOOK_KEY
u'********************'
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'}}
SITEMAP_PARTS_START_DATE
'2015-10-19'
COMPRESS_CLEAN_CSS_ARGUMENTS
u''
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
COMPRESS_PARSER
u'compressor.parser.AutoSelectParser'
MOZJPEG_LOCATION
'/usr/local/bin/mozjpeg'
THUMBNAIL_DEBUG
False
COMPRESS_CACHE_BACKEND
u'default'
SILENCED_SYSTEM_CHECKS
[]
MIDDLEWARE_CLASSES
('core.middleware.MySessionMiddleware',
 'core.middleware_locale.CustomeSolidLocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
 'pagination.middleware.PaginationMiddleware',
 'webstack_django_sorting.middleware.SortingMiddleware',
 'cabinet.middlewares.PaginateByMiddleware',
 'core.middleware.LoginRedirect',
 'registration.middleware.SocialExceptionMiddleware',
 'cabinet.middlewares.SetDisableCookieSiteHeart',
 'urlmiddleware.URLMiddleware',
 'htmlmin.middleware.HtmlMinifyMiddleware',
 'htmlmin.middleware.MarkRequestMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
LOCAL_HOST
'127.0.0.1'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'logging.config.dictConfig'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
DB_LOCAL_HOST
'127.0.0.1'
ALLOWED_PRICELIST_FOMTATS
['zip', '7z', 'csv', 'txt', 'xls', 'xlsx', 'rar']
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
FIRST_DAY_OF_WEEK
0
WSGI_APPLICATION
'automobi_project.wsgi.application'
PRJ_PATH
'src/automobi'
TEMPLATE_DEBUG
True
API_IP
u'********************'
CSRF_COOKIE_NAME
'csrftoken'
COMPRESS_CLEAN_CSS_BINARY
u'cleancss'
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
USE_L10N
True
COMPRESS_CSSTIDY_BINARY
u'csstidy'
SESSION_COOKIE_SECURE
False
BASE_URL
'automobi.ua'
COMPRESS_DEBUG_TOGGLE
None
THUMBNAIL_ENGINE
'image_engines.engines.wand_engine.WatermarkEngine'
COMPRESS_VERBOSE
False
CSRF_COOKIE_DOMAIN
None
SOLID_I18N_HANDLE_DEFAULT_PREFIX
False
FILE_CHARSET
'utf-8'
DEBUG
True
FILE_UPLOAD_HOST
'http://automobi.ua'
LANGUAGE_COOKIE_DOMAIN
None
COMPRESS_JS_FILTERS
[u'compressor.filters.jsmin.JSMinFilter']
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
('cacheops',
 'autocomplete_light',
 'suit',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sitemaps',
 'django.contrib.sites',
 'django.contrib.redirects',
 'bootstrap3',
 'debug_toolbar',
 'mptt',
 'tinymce',
 'sorl.thumbnail',
 'mce_filebrowser',
 'captcha',
 'pagination',
 'django_crontab',
 'cities_light',
 'webstack_django_sorting',
 'widget_tweaks',
 'django_activeurl',
 'django_ftpserver',
 'pytils',
 'multiselectfield',
 'compressor',
 'PyPDF2',
 'core',
 'superuser',
 'chosen_complete',
 'users',
 'social.apps.django_app.default',
 'login',
 'registration',
 'catalog',
 'price_generator',
 'cabinet',
 'billing',
 'orders',
 'shopping_cart',
 'documents',
 'news',
 'search',
 'content_pages',
 'msgs',
 'requests_of_goods',
 'polls',
 'ratings',
 'wms',
 'wms_face',
 'geoip',
 'auto_api',
 'seo',
 'image_engines',
 'notifications',
 'statistics',
 'zabbix')
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
SHOW_TOOLBAR_CALLBACK
<function show_toolbar at 0x7fa7af3638c0>
COMMENTS_ALLOW_PROFANITIES
False
COMPRESS_YUI_CSS_ARGUMENTS
u''
TINYMCE_COMPRESSOR
True
SOCIAL_AUTH_VK_OAUTH2_SECRET
u'********************'
STATICFILES_DIRS
('/var/www/automobi/src/automobi/src/automobi/automobi_project/static',)
DKIM_PRIVATE_KEY
u'********************'
PREPEND_WWW
False
CACHEOPS_REDIS
{'db': 1, 'host': '127.0.0.1', 'port': 6379, 'socket_timeout': 8}
DKIM_DOMAIN
'automobi.ua'
LANGUAGE_COOKIE_AGE
None
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
INTERNAL_IPS
['176.36.100.76']
SITEMAP_DIR
'sitemap'
MEDIA_URL
'/media/'
PL_UPLOAD_PATH
'price_lists'
THUMBNAIL_BACKEND
'optisorl.backend.OptimizingThumbnailBackend'
ACTIVE_URL_CACHE_PREFIX
'django_activeurl'
PRICELIST_CHANK_SIZE
10000
LOGIN_URL
'/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
AUTO_API_HOST
u'********************'
SESSION_SAVE_EVERY_REQUEST
False
SKIP_SESSION_IF_DB_IS_SLAVE
True
FTP_IP
'127.0.0.1'
LOGIN_AS_ADMIN_IPS
['127.0.0.1', '195.3.158.222', '91.231.87.180']
COMPRESS_STORAGE
u'compressor.storage.CompressorFileStorage'
AUTH_USER_MODEL
'users.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
('backends.EmailAuthBackend',
 'social.backends.vk.VKOAuth2',
 'social.backends.facebook.FacebookOAuth2')
EMAIL_HOST_PASSWORD
u'********************'
DEBUG_TOOLBAR_PATCH_SETTINGS
False
COMPRESS_REBUILD_TIMEOUT
2592000
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
SESSION_FILE_PATH
None
CACHE_MIDDLEWARE_ALIAS
'default'
EXPORT_URL_CLIENT
'/export/'
MOBILE_DOMAIN
'm.automobi.ua'
NUMBER_GROUPING
0
AUTO_API_PORT
u'********************'
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SOCIAL_AUTH_FACEBOOK_SCOPE
['email']
COMPRESS_YUGLIFY_BINARY
u'yuglify'
CSRF_FAILURE_VIEW
'core.views.handler403'
CSRF_COOKIE_PATH
'/'
COMPRESS_CACHE_KEY_FUNCTION
u'********************'
LOGIN_REDIRECT_URL
'/accounts/profile/'
SOCIAL_AUTH_PIPELINE
('social.pipeline.social_auth.social_details',
 'registration.social_auth_pipelines.make_decision')
SOCIAL_AUTH_VK_OAUTH2_SCOPE
['email']
DECIMAL_SEPARATOR
'.'
COMPRESS_PRECOMPILERS
()
COMPRESS_MTIME_DELAY
10
SITE_ID
1
LOCALE_PATHS
('/var/www/automobi/src/automobi/src/automobi/automobi_project/locale',)
TEMPLATE_STRING_IF_INVALID
''
TINYMCE_SPELLCHECKER
True
MAX_UPLOAD_FILE_SIZE
10485760
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
True
TEMPLATE_DIRS
('/var/www/automobi/src/automobi/src/automobi/automobi_project/templates',)
NOT_SAVE_SEARCH_HISTORY
['5.9.13.34']
FIXTURE_DIRS
()
EMAIL_HOST
'smtp.gmail.com'
DATE_FORMAT
'N j, Y'
PRODUCT_NUMBER_PATTENR
'[^a-zA-Z\xd0\xb0-\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x91\xd0\x810-9]'
SITEMAP_PARTS_PER_DAY
500
SOLID_I18N_DEFAULT_PREFIX_REDIRECT
True
X_FRAME_OPTIONS
'SAMEORIGIN'
MEDIA_ROOT
'/var/www/automobi/src/automobi/src/automobi/automobi_project/media'
MOBILE_TEMPLATE_DIRS
('/var/www/automobi/src/automobi/src/automobi/automobi_project/templates_mobile',)
CITIES_LOCALES
['ru', 'rus', 'LANGUAGES']
ALLOWED_CONTENT_TYPES
['image/jpeg',
 'image/png',
 'text/plain',
 'application/msword',
 'application/rtf',
 'application/vnd.ms-excel']
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
''
COMPRESS_ROOT
'/var/www/automobi/src/automobi/src/automobi/automobi_project/static'
DKIM_SELECTOR
'automobi_mail'
HTML_MINIFY
False
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
CITIES_POSTAL_CODES
['UP']
ACTIVE_URL_KWARGS
{'css_class': 'active', 'menu': 'yes', 'parent_tag': 'li'}
THUMBNAIL_BASEDIR
'easy_thumbs'
COMPRESS_JS_COMPRESSOR
u'compressor.js.JsCompressor'
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
AUTO_API_TOKEN
u'********************'
COMPRESS_MINT_DELAY
30
LOGGING
{'disable_existing_loggers': False,
 'formatters': {'verbose': {'format': '%(asctime)s %(levelname)s %(message)s'}},
 'handlers': {'file': {'class': 'logging.FileHandler',
                       'filename': '/var/www/automobi/src/automobi/src/automobi/logs/error.log',
                       'formatter': 'verbose',
                       'level': 'DEBUG'},
              'nt_file': {'class': 'logging.FileHandler',
                          'filename': '/var/www/automobi/src/automobi/src/automobi/logs/notifications.log',
                          'formatter': 'verbose',
                          'level': 'DEBUG'}},
 'loggers': {'django.notifications': {'handlers': ['nt_file'],
                                      'level': 'DEBUG',
                                      'propagate': True},
             'django.request': {'handlers': ['file'],
                                'level': 'DEBUG',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
SECURE_PROXY_SSL_HEADER
None
SOCIAL_AUTH_FACEBOOK_SECRET
u'********************'
TEST_RUNNER
'django.test.runner.DiscoverRunner'
COMPRESS_ENABLED
False
CELERYD_MAX_TASKS_PER_CHILD
1
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
COMPRESS_OFFLINE
True
TIME_ZONE
'Europe/Kiev'
COMPRESS_OFFLINE_CONTEXT
{u'STATIC_URL': '/static/'}
SHOW_PRICES_COUNT
3
SOCIAL_AUTH_VK_OAUTH2_KEY
u'********************'
COMPRESS_YUGLIFY_CSS_ARGUMENTS
u'--terminal'
EMAIL_BACKEND
'automobi_project.email_backend.DKIMBackend'
COMPRESS_JINJA2_GET_ENVIRONMENT
<function JINJA2_GET_ENVIRONMENT at 0x7fa7a5b28ed8>
DEFAULT_TABLESPACE
''
ENV_PATH
'~/envs/automobi/bin/activate'
MIGRATION_MODULES
{}
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'automobi_project.settings'
USE_ETAGS
False
EXPORT_ROOT_CLIENT
'/home/automobi/src/api/api/media/export/'
LANGUAGES
(('ru', 'ru'), ('uk', 'ua'))
COMPRESS_CLOSURE_COMPILER_BINARY
u'java -jar compiler.jar'
FILE_UPLOAD_TEMP_DIR
None
CSRF_COOKIE_AGE
31449600
STATIC_URL
'/static/'
EMAIL_PORT
587
USE_DB_SHARE
True
SHORT_DATETIME_FORMAT
'm/d/Y P'
CELERY_RESULT_BACKEND
'redis://127.0.0.1/2'
PASSWORD_HASHERS
u'********************'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
TINYMCE_DEFAULT_CONFIG
{'file_browser_callback': 'mce_filebrowser',
 'fullscreen_new_window': 'true',
 'fullscreen_settings': {'theme_advanced_path_location': 'top'},
 'mode': 'textareas',
 'plugins': 'fullscreen',
 'theme': 'advanced',
 'theme_advanced_buttons3_add': 'fullscreen',
 'width': '100%'}
ABSOLUTE_URL_OVERRIDES
{}
LANGUAGE_COOKIE_PATH
'/'
REMOTE_HOST
'127.0.0.1'
LAST_MODIFIED_BY_DEFAULT
'10.05.2016'
CACHE_MIDDLEWARE_SECONDS
600
TABLES_TO_SHARD
('price_generator_price',
 'price_generator_pricelistitem',
 'price_generator_splpli',
 'price_generator_splpli',
 'price_generator_unmatchedproduct')
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.