· 9 years ago · Nov 17, 2016, 03:08 PM
1AttributeError at /api/v1/push-notifications/2286/
2'unicode' object has no attribute 'tzinfo'
3
4Request Method: PATCH
5Request URL: http://ci-responsibyl-bo.herokuapp.com/api/v1/push-notifications/2286/
6Django Version: 1.10
7Python Executable: /app/.heroku/python/bin/python
8Python Version: 2.7.12
9Python Path: ['/app', '/app/.heroku/python/bin', '/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.68.0.50/newrelic/bootstrap', '/app', '/app/.heroku/python/lib/python27.zip', '/app/.heroku/python/lib/python2.7', '/app/.heroku/python/lib/python2.7/plat-linux2', '/app/.heroku/python/lib/python2.7/lib-tk', '/app/.heroku/python/lib/python2.7/lib-old', '/app/.heroku/python/lib/python2.7/lib-dynload', '/app/.heroku/python/lib/python2.7/site-packages', '/app/.heroku/python/lib/python2.7/site-packages/setuptools-28.8.0-py2.7.egg', '/app/.heroku/python/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg', '/app']
10Server time: Thu, 17 Nov 2016 15:05:22 +0000
11Installed Applications:
12('django.contrib.admin',
13 'django.contrib.auth',
14 'django.contrib.contenttypes',
15 'django.contrib.sessions',
16 'django.contrib.messages',
17 'django.contrib.postgres',
18 'django.contrib.staticfiles',
19 'django_extensions',
20 'rest_framework',
21 'corsheaders',
22 'oauth2_provider',
23 'sibylsurveys.common',
24 'sibylsurveys.modules.company',
25 'sibylsurveys.modules.profiles',
26 'sibylsurveys.modules.surveys',
27 'sibylsurveys.modules.engagements',
28 'sibylsurveys.modules.responses',
29 'sibylsurveys.modules.locations',
30 'sibylsurveys.modules.devices',
31 'sibylsurveys.modules.reports',
32 'sibylsurveys.modules.push_notifications',
33 'storages',
34 'rest_framework_swagger',
35 'sibylsurveys.modules.schemas',
36 'debug_toolbar')
37Installed Middleware:
38('sibylsurveys.common.middleware.MethodOverrideMiddleware',
39 'django.middleware.security.SecurityMiddleware',
40 'django.middleware.csrf.CsrfViewMiddleware',
41 'django.contrib.sessions.middleware.SessionMiddleware',
42 'django.middleware.locale.LocaleMiddleware',
43 'django.middleware.common.CommonMiddleware',
44 'django.contrib.auth.middleware.AuthenticationMiddleware',
45 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
46 'django.contrib.messages.middleware.MessageMiddleware',
47 'django.middleware.clickjacking.XFrameOptionsMiddleware',
48 'corsheaders.middleware.CorsMiddleware',
49 'sibylsurveys.common.middleware.OauthExceptionMiddleware',
50 'sibylsurveys.common.middleware.TrackingMiddleware',
51 'debug_toolbar.middleware.DebugToolbarMiddleware')
52
53
54Traceback:
55
56File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
57 39. response = get_response(request)
58
59File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
60 249. response = self._get_response(request)
61
62File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
63 187. response = self.process_exception_by_middleware(e, request)
64
65File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
66 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
67
68File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.68.0.50/newrelic/hooks/framework_django.py" in wrapper
69 503. return wrapped(*args, **kwargs)
70
71File "/app/.heroku/python/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
72 58. return view_func(*args, **kwargs)
73
74File "/app/.heroku/python/lib/python2.7/site-packages/django/views/generic/base.py" in view
75 68. return self.dispatch(request, *args, **kwargs)
76
77File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.68.0.50/newrelic/hooks/component_djangorestframework.py" in _nr_wrapper_APIView_dispatch_
78 27. return wrapped(*args, **kwargs)
79
80File "/app/.heroku/python/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
81 474. response = self.handle_exception(exc)
82
83File "/app/.heroku/python/lib/python2.7/site-packages/rest_framework/views.py" in handle_exception
84 434. self.raise_uncaught_exception(exc)
85
86File "/app/.heroku/python/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
87 471. response = handler(request, *args, **kwargs)
88
89File "/app/sibylsurveys/modules/push_notifications/views.py" in patch
90 241. return self.partial_update(request, *args, **kwargs)
91
92File "/app/.heroku/python/lib/python2.7/site-packages/rest_framework/mixins.py" in partial_update
93 78. return self.update(request, *args, **kwargs)
94
95File "/app/sibylsurveys/modules/push_notifications/views.py" in update
96 176. return self.perform_update(serializer)
97
98File "/app/sibylsurveys/modules/push_notifications/views.py" in perform_update
99 179. valid = serializer.is_valid(True)
100
101File "/app/sibylsurveys/modules/push_notifications/serializers.py" in is_valid
102 204. sent = timezone.make_aware(sent, pytz.timezone(timezone_data))
103
104File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/timezone.py" in make_aware
105 368. return timezone.localize(value, is_dst=is_dst)
106
107File "/app/.heroku/python/lib/python2.7/site-packages/pytz/tzinfo.py" in localize
108 303. if dt.tzinfo is not None:
109
110Exception Type: AttributeError at /api/v1/push-notifications/2286/
111Exception Value: 'unicode' object has no attribute 'tzinfo'
112Request information:
113USER: rares.preda
114
115GET: No GET data
116
117POST: No POST data
118
119FILES: No FILES data
120
121COOKIES:
122csrftoken = 'TdHynVFRyGqmLWQ8HDFyYomid3f0SlxXfKlG6t71rrvAdNFIWj5QIX4OUGdNyfnn'
123tabstyle = 'raw-tab'
124sessionid = 'b1lu2vvww6yidn4lcf05koes9yz1ymm9'
125
126META:
127CONTENT_LENGTH = '128'
128CONTENT_TYPE = 'application/json;charset=UTF-8'
129CSRF_COOKIE = 'TdHynVFRyGqmLWQ8HDFyYomid3f0SlxXfKlG6t71rrvAdNFIWj5QIX4OUGdNyfnn'
130HTTP_ACCEPT = 'application/json, text/plain, */*'
131HTTP_ACCEPT_ENCODING = 'gzip, deflate, sdch, br'
132HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.8,ro;q=0.6'
133HTTP_AUTHORIZATION = 'Bearer jlNKgeT8GMcVP2M2fgPWbuJaHmLnXP'
134HTTP_CONNECTION = 'close'
135HTTP_CONNECT_TIME = '1'
136HTTP_COOKIE = 'sessionid=b1lu2vvww6yidn4lcf05koes9yz1ymm9; tabstyle=raw-tab; csrftoken=TdHynVFRyGqmLWQ8HDFyYomid3f0SlxXfKlG6t71rrvAdNFIWj5QIX4OUGdNyfnn'
137HTTP_HOST = 'ci-responsibyl-bo.herokuapp.com'
138HTTP_ORIGIN = 'http://localhost:5000'
139HTTP_REFERER = 'http://localhost:5000/'
140HTTP_TOTAL_ROUTE_TIME = '0'
141HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'
142HTTP_VIA = '1.1 vegur'
143HTTP_X_CSRFTOKEN = 'undefined'
144HTTP_X_FORWARDED_FOR = '89.238.223.10'
145HTTP_X_FORWARDED_PORT = '443'
146HTTP_X_FORWARDED_PROTO = 'https'
147HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
148HTTP_X_REQUEST_ID = '51c880fd-29a7-427a-9828-5f7e7455fc96'
149HTTP_X_REQUEST_START = '1479395120396'
150PATH_INFO = u'/api/v1/push-notifications/2286/'
151QUERY_STRING = ''
152RAW_URI = '/api/v1/push-notifications/2286/'
153REMOTE_ADDR = '10.146.193.23'
154REMOTE_PORT = '21290'
155REQUEST_METHOD = 'PATCH'
156SCRIPT_NAME = u''
157SERVER_NAME = '0.0.0.0'
158SERVER_PORT = '20191'
159SERVER_PROTOCOL = 'HTTP/1.1'
160SERVER_SOFTWARE = 'gunicorn/19.4.5'
161gunicorn.socket = <socket._socketobject object at 0x7f7b73b76e50>
162wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f7b73b559d0>
163wsgi.file_wrapper = ''
164wsgi.input = <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f7b73b55a50>
165wsgi.multiprocess = True
166wsgi.multithread = False
167wsgi.run_once = False
168wsgi.url_scheme = 'http'
169wsgi.version =
170
171Settings:
172Using settings module sibylsurveys.settings.development
173ABSOLUTE_URL_OVERRIDES = {}
174ACCESS_CONTROL_EXPOSE_HEADERS = True
175ADMINS = [('Adela Neacsu', 'adela.neacsu@rodeapps.com'), ('Horia Galbenu', 'horia.galbenu@rodeapps.com')]
176ALLOWED_HOSTS = ['*']
177API = u'********************'
178APPEND_SLASH = True
179AUTHENTICATION_BACKENDS = [u'django.contrib.auth.backends.ModelBackend']
180AUTH_PASSWORD_VALIDATORS = u'********************'
181AUTH_USER_MODEL = u'auth.User'
182AWS_ACCESS_KEY_ID = u'********************'
183AWS_QUERYSTRING_AUTH = False
184AWS_S3_CUSTOM_DOMAIN = 'ci-responsibyl-bucket.s3.amazonaws.com'
185AWS_SECRET_ACCESS_KEY = u'********************'
186AWS_STORAGE_BUCKET_NAME = 'ci-responsibyl-bucket'
187BASE_DIR = '/app'
188BASE_PATH = <Path:/app>
189BROKER_URL = 'amqp://WnenPWbs:_yxWmfthHIbsrB7xy7MCjUTCoc6G7Pom@scared-thrayonlosa-62.bigwig.lshift.net:10830/YTP3_kr0Kvuw'
190CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}}
191CACHE_MIDDLEWARE_ALIAS = u'default'
192CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
193CACHE_MIDDLEWARE_SECONDS = 600
194CORS_ALLOW_CREDENTIALS = True
195CORS_ALLOW_HEADERS =
196CORS_EXPOSE_HEADERS =
197CORS_ORIGIN_ALLOW_ALL = True
198CORS_ORIGIN_WHITELIST = '*'
199CSRF_COOKIE_AGE = 31449600
200CSRF_COOKIE_DOMAIN = None
201CSRF_COOKIE_HTTPONLY = False
202CSRF_COOKIE_NAME = u'csrftoken'
203CSRF_COOKIE_PATH = u'/'
204CSRF_COOKIE_SECURE = False
205CSRF_FAILURE_VIEW = u'django.views.csrf.csrf_failure'
206CSRF_HEADER_NAME = u'HTTP_X_CSRFTOKEN'
207CSRF_TRUSTED_ORIGINS = []
208DATABASES = {'default': {'NAME': 'dap2oijqftiqrq', 'HOST': 'ec2-54-243-207-190.compute-1.amazonaws.com', 'PASSWORD': u'********************', 'USER': 'nqrepbfdftnjky', 'ATOMIC_REQUESTS': False, 'TEST': {'MIRROR': None, 'CHARSET': None, 'COLLATION': None, 'NAME': None}, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql_psycopg2'}}
209DATABASE_ROUTERS = []
210DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
211DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
212DATETIME_FORMAT = u'N j, Y, P'
213DATETIME_INPUT_FORMATS = [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y']
214DATE_FORMAT = u'N j, Y'
215DATE_INPUT_FORMATS = [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y']
216DEBUG = True
217DEBUG_PROPAGATE_EXCEPTIONS = False
218DECIMAL_SEPARATOR = u'.'
219DEFAULT_CHARSET = u'utf-8'
220DEFAULT_CONTENT_TYPE = u'text/html'
221DEFAULT_EXCEPTION_REPORTER_FILTER = u'django.views.debug.SafeExceptionReporterFilter'
222DEFAULT_FILE_STORAGE = 'sibylsurveys.utils.custom_storages.MediaStorage'
223DEFAULT_FROM_EMAIL = u'webmaster@localhost'
224DEFAULT_INDEX_TABLESPACE = u''
225DEFAULT_TABLESPACE = u''
226DISALLOWED_USER_AGENTS = []
227DJANGO_APPS =
228EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
229EMAIL_CONFIG = {'EMAIL_PORT': 587, 'EMAIL_HOST_PASSWORD': u'********************', 'EMAIL_FILE_PATH': '', 'EMAIL_BACKEND': 'django.core.mail.backends.smtp.EmailBackend', 'EMAIL_HOST_USER': 'dev-no-reply@rodeapps.com', 'EMAIL_HOST': 'smtp.gmail.com', 'EMAIL_USE_TLS': True}
230EMAIL_FILE_PATH = ''
231EMAIL_HOST = 'smtp.gmail.com'
232EMAIL_HOST_PASSWORD = u'********************'
233EMAIL_HOST_USER = 'dev-no-reply@rodeapps.com'
234EMAIL_PORT = 587
235EMAIL_SSL_CERTFILE = None
236EMAIL_SSL_KEYFILE = u'********************'
237EMAIL_SUBJECT_PREFIX = u'[Django] '
238EMAIL_TIMEOUT = None
239EMAIL_USE_SSL = False
240EMAIL_USE_TLS = True
241ENVIRONMENT = 'DEV'
242FILE_CHARSET = u'utf-8'
243FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
244FILE_UPLOAD_HANDLERS = [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
245FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
246FILE_UPLOAD_PERMISSIONS = None
247FILE_UPLOAD_TEMP_DIR = None
248FIRST_DAY_OF_WEEK = 0
249FIXTURE_DIRS = []
250FORCE_SCRIPT_NAME = None
251FORMAT_MODULE_PATH = None
252IGNORABLE_404_URLS = []
253INSTALLED_APPS =
254INTERNAL_IPS = [u'::1', u'127.0.0.1']
255LANGUAGES =
256LANGUAGES_BIDI = [u'he', u'ar', u'fa', u'ur']
257LANGUAGE_CODE = 'en-us'
258LANGUAGE_COOKIE_AGE = None
259LANGUAGE_COOKIE_DOMAIN = None
260LANGUAGE_COOKIE_NAME = u'django_language'
261LANGUAGE_COOKIE_PATH = u'/'
262LOCALE_PATHS =
263LOCAL_APPS =
264LOGGING = {'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}, 'simple': {'format': '%(levelname)s %(message)s'}, 'hyper-verbose': {'format': '%(asctime)s %(created)f %(filename)s %(funcName)s %(levelname)s %(levelno)s %(lineno)d %(module)s %(msecs)d %(message)s %(name)s %(pathname)s %(process)d %(processName)s %(relativeCreated)d %(thread)d %(threadName)s'}}, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'hyper-verbose'}, 'file': {'class': 'logging.FileHandler', 'level': 'DEBUG', 'filename': '/tmp/django.log', 'formatter': 'hyper-verbose'}, 'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'include_html': True}}, 'version': 1, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'propagate': False, 'level': 'ERROR'}, 'django': {'handlers': ['console'], 'propagate': True, 'level': 'INFO'}}}
265LOGGING_CONFIG = u'logging.config.dictConfig'
266LOGIN_REDIRECT_URL = u'/accounts/profile/'
267LOGIN_URL = u'/accounts/login/'
268LOGOUT_REDIRECT_URL = None
269MANAGERS = []
270MEDIAFILES_LOCATION = 'media'
271MEDIA_ROOT = '/app/media'
272MEDIA_URL = 'https://ci-responsibyl-bucket.s3.amazonaws.com/media/'
273MESSAGE_STORAGE = u'django.contrib.messages.storage.fallback.FallbackStorage'
274MIDDLEWARE = None
275MIDDLEWARE_CLASSES =
276MIGRATION_MODULES = {}
277MONTH_DAY_FORMAT = u'F j'
278NOTIFICATION_BACKEND = 'push'
279NUMBER_GROUPING = 0
280OAUTH2_PROVIDER = {'OAUTH2_VALIDATOR_CLASS': 'sibylsurveys.utils.oauth2_validators.CustomOAuth2Validator'}
281PASSWORD_HASHERS = u'********************'
282PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
283PREPEND_WWW = False
284PUSH_NOTIFICATION_SETTINGS = {'FCM_API_KEY': u'********************', 'APNS_CERTIFICATE': <Path:/app/aps_development.pem>}
285REST_FRAMEWORK = {'COERCE_DECIMAL_TO_STRING': False, 'DEFAULT_RENDERER_CLASSES': ('sibylsurveys.common.renderers.UTF8JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'EXCEPTION_HANDLER': 'sibylsurveys.utils.exception_handler.custom_exception_handler', 'DEFAULT_AUTHENTICATION_CLASSES': ('oauth2_provider.ext.rest_framework.OAuth2Authentication', 'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication'), 'TEST_REQUEST_DEFAULT_FORMAT': 'json', 'NON_FIELD_ERRORS_KEY': u'********************', 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',), 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.JSONParser', 'rest_framework.parsers.FormParser', 'rest_framework.parsers.MultiPartParser'), 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',)}
286ROOT_URLCONF = 'sibylsurveys.urls'
287SECRET_KEY = u'********************'
288SECURE_BROWSER_XSS_FILTER = False
289SECURE_CONTENT_TYPE_NOSNIFF = False
290SECURE_HSTS_INCLUDE_SUBDOMAINS = False
291SECURE_HSTS_SECONDS = 0
292SECURE_PROXY_SSL_HEADER = None
293SECURE_REDIRECT_EXEMPT = []
294SECURE_SSL_HOST = None
295SECURE_SSL_REDIRECT = False
296SERVER_EMAIL = u'root@localhost'
297SESSION_CACHE_ALIAS = u'default'
298SESSION_COOKIE_AGE = 1209600
299SESSION_COOKIE_DOMAIN = None
300SESSION_COOKIE_HTTPONLY = True
301SESSION_COOKIE_NAME = u'sessionid'
302SESSION_COOKIE_PATH = u'/'
303SESSION_COOKIE_SECURE = False
304SESSION_ENGINE = u'django.contrib.sessions.backends.db'
305SESSION_EXPIRE_AT_BROWSER_CLOSE = False
306SESSION_FILE_PATH = None
307SESSION_SAVE_EVERY_REQUEST = False
308SESSION_SERIALIZER = u'django.contrib.sessions.serializers.JSONSerializer'
309SETTINGS_MODULE = 'sibylsurveys.settings.development'
310SHORT_DATETIME_FORMAT = u'm/d/Y P'
311SHORT_DATE_FORMAT = u'm/d/Y'
312SIGNING_BACKEND = u'django.core.signing.TimestampSigner'
313SILENCED_SYSTEM_CHECKS = ['fields.W340']
314STATICFILES_DIRS = []
315STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
316STATICFILES_LOCATION = 'static'
317STATICFILES_STORAGE = 'sibylsurveys.utils.custom_storages.StaticStorage'
318STATIC_ROOT = '/app/staticfiles'
319STATIC_URL = 'https://ci-responsibyl-bucket.s3.amazonaws.com/static/'
320SURVEY_REPORT_ETA_RATIO = 0.0075
321SWAGGER_SETTINGS = {'exclude_namespaces': ['oauth2_provider', 'oauth_client', 'rest_framework'], 'info': {'description': 'The most awesomest app in the www (whole wide world).', 'title': 'Responsibyl', 'contact': 'adela.neacsu@rodeapps.com'}, 'api_version': u'********************', 'is_authenticated': True}
322TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}, 'APP_DIRS': True}]
323TEST_NON_SERIALIZED_APPS = []
324TEST_RUNNER = u'django.test.runner.DiscoverRunner'
325THIRD_PARTY_APPS =
326THOUSAND_SEPARATOR = u','
327TIME_FORMAT = u'P'
328TIME_INPUT_FORMATS = [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
329TIME_ZONE = 'UTC'
330USE_AWS = True
331USE_DEVICES = False
332USE_ETAGS = False
333USE_I18N = True
334USE_L10N = True
335USE_THOUSAND_SEPARATOR = False
336USE_TZ = False
337USE_X_FORWARDED_HOST = False
338USE_X_FORWARDED_PORT = False
339WSGI_APPLICATION = 'sibylsurveys.wsgi.application'
340X_FRAME_OPTIONS = u'SAMEORIGIN'
341YEAR_MONTH_FORMAT = u'F Y'
342
343
344You're seeing this error because you have DEBUG = True in your
345Django settings file. Change that to False, and Django will
346display a standard page generated by the handler for this status code.