daily pastebin goal
93%
SHARE
TWEET

Untitled

a guest Sep 19th, 2016 516 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AttributeError at /api/v1/packages/custom/
  2. 'collections.OrderedDict' object has no attribute 'content'
  3.  
  4. Request Method: POST
  5. Request URL: http://stage.3d4medical.com:9001/api/v1/packages/custom/
  6. Django Version: 1.9.9
  7. Python Executable: /usr/bin/uwsgi-core
  8. Python Version: 3.5.2
  9. Python Path: ['.', '', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages']
  10. Server time: Mon, 19 Sep 2016 14:42:30 +0000
  11. Installed Applications:
  12. ['django.contrib.auth',
  13.  'django.contrib.contenttypes',
  14.  'django.contrib.sessions',
  15.  'django.contrib.messages',
  16.  'django.contrib.staticfiles',
  17.  'django.contrib.admin',
  18.  'corsheaders',
  19.  'storages',
  20.  'rest_framework',
  21.  'rest_framework_swagger',
  22.  'generic_relations',
  23.  'sorl.thumbnail',
  24.  'sortedm2m',
  25.  'pinax.eventlog',
  26.  'logentry_admin',
  27.  'rest_framework.authtoken',
  28.  'logger',
  29.  'custom_user',
  30.  'common',
  31.  'users',
  32.  'assets',
  33.  'clinic',
  34.  'summary',
  35.  'axes']
  36. Installed Middleware:
  37. ('django.contrib.sessions.middleware.SessionMiddleware',
  38.  'corsheaders.middleware.CorsMiddleware',
  39.  'django.middleware.common.CommonMiddleware',
  40.  'django.middleware.csrf.CsrfViewMiddleware',
  41.  'django.middleware.common.BrokenLinkEmailsMiddleware',
  42.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  43.  'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
  44.  'django.contrib.messages.middleware.MessageMiddleware',
  45.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  46.  'django.middleware.security.SecurityMiddleware',
  47.  'summary.middleware.SummaryMiddleware',
  48.  'common.middleware.CCGZipMiddleware',
  49.  'logger.middleware.CompleteConsultationLogMiddleware')
  50.  
  51.  
  52. Traceback:  
  53.  
  54. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
  55.   149.                     response = self.process_exception_by_middleware(e, request)
  56.  
  57. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
  58.   147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  59.  
  60. File "/usr/lib/python3.5/contextlib.py" in inner
  61.   30.                 return func(*args, **kwds)
  62.  
  63. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/django/views/decorators/csrf.py" in wrapped_view
  64.   58.         return view_func(*args, **kwargs)
  65.  
  66. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/viewsets.py" in view
  67.   87.             return self.dispatch(request, *args, **kwargs)
  68.  
  69. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  70.   474.             response = self.handle_exception(exc)
  71.  
  72. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/views.py" in handle_exception
  73.   434.             self.raise_uncaught_exception(exc)
  74.  
  75. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  76.   471.             response = handler(request, *args, **kwargs)
  77.  
  78. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/mixins.py" in create
  79.   21.         self.perform_create(serializer)
  80.  
  81. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/mixins.py" in perform_create
  82.   26.         serializer.save()
  83.  
  84. File "/home/developer/clinical-solution-server/venv/lib/python3.5/site-packages/rest_framework/serializers.py" in save
  85.   192.             self.instance = self.create(validated_data)
  86.  
  87. File "./assets/serializers.py" in create
  88.   95.         package.rerender_html(subarticles)
  89.  
  90. File "./assets/models.py" in rerender_html
  91.   149.             if subarticle.content:
  92.  
  93. Exception Type: AttributeError at /api/v1/packages/custom/
  94. Exception Value: 'collections.OrderedDict' object has no attribute 'content'
  95. Request information:
  96. GET: No GET data
  97.  
  98. POST: No POST data
  99.  
  100. FILES: No FILES data
  101.  
  102. COOKIES: No cookie data
  103.  
  104. META:
  105. wsgi.input = <uwsgi._Input object at 0x7ff1003faca8>
  106. PATH_INFO = '/api/v1/packages/custom/'
  107. wsgi.run_once = False
  108. HTTP_ACCEPT = '*/*'
  109. DOCUMENT_ROOT = '/usr/share/nginx/html'
  110. SERVER_PORT = '9001'
  111. CONTENT_TYPE = 'application/json'
  112. wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
  113. HTTP_REFERER = 'http://localhost:8081/'
  114. wsgi.multithread = False
  115. wsgi.file_wrapper = ''
  116. REQUEST_SCHEME = 'http'
  117. REMOTE_ADDR = '185.52.76.195'
  118. HTTP_ORIGIN = 'http://localhost:8081'
  119. HTTP_CONTENT_TYPE = 'application/json'
  120. CONTENT_LENGTH = '268'
  121. wsgi.version =
  122. REMOTE_PORT = '57552'
  123. uwsgi.version = b'2.0.12-debian'
  124. HTTP_CONNECTION = 'keep-alive'
  125. HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4,de;q=0.2'
  126. REQUEST_URI = '/api/v1/packages/custom/'
  127. HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36'
  128. SCRIPT_NAME = ''
  129. wsgi.multiprocess = True
  130. SERVER_PROTOCOL = 'HTTP/1.1'
  131. HTTP_ACCEPT_ENCODING = 'gzip, deflate'
  132. SERVER_NAME = 'stage.3d4medical.com'
  133. uwsgi.node = b'ip-10-100-200-249'
  134. QUERY_STRING = ''
  135. HTTP_AUTHORIZATION = 'jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6Im1pY2hhZWwuc2t2b3J0c292QDNkNG1lZGljYWwuY29tIiwib3JpZ19pYXQiOjE0NzQyODUzMzYsImV4cCI6MTQ3NDI5Njc0MCwidXNlcl9pZCI6MywidXNlcm5hbWUiOiJtaWNoYWVsLnNrdm9ydHNvdkAzZDRtZWRpY2FsLmNvbSJ9.9Ukhm2W7jE8nhADj2ON7im_rt-d0wMQ6gfaN-r_Gp-Q'
  136. HTTP_HOST = 'stage.3d4medical.com:9001'
  137. HTTP_CONTENT_LENGTH = '268'
  138. wsgi.url_scheme = 'http'
  139. REQUEST_METHOD = 'POST'
  140.  
  141. Settings:
  142. Using settings module clinical_solution.settings.stage
  143. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  144. CACHE_MIDDLEWARE_SECONDS = 600
  145. AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
  146. MEDIA_ROOT = ''
  147. AWS_S3_USE_SSL = True
  148. MEDIA_URL = ''
  149. THOUSAND_SEPARATOR = ','
  150. MIDDLEWARE_CLASSES =
  151. EMAIL_TIMEOUT = None
  152. CSRF_COOKIE_NAME = 'csrftoken'
  153. AWS_S3_SECURE_URLS = True
  154. SECURE_CONTENT_TYPE_NOSNIFF = False
  155. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  156. MAILGUN_SERVER_NAME = 'mailgun.3d4medical.com'
  157. EMAIL_HOST_USER = ''
  158. SESSION_COOKIE_DOMAIN = None
  159. SESSION_CACHE_ALIAS = 'default'
  160. NUMBER_GROUPING = 0
  161. USE_X_FORWARDED_PORT = False
  162. ABSOLUTE_URL_OVERRIDES = {}
  163. SECURE_HSTS_SECONDS = 0
  164. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  165. TIME_ZONE = 'UTC'
  166. LANGUAGE_CODE = 'en-us'
  167. TEMPLATE_LOADERS = ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']
  168. SECURE_PROXY_SSL_HEADER = None
  169. EMAIL_PORT = 25
  170. USE_L10N = True
  171. MIGRATION_MODULES = {}
  172. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  173. DEFAULT_FROM_EMAIL = 'noreply@3d4medical.com'
  174. DEBUG = True
  175. YEAR_MONTH_FORMAT = 'F Y'
  176. 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']
  177. SERVER_EMAIL = 'noreply@3d4medical.com'
  178. THUMBNAIL_PRESERVE_FORMAT = True
  179. EMAIL_BACKEND = 'django_mailgun.MailgunBackend'
  180. ROOT_URLCONF = 'clinical_solution.urls'
  181. SWAGGER_SETTINGS = {'token_type': 'jwt'}
  182. DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
  183. SETTINGS_MODULE = 'clinical_solution.settings.stage'
  184. 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']
  185. CORS_EXPOSE_HEADERS = 'content-length'
  186. ADMINS = [('Sergei', 'sergei.bershadsky@3d4medical.com'), ('TyVik', 'viktor.tyshchenko@3d4medical.com')]
  187. SECRET_KEY = '********************'
  188. INSTALLED_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'corsheaders', 'storages', 'rest_framework', 'rest_framework_swagger', 'generic_relations', 'sorl.thumbnail', 'sortedm2m', 'pinax.eventlog', 'logentry_admin', 'rest_framework.authtoken', 'logger', 'custom_user', 'common', 'users', 'assets', 'clinic', 'summary', 'axes']
  189. DEFAULT_COMING_SOON_VIDEO_THUMB = 'http://clinical-solution-stage.s3.amazonaws.com/assets/videos/COMMON/video_not_available_'
  190. SESSION_COOKIE_NAME = 'sessionid'
  191. EMAIL_SSL_KEYFILE = '********************'
  192. AWS_QUERYSTRING_AUTH = False
  193. CSRF_COOKIE_HTTPONLY = False
  194. CSRF_COOKIE_AGE = 31449600
  195. USE_I18N = True
  196. AUTH_USER_MODEL = 'users.User'
  197. MONTH_DAY_FORMAT = 'F j'
  198. LANGUAGE_COOKIE_PATH = '/'
  199. 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-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('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-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
  200. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  201. DEFAULT_FAVICON = 'http://clinical-solution-stage.s3.amazonaws.com/static/favicon/favicon-96x96.png'
  202. LOCALE_PATHS = []
  203. BASE_DIR = '/home/developer/clinical-solution-server/clinical_solution'
  204. PASSWORD_HASHERS = '********************'
  205. CSRF_COOKIE_PATH = '/'
  206. 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']
  207. PREPEND_WWW = False
  208. MANAGERS = [('Sergei', 'sergei.bershadsky@3d4medical.com'), ('TyVik', 'viktor.tyshchenko@3d4medical.com')]
  209. DATE_FORMAT = 'N j, Y'
  210. CACHE_MIDDLEWARE_ALIAS = 'default'
  211. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  212. TEMPLATE_STRING_IF_INVALID = ''
  213. THUMBNAIL_DEBUG = True
  214. SILENCED_SYSTEM_CHECKS = []
  215. STATICFILES_STORAGE = 'common.storage.AWSStaticStorage'
  216. LANGUAGE_COOKIE_AGE = None
  217. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  218. EMAIL_USE_SSL = False
  219. SESSION_COOKIE_SECURE = False
  220. JWT_AUTH = {'JWT_EXPIRATION_DELTA': datetime.timedelta(0, 600), 'JWT_ALLOW_REFRESH': True, 'JWT_VERIFY': True}
  221. LOGIN_REDIRECT_URL = '/accounts/profile/'
  222. SECURE_BROWSER_XSS_FILTER = False
  223. SUMMARY_SESSION_KEY = '********************'
  224. IGNORABLE_404_URLS = []
  225. SECURE_REDIRECT_EXEMPT = []
  226. FORMAT_MODULE_PATH = None
  227. DUMMY_SELF_TEST_RESOURCES = '/home/developer/clinical-solution-server/clinical_solution/../summary/dummy/dummy_resources.json'
  228. DEFAULT_CONTENT_TYPE = 'text/html'
  229. FILE_UPLOAD_TEMP_DIR = None
  230. USE_X_FORWARDED_HOST = False
  231. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  232. FORCE_SCRIPT_NAME = None
  233. SESSION_SAVE_EVERY_REQUEST = False
  234. SESSION_COOKIE_AGE = 1209600
  235. THUMBNAIL_STORAGE = 'common.storage.PrivatePatientStorage'
  236. TIME_FORMAT = 'P'
  237. CSRF_COOKIE_SECURE = False
  238. EMAIL_USE_TLS = False
  239. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  240. AXES_LOCK_OUT_AT_FAILURE = False
  241. EMAIL_SSL_CERTFILE = None
  242. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  243. ALLOWED_HOSTS = ['*']
  244. TESTING = False
  245. EMAIL_HOST = 'localhost'
  246. LOGOUT_URL = '/accounts/logout/'
  247. DEFAULT_THUMBNAIL = 'http://auto.3d4medical.complete-anatomy.s3.amazonaws.com/Resources/Images/logo_example.png'
  248. SECURE_SSL_REDIRECT = False
  249. DATABASES = {'default': {'PORT': '5432', 'ENGINE': 'django.db.backends.postgresql', 'PASSWORD': '********************', 'OPTIONS': {}, 'USER': 'clinical_solution_user', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': True, 'TEST': {'MIRROR': None, 'COLLATION': None, 'CHARSET': None, 'NAME': None}, 'HOST': 'cas.crqkyy1xmngz.us-west-1.rds.amazonaws.com', 'TIME_ZONE': None, 'NAME': 'clinical_solution', 'AUTOCOMMIT': True}}
  250. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  251. DEFAULT_INDEX_TABLESPACE = ''
  252. DECIMAL_SEPARATOR = '.'
  253. REST_FRAMEWORK = {'TEST_REQUEST_DEFAULT_FORMAT': 'json', 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',), 'DEFAULT_THROTTLE_RATES': {'anon': '30/min'}, 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication', 'rest_framework_jwt.authentication.JSONWebTokenAuthentication')}
  254. TEMPLATE_DIRS = []
  255. EMAIL_HOST_PASSWORD = '********************'
  256. DEFAULT_CHARSET = 'utf-8'
  257. AWS_STORAGE_BUCKET_NAME = 'clinical-solution-stage'
  258. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  259. DEFAULT_TABLESPACE = ''
  260. CORS_ORIGIN_ALLOW_ALL = True
  261. LOGGING_CONFIG = 'logging.config.dictConfig'
  262. SESSION_COOKIE_HTTPONLY = False
  263. FILE_UPLOAD_PERMISSIONS = None
  264. ALLOWED_INCLUDE_ROOTS = []
  265. FILE_CHARSET = 'utf-8'
  266. SESSION_COOKIE_PATH = '/'
  267. USE_THOUSAND_SEPARATOR = False
  268. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  269. INTERNAL_IPS = []
  270. LOGIN_URL = '/accounts/login/'
  271. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  272. TEMPLATE_DEBUG = False
  273. DATABASE_ROUTERS = []
  274. DISALLOWED_USER_AGENTS = []
  275. APPEND_SLASH = True
  276. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  277. AWS_SECRET_ACCESS_KEY = '********************'
  278. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  279. DEBUG_PROPAGATE_EXCEPTIONS = False
  280. LOG_DIR = '/home/developer/clinical-solution-server/clinical_solution/../logs/'
  281. DATETIME_FORMAT = 'N j, Y, P'
  282. AXES_LOGIN_FAILURE_LIMIT = 5
  283. LANGUAGE_COOKIE_DOMAIN = None
  284. LOGGER_SETTINGS = {'ELASTICSEARCH_HOSTS': ['localhost'], 'IGNORED_PATHS': ['/static', '/favicon.ico'], 'RESPONSE_FIELDS': ('status', 'reason', 'charset', 'headers', 'content'), 'ELASTICSEARCH_ENABLED': False}
  285. 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', 'django.core.context_processors.request']}, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True}]
  286. AWS_ACCESS_KEY_ID = '********************'
  287. STATICFILES_DIRS = []
  288. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
  289. LANGUAGE_COOKIE_NAME = 'django_language'
  290. TEST_NON_SERIALIZED_APPS = []
  291. USE_ETAGS = False
  292. MAILGUN_ACCESS_KEY = '********************'
  293. PRIVATE_FILE_STORAGE = 'common.storage.PrivatePatientStorage'
  294. USE_TZ = True
  295. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  296. CSRF_TRUSTED_ORIGINS = []
  297. SESSION_FILE_PATH = None
  298. SHORT_DATE_FORMAT = 'm/d/Y'
  299. EMAIL_SUBJECT_PREFIX = '[Django] '
  300. WSGI_APPLICATION = 'clinical_solution.wsgi.application'
  301. STATIC_URL = '/static/'
  302. FIXTURE_DIRS = []
  303. CSRF_COOKIE_DOMAIN = None
  304. STATIC_ROOT = None
  305. X_FRAME_OPTIONS = 'SAMEORIGIN'
  306. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  307. FIRST_DAY_OF_WEEK = 0
  308. LOGGING = {'disable_existing_loggers': True, 'loggers': {'django.security.DisallowedHost': {'handlers': ['null'], 'propagate': False}, 'django': {'level': 'ERROR', 'handlers': ['file'], 'propagate': True}, 'django.request': {'level': 'ERROR', 'handlers': ['file'], 'propagate': False}, 'dl_logger': {'level': 'INFO', 'handlers': ['elastic'], 'propagate': True}}, 'handlers': {'file': {'class': 'logging.handlers.RotatingFileHandler', 'formatter': 'verbose', 'filename': '/home/developer/clinical-solution-server/clinical_solution/../logs/django.errors', 'maxBytes': 10485760, 'level': 'DEBUG'}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}, 'elastic': {'class': 'logger.handlers.ElasticHandler', 'formatter': 'verbose', 'level': 'INFO'}}, 'version': 1, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}}
  309. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  310. AXES_COOLOFF_TIME = 1
  311. AUTH_PASSWORD_VALIDATORS = '********************'
  312. SECURE_SSL_HOST = None
  313. THUMBNAIL_FORCE_OVERWRITE = True
  314. AXES_DISABLE_ACCESS_LOG = False
  315.  
  316.  
  317. You're seeing this error because you have DEBUG = True in your
  318. Django settings file. Change that to False, and Django will
  319. display a standard page generated by the handler for this status code.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top