Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ http 'https://api.qa2.openconceptlab.org/users/burke/collections/burketest/concepts/?page=1&limit=10&q=*&sortAsc=id×tamp=1603290338578&includeRetired=true'
- HTTP/1.1 500 Internal Server Error
- Connection: keep-alive
- Content-Length: 19594
- Content-Type: text/plain; charset=utf-8
- Date: Thu, 22 Oct 2020 12:56:39 GMT
- Server: nginx/1.10.3 (Ubuntu)
- Vary: Origin, Cookie
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- RequestError at /users/burke/collections/burketest/concepts/
- RequestError(400, 'search_phase_execution_exception', 'Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.')
- Request Method: GET
- Request URL: http://api.qa2.openconceptlab.org/users/burke/collections/burketest/concepts/?page=1&limit=10&q=*&sortAsc=id×tamp=1603290338578&includeRetired=true
- Django Version: 3.0.9
- Python Executable: /usr/local/bin/python
- Python Version: 3.8.3
- Python Path: ['/code', '/code', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages']
- Server time: Thu, 22 Oct 2020 12:56:39 +0000
- Installed Applications:
- ['django.contrib.admin',
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.messages',
- 'django.contrib.staticfiles',
- 'rest_framework',
- 'rest_framework.authtoken',
- 'drf_yasg',
- 'django_elasticsearch_dsl',
- 'corsheaders',
- 'core.common.apps.CommonConfig',
- 'core.users',
- 'core.orgs',
- 'core.sources.apps.SourceConfig',
- 'core.collections',
- 'core.concepts',
- 'core.mappings',
- 'core.importers']
- Installed Middleware:
- ['django.middleware.security.SecurityMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'corsheaders.middleware.CorsMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
- 'core.middlewares.middlewares.FixMalformedLimitParamMiddleware',
- 'core.middlewares.middlewares.RequestLogMiddleware']
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 505, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 465, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch
- response = handler(request, *args, **kwargs)
- File "/code/core/concepts/views.py", line 114, in get
- return self.list(request, *args, **kwargs)
- File "/code/core/common/mixins.py", line 100, in list
- self.object_list = self.filter_queryset(self.get_queryset())
- File "/code/core/common/views.py", line 76, in filter_queryset
- return self.get_search_results_qs().filter(id__in=queryset.values_list('id'))
- File "/code/core/common/views.py", line 237, in get_search_results_qs
- queryset = search_results.to_queryset()
- File "/usr/local/lib/python3.8/site-packages/django_elasticsearch_dsl/search.py", line 27, in to_queryset
- s = s.execute()
- File "/usr/local/lib/python3.8/site-packages/elasticsearch_dsl/search.py", line 715, in execute
- self, es.search(index=self._index, body=self.to_dict(), **self._params)
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 152, in _wrapped
- return func(*args, params=params, headers=headers, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/__init__.py", line 1612, in search
- return self.transport.perform_request(
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 392, in perform_request
- raise e
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 358, in perform_request
- status, headers_response, data = connection.perform_request(
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 269, in perform_request
- self._raise_error(response.status, raw_data)
- File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/base.py", line 300, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
- Exception Type: RequestError at /users/burke/collections/burketest/concepts/
- Exception Value: RequestError(400, 'search_phase_execution_exception', 'Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.')
- Request information:
- USER: AnonymousUser
- GET:
- page = '1'
- limit = '10'
- q = '*'
- sortAsc = 'id'
- timestamp = '1603290338578'
- includeRetired = 'true'
- POST: No POST data
- FILES: No FILES data
- COOKIES: No cookie data
- META:
- API_SUPERUSER_PASSWORD = 'd/\\9V\'!"4U:cuqR/@68[2{,P%'
- API_SUPERUSER_TOKEN = '34d5722cb6a84529a2053a595e2fef9e'
- AWS_ACCESS_KEY_ID = 'AKIAICQICRJLRCQ3TYFA'
- AWS_SECRET_ACCESS_KEY = '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'
- AWS_STORAGE_BUCKET_NAME = 'openmrs-ocl-qa2'
- CONTENT_LENGTH = ''
- CONTENT_TYPE = 'text/plain'
- DB_HOST = 'db'
- DB_PASSWORD = 'Postgres123'
- DJANGO_SETTINGS_MODULE = 'core.settings'
- EMAIL_NOREPLY_PASSWORD = 'L@$bK32zx7'
- ENVIRONMENT = 'qa'
- GATEWAY_INTERFACE = 'CGI/1.1'
- GPG_KEY = 'E3FF2839C048B25C084DEBE9B26995E310250568'
- HOME = '/root'
- HOSTNAME = 'f55fdaabb7e1'
- HTTP_ACCEPT = '*/*'
- HTTP_ACCEPT_ENCODING = 'gzip, deflate'
- HTTP_CONNECTION = 'close'
- HTTP_HOST = 'api.qa2.openconceptlab.org'
- HTTP_USER_AGENT = 'HTTPie/1.0.3'
- HTTP_X_FORWARD_FOR = '68.58.143.224'
- HTTP_X_REAL_IP = '68.58.143.224'
- LANG = 'C.UTF-8'
- PATH = '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
- PATH_INFO = '/users/burke/collections/burketest/concepts/'
- PWD = '/code'
- PYTHONUNBUFFERED = '1'
- PYTHON_GET_PIP_SHA256 = 'b3153ec0cf7b7bbf9556932aa37e4981c35dc2a2c501d70d91d2795aa532be79'
- PYTHON_GET_PIP_URL = 'https://github.com/pypa/get-pip/raw/eff16c878c7fd6b688b9b4c4267695cf1a0bf01b/get-pip.py'
- PYTHON_PIP_VERSION = '20.1.1'
- PYTHON_VERSION = '3.8.3'
- QUERY_STRING = 'page=1&limit=10&q=*&sortAsc=id×tamp=1603290338578&includeRetired=true'
- REDIS_HOST = 'redis'
- REMOTE_ADDR = '192.168.96.1'
- REMOTE_HOST = ''
- REQUEST_METHOD = 'GET'
- RUN_MAIN = 'true'
- SCRIPT_NAME = ''
- SECRET_KEY = 'E`1YA$@Mb#GZ02@XGkV"?|W-flD+8M'
- SENTRY_DSN_KEY = 'https://81b42656842c48da853b5d95d149698d:5b0d274157c94e2994e7521be3305d56@sentry.io/235935'
- SERVER_NAME = 'f55fdaabb7e1'
- SERVER_PORT = '8000'
- SERVER_PROTOCOL = 'HTTP/1.0'
- SERVER_SOFTWARE = 'WSGIServer/0.2'
- SHLVL = '1'
- TZ = 'UTC'
- _ = '/usr/local/bin/python'
- wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
- wsgi.file_wrapper = ''
- wsgi.input = <django.core.handlers.wsgi.LimitedStream object at 0x7fe36d32e730>
- wsgi.multiprocess = False
- wsgi.multithread = True
- wsgi.run_once = False
- wsgi.url_scheme = 'http'
- wsgi.version = '(1, 0)'
- Settings:
- Using settings module core.settings
- ABSOLUTE_URL_OVERRIDES = {}
- ADMINS = []
- ALLOWED_HOSTS = ['*']
- API_SUPERUSER_PASSWORD = '********************'
- API_SUPERUSER_TOKEN = '********************'
- APPEND_SLASH = True
- AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
- AUTH_PASSWORD_VALIDATORS = '********************'
- AUTH_USER_MODEL = 'users.UserProfile'
- AWS_ACCESS_KEY_ID = '********************'
- AWS_SECRET_ACCESS_KEY = '********************'
- AWS_STORAGE_BUCKET_NAME = 'openmrs-ocl-qa2'
- BASE_DIR = '/code'
- BROKER_URL = 'redis://redis:6379/0'
- CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
- CACHE_MIDDLEWARE_ALIAS = 'default'
- CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
- CACHE_MIDDLEWARE_SECONDS = 600
- CELERYD_HIJACK_ROOT_LOGGER = False
- CELERYD_MAX_TASKS_PER_CHILD = 1000
- CELERYD_PREFETCH_MULTIPLIER = 1
- CELERY_ACCEPT_CONTENT = ['application/json']
- CELERY_ACKS_LATE = True
- CELERY_ALWAYS_EAGER = False
- CELERY_BROKER_URL = 'redis://redis:6379/0'
- CELERY_DEFAULT_QUEUE = 'default'
- CELERY_DISABLE_RATE_LIMITS = False
- CELERY_ENABLE_UTC = True
- CELERY_IGNORE_RESULT = False
- CELERY_QUEUES = '(<unbound Queue default -> <unbound Exchange default(direct)> -> default>,)'
- CELERY_RESULT_BACKEND = 'redis://redis:6379/0'
- CELERY_ROUTES = {'tasks.bulk_import': {'queue': 'bulk_import'}, 'tasks.bulk_priority_import': {'queue': 'bulk_priority_import'}}
- CELERY_SEND_TASK_ERROR_EMAILS = False
- CELERY_TASK_PUBLISH_RETRY = True
- CELERY_TASK_RESULT_EXPIRES = 259200
- CELERY_TASK_SERIALIZER = 'json'
- CELERY_TIMEZONE = 'UTC'
- CELERY_TRACK_STARTED = True
- CORS_ALLOW_HEADERS = "('accept', 'accept-encoding', 'authorization', 'content-type', 'dnt', 'origin', 'user-agent', 'x-csrftoken', 'x-requested-with', 'INCLUDEFACETS')"
- CORS_EXPOSE_HEADERS = "('num_found', 'num_returned', 'pages', 'page_number', 'next', 'previous', 'offset', 'Content-Length', 'Content-Range')"
- CORS_ORIGIN_ALLOW_ALL = True
- CSRF_COOKIE_AGE = 31449600
- CSRF_COOKIE_DOMAIN = None
- CSRF_COOKIE_HTTPONLY = False
- CSRF_COOKIE_NAME = 'csrftoken'
- CSRF_COOKIE_PATH = '/'
- CSRF_COOKIE_SAMESITE = 'Lax'
- CSRF_COOKIE_SECURE = False
- CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
- CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
- CSRF_TRUSTED_ORIGINS = []
- CSRF_USE_SESSIONS = False
- DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql', 'NAME': 'postgres', 'USER': 'postgres', 'PASSWORD': '********************', 'HOST': 'db', 'PORT': 5432, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
- DATABASE_ROUTERS = []
- DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
- DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
- DATETIME_FORMAT = 'N j, Y, P'
- 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']
- DATE_FORMAT = 'N j, Y'
- 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']
- DEBUG = True
- DEBUG_PROPAGATE_EXCEPTIONS = False
- DECIMAL_SEPARATOR = '.'
- DEFAULT_CHARSET = 'utf-8'
- DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
- DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
- DEFAULT_FROM_EMAIL = 'webmaster@localhost'
- DEFAULT_INDEX_TABLESPACE = ''
- DEFAULT_LOCALE = 'en'
- DEFAULT_TABLESPACE = ''
- DISABLE_VALIDATION = False
- DISALLOWED_USER_AGENTS = []
- ELASTICSEARCH_DSL = {'default': {'hosts': ['es:9200', 'es1:9200']}}
- ELASTICSEARCH_DSL_AUTOSYNC = True
- ELASTICSEARCH_DSL_AUTO_REFRESH = True
- ELASTICSEARCH_DSL_PARALLEL = True
- ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = 'core.common.models.CelerySignalProcessor'
- EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
- EMAIL_HOST = 'localhost'
- EMAIL_HOST_PASSWORD = '********************'
- EMAIL_HOST_USER = ''
- EMAIL_PORT = 25
- EMAIL_SSL_CERTFILE = None
- EMAIL_SSL_KEYFILE = '********************'
- EMAIL_SUBJECT_PREFIX = '[Django] '
- EMAIL_TIMEOUT = None
- EMAIL_USE_LOCALTIME = False
- EMAIL_USE_SSL = False
- EMAIL_USE_TLS = False
- ENV = 'qa'
- ES_SYNC = True
- FILE_CHARSET = 'utf-8'
- FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
- FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
- FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
- FILE_UPLOAD_PERMISSIONS = 420
- FILE_UPLOAD_TEMP_DIR = None
- FIRST_DAY_OF_WEEK = 0
- FIXTURE_DIRS = []
- FLOWER_PWD = 'Flower123'
- FLOWER_USER = 'floweruser'
- FORCE_SCRIPT_NAME = None
- FORMAT_MODULE_PATH = None
- FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
- IGNORABLE_404_URLS = []
- INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'rest_framework.authtoken', 'drf_yasg', 'django_elasticsearch_dsl', 'corsheaders', 'core.common.apps.CommonConfig', 'core.users', 'core.orgs', 'core.sources.apps.SourceConfig', 'core.collections', 'core.concepts', 'core.mappings', 'core.importers']
- INTERNAL_IPS = []
- 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'), ('dsb', 'Lower Sorbian'), ('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'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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 Bokmål'), ('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'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
- LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
- LANGUAGE_CODE = 'en-us'
- LANGUAGE_COOKIE_AGE = None
- LANGUAGE_COOKIE_DOMAIN = None
- LANGUAGE_COOKIE_HTTPONLY = False
- LANGUAGE_COOKIE_NAME = 'django_language'
- LANGUAGE_COOKIE_PATH = '/'
- LANGUAGE_COOKIE_SAMESITE = None
- LANGUAGE_COOKIE_SECURE = False
- LOCALE_PATHS = []
- LOGGING = {}
- LOGGING_CONFIG = 'logging.config.dictConfig'
- LOGIN_REDIRECT_URL = '/accounts/profile/'
- LOGIN_URL = '/accounts/login/'
- LOGOUT_REDIRECT_URL = None
- MANAGERS = []
- MEDIA_ROOT = ''
- MEDIA_URL = ''
- MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
- MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'core.middlewares.middlewares.FixMalformedLimitParamMiddleware', 'core.middlewares.middlewares.RequestLogMiddleware']
- MIGRATION_MODULES = {}
- MONTH_DAY_FORMAT = 'F j'
- NUMBER_GROUPING = 0
- PASSWORD_HASHERS = '********************'
- PASSWORD_RESET_TIMEOUT_DAYS = '********************'
- PREPEND_WWW = False
- REDIS_DB = 0
- REDIS_HOST = 'redis'
- REDIS_PORT = 6379
- REDOC_SETTINGS = {'LAZY_RENDERING': True, 'NATIVE_SCROLLBARS': True}
- REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication',), 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'COERCE_DECIMAL_TO_STRING': False, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning', 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'}
- ROOT_URLCONF = 'core.urls'
- SECRET_KEY = '********************'
- SECURE_BROWSER_XSS_FILTER = False
- SECURE_CONTENT_TYPE_NOSNIFF = True
- SECURE_HSTS_INCLUDE_SUBDOMAINS = False
- SECURE_HSTS_PRELOAD = False
- SECURE_HSTS_SECONDS = 0
- SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
- SECURE_REDIRECT_EXEMPT = []
- SECURE_REFERRER_POLICY = None
- SECURE_SSL_HOST = None
- SECURE_SSL_REDIRECT = False
- SERVER_EMAIL = 'root@localhost'
- SESSION_CACHE_ALIAS = 'default'
- SESSION_COOKIE_AGE = 1209600
- SESSION_COOKIE_DOMAIN = None
- SESSION_COOKIE_HTTPONLY = True
- SESSION_COOKIE_NAME = 'sessionid'
- SESSION_COOKIE_PATH = '/'
- SESSION_COOKIE_SAMESITE = 'Lax'
- SESSION_COOKIE_SECURE = False
- SESSION_ENGINE = 'django.contrib.sessions.backends.db'
- SESSION_EXPIRE_AT_BROWSER_CLOSE = False
- SESSION_FILE_PATH = None
- SESSION_SAVE_EVERY_REQUEST = False
- SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
- SETTINGS_MODULE = 'core.settings'
- SHORT_DATETIME_FORMAT = 'm/d/Y P'
- SHORT_DATE_FORMAT = 'm/d/Y'
- SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
- SILENCED_SYSTEM_CHECKS = []
- STATICFILES_DIRS = []
- STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
- STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
- STATIC_ROOT = None
- STATIC_URL = '/static/'
- SWAGGER_SETTINGS = {'PERSIST_AUTH': True, 'SECURITY_DEFINITIONS': {'Basic': {'type': 'basic'}, 'Token': '********************'}, 'DOC_EXPANSION': 'none'}
- TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, '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']}}]
- TEST_NON_SERIALIZED_APPS = []
- TEST_RUNNER = 'core.common.tests.CustomTestRunner'
- THOUSAND_SEPARATOR = ','
- TIME_FORMAT = 'P'
- TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
- TIME_ZONE = 'UTC'
- TIME_ZONE_PLACE = 'America/New_York'
- USE_I18N = True
- USE_L10N = True
- USE_THOUSAND_SEPARATOR = False
- USE_TZ = True
- USE_X_FORWARDED_HOST = True
- USE_X_FORWARDED_PORT = False
- WSGI_APPLICATION = 'core.wsgi.application'
- X_FRAME_OPTIONS = 'DENY'
- YEAR_MONTH_FORMAT = 'F Y'
- 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement