'bannerTabletExtraHdImageUrl'
Request Method: | GET |
---|---|
Request URL: | https://backend.citizine.tv/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA |
Django Version: | 1.8.4 |
Exception Type: | KeyError |
Exception Value: | 'bannerTabletExtraHdImageUrl' |
Exception Location: | /opt/python/current/app/citizine/services/youtube.py in profile, line 91 |
Python Executable: | /opt/python/run/venv/bin/python |
Python Version: | 2.7.10 |
Python Path: | ['/opt/python/run/venv/lib64/python2.7/site-packages', '/opt/python/run/venv/lib/python2.7/site-packages', '/opt/python/current/app/citizine', '/opt/python/current/app', '', '/opt/python/run/baselinenv/local/lib64/python2.7/site-packages', '/opt/python/run/baselinenv/local/lib/python2.7/site-packages', '/opt/python/run/baselinenv/lib64/python2.7', '/opt/python/run/baselinenv/lib/python2.7', '/opt/python/run/baselinenv/lib64/python2.7/site-packages', '/opt/python/run/baselinenv/lib/python2.7/site-packages', '/opt/python/run/baselinenv/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7'] |
Server time: | Thu, 28 Mar 2024 13:47:44 -0700 |
/opt/python/run/venv/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 | KeyError('bannerTabletExtraHdImageUrl',) |
callback_args | () |
resolver_match | ResolverMatch(func=citizine.views.view_channel, args=(), kwargs={'channel_id': u'UCgOzuKmaKTlG1UqLtn2jAEA', 'video_service_id': u'1'}, url_name=citizine_view_channel, app_name=None, namespaces=[]) |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0x7fcaee6d2050>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fcaf37eedd0> |
request | "<WSGIRequest\npath:/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'ouZzWuALUUhI6ALz9RkqiDPBjr5ABRyV',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'backend.citizine.tv',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.195.47.227',\n 'HTTP_X_FORWARDED_PORT': '443',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'LD_LIBRARY_PATH': '/usr/local/lib/:',\n 'PATH_INFO': u'/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'PATH_TRANSLATED': '/opt/python/current/app/citizine/wsgi.py/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '172.31.4.206',\n 'REMOTE_PORT': '17160',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'SCRIPT_FILENAME': '/opt/python/current/app/citizine/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '172.31.1.49',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'backend.citizine.tv',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.23 (Amazon) mod_wsgi/3.5 Python/2.7.10',\n 'mod_wsgi.application_group': 'ip-172-31-1-49.ec2.internal|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'wsgi',\n 'mod_wsgi.queue_start': '1711658863917333',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 5),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fcaedac60f0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fcaee063e40>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fcaedac65b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function view_channel at 0x7fcaee935758> |
wrapped_callback | <function view_channel at 0x7fcaee935758> |
resolver | <RegexURLResolver 'citizine.urls' (None:None) ^/> |
callback_kwargs | {'channel_id': u'UCgOzuKmaKTlG1UqLtn2jAEA', 'video_service_id': u'1'} |
response | None |
urlconf | 'citizine.urls' |
/opt/python/current/app/citizine/views.py
in view_channel
# Find all POIs belonging
places = ParentContentPlace.objects \
.filter(parentcontent__curated=False) \
.filter(parentcontent__in=videos) \
.distinct("place")
channel = profile(video_service_id, channel_id) or {}...
channel['pois'] = [p.place.for_output() for p in places]
channel['id'] = channel_id
taggers = set()
by_tagger = {}
for video in videos:
Variable | Value |
---|---|
profile | <function profile at 0x7fcaeded4b90> |
videos | [<PVideo: Aventura en Las Pirámides y Degustación de Chiles>] |
places | [] |
request | "<WSGIRequest\npath:/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'ouZzWuALUUhI6ALz9RkqiDPBjr5ABRyV',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'backend.citizine.tv',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.195.47.227',\n 'HTTP_X_FORWARDED_PORT': '443',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'LD_LIBRARY_PATH': '/usr/local/lib/:',\n 'PATH_INFO': u'/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'PATH_TRANSLATED': '/opt/python/current/app/citizine/wsgi.py/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '172.31.4.206',\n 'REMOTE_PORT': '17160',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA',\n 'SCRIPT_FILENAME': '/opt/python/current/app/citizine/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '172.31.1.49',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'backend.citizine.tv',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.23 (Amazon) mod_wsgi/3.5 Python/2.7.10',\n 'mod_wsgi.application_group': 'ip-172-31-1-49.ec2.internal|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'wsgi',\n 'mod_wsgi.queue_start': '1711658863917333',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 5),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fcaedac60f0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fcaee063e40>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fcaedac65b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
channel_id | u'UCgOzuKmaKTlG1UqLtn2jAEA' |
service | <VideoService: YouTube> |
ParentContentPlace | <class 'citizine.models.ParentContentPlace'> |
video_service_id | 1 |
VideoService | <class 'citizine.models.VideoService'> |
/opt/python/current/app/citizine/services/__init__.py
in profile
def username(video_service_id, name):
return __services[video_service_id].username(name)
def profile(video_service_id, name):
return __services[video_service_id].profile(name)...
Variable | Value |
---|---|
name | u'UCgOzuKmaKTlG1UqLtn2jAEA' |
video_service_id | 1 |
/opt/python/current/app/citizine/services/youtube.py
in profile
'name': channel['title'],
'username': channel['title'],
'thumbnail': channel['thumbnails']['high']['url'],
'description': channel['description'],
'link': 'https://youtube.com/channel/%s' % account_id,
'banner_large': images['bannerTabletExtraHdImageUrl'],...
'banner_tablet': images['bannerTabletHdImageUrl'],
'banner_mobile': images['bannerMobileMediumHdImageUrl'],
'banner_small': images['bannerMobileMediumHdImageUrl']
}
Variable | Value |
---|---|
account_id | u'UCgOzuKmaKTlG1UqLtn2jAEA' |
youtube | <googleapiclient.discovery.Resource object at 0x7fcaed8e5750> |
part | 'brandingSettings,snippet' |
images | {u'bannerExternalUrl': u'https://lh3.googleusercontent.com/L4tVk_pTJVH3ul-UoHzcUG5dO5wjOfqJ50Vh22oQmNaGzBpAYg4djYVFsa91WXHIgzxKqOQY1AU'} |
rsp | {u'etag': u'F2sdSptZpLnv6YUrs7IM-15mxp4', u'items': [{u'brandingSettings': {u'channel': {u'country': u'US', u'description': u'Yo soy Ydelays una chica so\xf1adora venezolana que vive en Los Angeles. Tengo un canal de belleza donde les hago tutoriales todas las semanas y ahora este canal de Vlogs donde puedo compartirles un poco mas de mi vida personal :)\nEspero que se diviertan, no olviden suscribirse!\nQue comience la aventura!', u'keywords': u'"Vlogs Semanales" Belleza Maquillaje', u'title': u'YdeVlogs', u'unsubscribedTrailer': u'xc5ikJZ_iDM'}, u'image': {u'bannerExternalUrl': u'https://lh3.googleusercontent.com/L4tVk_pTJVH3ul-UoHzcUG5dO5wjOfqJ50Vh22oQmNaGzBpAYg4djYVFsa91WXHIgzxKqOQY1AU'}}, u'etag': u'YOIOCtndAUWK78ssMNYCzRhfri0', u'id': u'UCgOzuKmaKTlG1UqLtn2jAEA', u'kind': u'youtube#channel', u'snippet': {u'country': u'US', u'customUrl': u'@ydevlogs', u'description': u'Yo soy Ydelays una chica so\xf1adora venezolana que vive en Los Angeles. Tengo un canal de belleza donde les hago tutoriales todas las semanas y ahora este canal de Vlogs donde puedo compartirles un poco mas de mi vida personal :)\nEspero que se diviertan, no olviden suscribirse!\nQue comience la aventura!', u'localized': {u'description': u'Yo soy Ydelays una chica so\xf1adora venezolana que vive en Los Angeles. Tengo un canal de belleza donde les hago tutoriales todas las semanas y ahora este canal de Vlogs donde puedo compartirles un poco mas de mi vida personal :)\nEspero que se diviertan, no olviden suscribirse!\nQue comience la aventura!', u'title': u'YdeVlogs'}, u'publishedAt': u'2014-10-18T20:14:48Z', u'thumbnails': {u'default': {u'height': 88, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s88-c-k-c0x00ffffff-no-rj', u'width': 88}, u'high': {u'height': 800, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s800-c-k-c0x00ffffff-no-rj', u'width': 800}, u'medium': {u'height': 240, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s240-c-k-c0x00ffffff-no-rj', u'width': 240}}, u'title': u'YdeVlogs'}}], u'kind': u'youtube#channelListResponse', u'pageInfo': {u'resultsPerPage': 5, u'totalResults': 1}} |
channel | {u'country': u'US', u'customUrl': u'@ydevlogs', u'description': u'Yo soy Ydelays una chica so\xf1adora venezolana que vive en Los Angeles. Tengo un canal de belleza donde les hago tutoriales todas las semanas y ahora este canal de Vlogs donde puedo compartirles un poco mas de mi vida personal :)\nEspero que se diviertan, no olviden suscribirse!\nQue comience la aventura!', u'localized': {u'description': u'Yo soy Ydelays una chica so\xf1adora venezolana que vive en Los Angeles. Tengo un canal de belleza donde les hago tutoriales todas las semanas y ahora este canal de Vlogs donde puedo compartirles un poco mas de mi vida personal :)\nEspero que se diviertan, no olviden suscribirse!\nQue comience la aventura!', u'title': u'YdeVlogs'}, u'publishedAt': u'2014-10-18T20:14:48Z', u'thumbnails': {u'default': {u'height': 88, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s88-c-k-c0x00ffffff-no-rj', u'width': 88}, u'high': {u'height': 800, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s800-c-k-c0x00ffffff-no-rj', u'width': 800}, u'medium': {u'height': 240, u'url': u'https://yt3.ggpht.com/ytc/AIdro_kH9zST-V42Jo0kpJSeHXNT6o-BHa1SxPGxtSSz_w=s240-c-k-c0x00ffffff-no-rj', u'width': 240}}, u'title': u'YdeVlogs'} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
SERVER_SOFTWARE | 'Apache/2.4.23 (Amazon) mod_wsgi/3.5 Python/2.7.10' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
HTTP_X_FORWARDED_PORT | '443' |
PATH_INFO | u'/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
LD_LIBRARY_PATH | '/usr/local/lib/:' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'keep-alive' |
SERVER_NAME | 'backend.citizine.tv' |
REMOTE_ADDR | '172.31.4.206' |
mod_wsgi.queue_start | '1711658863917333' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/opt/python/current/app/citizine/wsgi.py/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '172.31.1.49' |
DOCUMENT_ROOT | '/var/www/html' |
mod_wsgi.process_group | 'wsgi' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_FILENAME | '/opt/python/current/app/citizine/wsgi.py' |
SERVER_ADMIN | 'root@localhost' |
wsgi.input | <mod_wsgi.Input object at 0x7fcaedac65b0> |
HTTP_HOST | 'backend.citizine.tv' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/channel/1/UCgOzuKmaKTlG1UqLtn2jAEA' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '44.195.47.227' |
wsgi.errors | <mod_wsgi.Log object at 0x7fcaedac60f0> |
REMOTE_PORT | '17160' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (3, 5) |
wsgi.run_once | False |
REQUEST_METHOD | 'GET' |
mod_wsgi.application_group | 'ip-172-31-1-49.ec2.internal|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'ouZzWuALUUhI6ALz9RkqiDPBjr5ABRyV' |
citizine.settings.production-admin
Setting | Value |
---|---|
DEBUG_TOOLBAR_PANELS | ('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel', 'haystack_panel.panel.HaystackDebugPanel') |
AWS_REGION | 'us-east-1' |
SECURE_BROWSER_XSS_FILTER | False |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background') |
USE_THOUSAND_SEPARATOR | False |
ACCOUNT_AUTHENTICATION_METHOD | 'username_email' |
CSRF_COOKIE_SECURE | True |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'citizine.urls' |
MANAGERS | () |
AWS_HEADERS | {'Cache-Control': 'max-age=94608000', 'Expires': 'Thu, 31 Dec 2099 20:00:00 GMT'} |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
MEDIAFILES_LOCATION | '' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/tmp/static.citizine.tv/' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
GLOBAL_DEBUG | True |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'accounts@citizine.tv' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
USE_LOCKDOWN | False |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
THUMBNAIL_ALIASES | {'': {'category_image': {'size': (400, 400)}, 'city_image': {'size': (400, 400)}, 'featured_image': {'size': (1280, 600)}, 'image': {'size': (600, 400)}, 'thumb_image': {'size': (60, 40)}}} |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': 'db.citizine.tv', 'NAME': 'citizinedb', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'citizine'}} |
EMAIL_SSL_KEYFILE | u'********************' |
TEMPLATE_DEBUG | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
GA_TRACKING_CODE | 'UA-55134534-1' |
THUMBNAIL_DEBUG | True |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
SOCIALACCOUNT_PROVIDERS | {'facebook': {'AUTH_PARAMS': {'auth_type': 'reauthenticate'}, 'METHOD': 'oauth2', 'SCOPE': ['public_profile', 'email'], 'VERIFIED_EMAIL': False, 'VERSION': 'v2.3'}} |
STATICFILES_LOCATION | '' |
ACCOUNT_EMAIL_VERIFICATION | 'optional' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'custom_storages.StaticStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'cache.citizine.tv:11211'}} |
EMAIL_TIMEOUT | None |
SESSION_COOKIE_PATH | '/' |
MESSAGE_TAGS | {10: 'debug', 20: 'info', 25: 'success', 30: 'warning', 40: 'danger'} |
AWS_S3_BUCKET_NAME_STATIC | 'static.citizine.tv' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
IMAGE_CROPPING_JQUERY_URL | 'grappelli/jquery/jquery-2.1.4.min.js' |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
AWS_S3_BUCKET_NAME_MEDIA | 'media.citizine.tv' |
AWS_S3_MAX_AGE_SECONDS_STATIC | 31536000 |
DEFAULT_INDEX_TABLESPACE | '' |
JQUERY_URL | 'grappelli/jquery/jquery-2.1.4.min.js' |
CKEDITOR_JQUERY_URL | 'grappelli/jquery/jquery-2.1.4.min.js' |
AWS_S3_BUCKET_AUTH | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
WSGI_APPLICATION | 'citizine.wsgi.application' |
SOLO_CACHE | 'default' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'URL': 'http://54.86.149.97:8983/solr'}} |
OPENTABLE | {'referral_id': '78424'} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
AWS_SES_REGION_NAME | 'us-east-1' |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | True |
BASE_URL | '' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
INTERNAL_IPS | (u'::1', u'127.0.0.1') |
AWS_ACCESS_KEY_ID | u'********************' |
DEFAULT_FILE_STORAGE | 'custom_storages.MediaStorage' |
INSTALLED_APPS | ['grappelli', 'django.contrib.admin', 'polymorphic', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.flatpages', 'django.contrib.gis', 'solo', 'publisher', 'easy_thumbnails', 'image_cropping', 'envelope', 'crispy_forms', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.twitter', 'allauth.socialaccount.providers.facebook', 'haystack', 'ckeditor', 'bootstrapform', 'debug_toolbar', 'haystack_panel', 'citizine', 'storages', 'django_ses'] |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
USE_L10N | True |
THUMBNAIL_DEFAULT_STORAGE | 'custom_storages.MediaStorage' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
GRAPPELLI_ADMIN_TITLE | 'Citizine' |
GA_PROPERTY_ID | 'UA-55134534-1' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
AWS_SECRET_ACCESS_KEY | u'********************' |
SOCIALACCOUNT_FORMS | {'signup': 'citizine.forms.SocialSignupForm'} |
DEBUG_PROPAGATE_EXCEPTIONS | False |
ACCOUNT_USERNAME_REQUIRED | True |
STATIC_VERSION_NUMBER | '2.7' |
MONTH_DAY_FORMAT | 'F j' |
AWS_QUERYSTRING_AUTH | False |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
TIME_FORMAT | 'P' |
AWS_S3_MAX_AGE_SECONDS | 31536000 |
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') |
ACCOUNT_LOGOUT_REDIRECT_URL | '/' |
BOOKING_REFERENCE_TYPES | {'amexdining': 8, 'amexsignature': 7, 'amextravel': 6, 'opentable': 1, 'opentableuk': 4} |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend') |
EMAIL_HOST_PASSWORD | u'********************' |
AWS_SES_REGION_ENDPOINT | 'email.us-east-1.amazonaws.com' |
AUTH_PROFILE_MODULE | 'citizine.Profile' |
LANGUAGE_COOKIE_DOMAIN | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SESSION_ENGINE | 'django.contrib.sessions.backends.cached_db' |
AWS_S3_BUCKET_AUTH_STATIC | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
ENVELOPE_EMAIL_RECIPIENTS | 'sam@josephmark.com.au' |
LOGIN_REDIRECT_URL | '/' |
SOCIALACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_LOGOUT_ON_GET | True |
DECIMAL_SEPARATOR | '.' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
ACCOUNT_FORMS | {'login': 'citizine.forms.LoginForm', 'reset_password': 'citizine.forms.ResetPasswordForm', 'signup': 'citizine.forms.SignupForm'} |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
SESSION_FILE_PATH | None |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | () |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
HAYSTACK_ENABLED | True |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/tmp/media.citizine.tv/' |
AWS_S3_CALLING_FORMAT_STATIC | 'boto.s3.connection.OrdinaryCallingFormat' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'accounts@citizine.tv' |
BASE_DIR | '/opt/python/current/app/citizine' |
MEDIA_URL | '//s3.amazonaws.com/media.citizine.tv/' |
DATETIME_FORMAT | 'N j, Y, P' |
AWS_S3_CALLING_FORMAT | 'boto.s3.connection.OrdinaryCallingFormat' |
CKEDITOR_CONFIGS | {'default': {'contentsCss': ['//s3.amazonaws.com/static.citizine.tv/ckeditor.css'], 'extraAllowedContent': 'span(*)[*];p a div h2 h3 h4 h5 h6 section article iframe object embed strong b i em cite pre blockquote small,sub sup code ul ol li dl dt dd table thead tbody th tr td img caption mediawrapper br[href,src,target,width,height,colspan,span,alt,name,title,class,id,data-options,data-slug]{text-align,float,margin}(*);', 'extraPlugins': 'poi,widget,widgetbootstrap,simpleuploads,imagecrop', 'height': 600, 'imagecrop': {'cropsizes': [{'height': 400, 'name': 'Destination Image', 'title': '400px square', 'width': 400}, {'height': 600, 'name': 'Featured Image', 'title': '1280 * 600', 'width': 1280}, {'height': 400, 'name': 'Article/Video Image', 'title': '600 * 400', 'width': 600}, {'height': 320, 'name': 'Article Content Small Image', 'title': '3/2 ratio', 'width': 480}, {'height': 0, 'name': 'Article Content Large Image', 'title': 'Aim for 960 wide', 'width': 0}, {'height': 0, 'name': 'Free crop', 'title': 'No restrictions', 'width': 0}], 'maximumDimensions': {'height': 1280, 'width': 1280}}, 'resize_enabled': 'true', 'toolbar': [['Source', '-', 'NewPage'], ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'RemoveFormat', '-', 'Undo', 'Redo'], ['NumberedList', 'BulletedList', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['Link', 'Unlink', 'Anchor'], ['Bold', 'Italic', 'Underline'], ['WidgetbootstrapRowCol', 'WidgetbootstrapTwoCol', 'addImage'], ['POI'], ['Maximize', 'ShowBlocks'], ['Styles', 'Format']], 'width': 600}} |
ADMIN_PANEL | True |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': True, 'handlers': {'stderr': {'class': 'logging.StreamHandler', 'level': 'INFO', 'stream': <mod_wsgi.Log object at 0x7fcb17407330>}}, 'loggers': {'application': {'handlers': ['stderr'], 'level': 'INFO'}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/python/current/app/citizine/templates/allauth', '/opt/python/current/app/citizine/templates/publisher'], 'OPTIONS': {'context_processors': ['django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'citizine.context_processors.search_destinations', 'citizine.context_processors.footer_destinations', 'citizine.context_processors.coming_soon_destinations', 'citizine.context_processors.search_links', 'citizine.context_processors.social_links', 'citizine.context_processors.highlight_poi', 'citizine.context_processors.is_auth_page', 'citizine.context_processors.categories', 'citizine.context_processors.contact_details'], 'debug': True, 'loaders': [('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])]}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
IGNORABLE_404_URLS | () |
SECURE_SSL_REDIRECT | True |
TIME_ZONE | 'America/Los_Angeles' |
IMAGE_CROPPING_THUMB_SIZE | (300, 300) |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django_ses.SESBackend' |
LANGUAGE_COOKIE_NAME | 'django_language' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'citizine.settings.production-admin' |
USE_ETAGS | False |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '//s3.amazonaws.com/static.citizine.tv/' |
EMAIL_PORT | 25 |
USE_TZ | True |
CACHE_PREFIX | 'prod-' |
GA_DOMAIN | 'www.citizine.tv' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
PAGING | {'num_per_page': 13} |
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') |
LOGGING_CONFIG | 'logging.config.dictConfig' |
EMAIL_HOST_USER | '' |
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.