SHARE
TWEET

Untitled

a guest Jan 26th, 2019 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FieldError at /api/v1/users/followers/moss/
  2. Cannot resolve keyword 'nick' into field. Choices are: created, follower, follower_id, following, following_id, id, modified
  3.  
  4. Request Method: GET
  5. Request URL: http://127.0.0.1:8000/api/v1/users/followers/moss/
  6. Django Version: 2.0.3
  7. Python Executable: /usr/local/bin/python
  8. Python Version: 3.6.8
  9. Python Path: ['/code', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', '/usr/local/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/site-packages']
  10. Server time: Sat, 26 Jan 2019 16:34:02 +0000
  11. Installed Applications:
  12. ('django.contrib.admin',
  13.  'django.contrib.auth',
  14.  'django.contrib.contenttypes',
  15.  'django.contrib.sessions',
  16.  'django.contrib.messages',
  17.  'django.contrib.staticfiles',
  18.  'rest_framework',
  19.  'djoser',
  20.  'social_django',
  21.  'django_filters',
  22.  'drf_yasg',
  23.  'corsheaders',
  24.  'readingnow.users',
  25.  'readingnow.links',
  26.  'django_nose')
  27. Installed Middleware:
  28. ('django.middleware.security.SecurityMiddleware',
  29.  'django.contrib.sessions.middleware.SessionMiddleware',
  30.  'corsheaders.middleware.CorsMiddleware',
  31.  'django.middleware.common.CommonMiddleware',
  32.  'django.middleware.csrf.CsrfViewMiddleware',
  33.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  34.  'django.contrib.messages.middleware.MessageMiddleware',
  35.  'django.middleware.clickjacking.XFrameOptionsMiddleware')
  36.  
  37.  
  38. Traceback:
  39.  
  40. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  41.   35.             response = get_response(request)
  42.  
  43. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  44.   128.                 response = self.process_exception_by_middleware(e, request)
  45.  
  46. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  47.   126.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  48.  
  49. File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  50.   54.         return view_func(*args, **kwargs)
  51.  
  52. File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
  53.   69.             return self.dispatch(request, *args, **kwargs)
  54.  
  55. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  56.   494.             response = self.handle_exception(exc)
  57.  
  58. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
  59.   454.             self.raise_uncaught_exception(exc)
  60.  
  61. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  62.   491.             response = handler(request, *args, **kwargs)
  63.  
  64. File "/usr/local/lib/python3.6/site-packages/rest_framework/generics.py" in get
  65.   201.         return self.list(request, *args, **kwargs)
  66.  
  67. File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in list
  68.   40.         queryset = self.filter_queryset(self.get_queryset())
  69.  
  70. File "/code/readingnow/users/views.py" in get_queryset
  71.   112.         user = get_object_or_404(Follow, nick=self.kwargs.get('nick'))
  72.  
  73. File "/usr/local/lib/python3.6/site-packages/django/shortcuts.py" in get_object_or_404
  74.   87.         return queryset.get(*args, **kwargs)
  75.  
  76. File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in get
  77.   394.         clone = self.filter(*args, **kwargs)
  78.  
  79. File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in filter
  80.   836.         return self._filter_or_exclude(False, *args, **kwargs)
  81.  
  82. File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in _filter_or_exclude
  83.   854.             clone.query.add_q(Q(*args, **kwargs))
  84.  
  85. File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in add_q
  86.   1253.         clause, _ = self._add_q(q_object, self.used_aliases)
  87.  
  88. File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in _add_q
  89.   1277.                     split_subq=split_subq,
  90.  
  91. File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in build_filter
  92.   1153.         lookups, parts, reffed_expression = self.solve_lookup_type(arg)
  93.  
  94. File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in solve_lookup_type
  95.   1015.         _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
  96.  
  97. File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in names_to_path
  98.   1379.                                      "Choices are: %s" % (name, ", ".join(available)))
  99.  
  100. Exception Type: FieldError at /api/v1/users/followers/moss/
  101. Exception Value: Cannot resolve keyword 'nick' into field. Choices are: created, follower, follower_id, following, following_id, id, modified
  102. Request information:
  103. USER: moss@moss.pl
  104.  
  105. GET: No GET data
  106.  
  107. POST: No POST data
  108.  
  109. FILES: No FILES data
  110.  
  111. COOKIES: No cookie data
  112.  
  113. META:
  114. CONTENT_LENGTH = ''
  115. CONTENT_TYPE = 'text/plain'
  116. DJANGO_CONFIGURATION = 'Local'
  117. DJANGO_SECRET_KEY = 'local'
  118. DJANGO_SETTINGS_MODULE = 'readingnow.config'
  119. GATEWAY_INTERFACE = 'CGI/1.1'
  120. GPG_KEY = '0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D'
  121. HOME = '/root'
  122. HOSTNAME = '8d82deb0f5fe'
  123. HTTP_ACCEPT = 'application/json, text/plain, */*'
  124. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  125. HTTP_ACCEPT_LANGUAGE = 'pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7,la;q=0.6,fr;q=0.5,zh-CN;q=0.4,zh;q=0.3'
  126. HTTP_AUTHORIZATION = 'JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiYTQwMmUyZWItNGI0ZC00OWUxLWIzOGQtOWE1OWRjODUwY2VhIiwidXNlcm5hbWUiOiJtb3NzQG1vc3MucGwiLCJleHAiOjE1NDkxMjUyNDIsImVtYWlsIjoibW9zc0Btb3NzLnBsIiwib3JpZ19pYXQiOjE1NDg1MjAxMjh9.dZuOGPZhgFP5XeCX1xaAHLG7I0PUg3KOptYkZ1405CE'
  127. HTTP_CONNECTION = 'keep-alive'
  128. HTTP_HOST = '127.0.0.1:8000'
  129. HTTP_ORIGIN = 'http://localhost:8080'
  130. HTTP_REFERER = 'http://localhost:8080/user/adrian.marcinczyk/fallowers'
  131. HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'
  132. LANG = 'C.UTF-8'
  133. PATH = '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
  134. PATH_INFO = '/api/v1/users/followers/moss/'
  135. PWD = '/code'
  136. PYTHONUNBUFFERED = '1'
  137. PYTHON_PIP_VERSION = '18.1'
  138. PYTHON_VERSION = '3.6.8'
  139. QUERY_STRING = ''
  140. REMOTE_ADDR = '172.18.0.1'
  141. REMOTE_HOST = ''
  142. REQUEST_METHOD = 'GET'
  143. RUN_MAIN = 'true'
  144. SCRIPT_NAME = ''
  145. SERVER_NAME = '8d82deb0f5fe'
  146. SERVER_PORT = '8000'
  147. SERVER_PROTOCOL = 'HTTP/1.1'
  148. SERVER_SOFTWARE = 'WSGIServer/0.2'
  149. SHLVL = '1'
  150. TZ = 'UTC'
  151. _ = './manage.py'
  152. wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
  153. wsgi.file_wrapper = ''
  154. wsgi.input = <_io.BufferedReader name=9>
  155. wsgi.multiprocess = False
  156. wsgi.multithread = True
  157. wsgi.run_once = False
  158. wsgi.url_scheme = 'http'
  159. wsgi.version = '(1, 0)'
  160.  
  161. Settings:
  162. Using settings module readingnow.config
  163. ABSOLUTE_URL_OVERRIDES = {}
  164. ADMINS = "(('Author', 'trojanowski.dev@gmail.com'),)"
  165. ALLOWED_HOSTS = ['*']
  166. APPEND_SLASH = False
  167. ASGI_APPLICATION = 'readingnow.routing.application'
  168. AUTHENTICATION_BACKENDS = ['social_core.backends.github.GithubOAuth2', 'django.contrib.auth.backends.ModelBackend']
  169. AUTH_PASSWORD_VALIDATORS = '********************'
  170. AUTH_USER_MODEL = 'users.User'
  171. CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://0.0.0.0:6379/0', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True}}}
  172. CACHE_MIDDLEWARE_ALIAS = 'default'
  173. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  174. CACHE_MIDDLEWARE_SECONDS = 600
  175. CONFIGURATION = 'readingnow.config.Local'
  176. CORS_ORIGIN_ALLOW_ALL = True
  177. CSRF_COOKIE_AGE = 31449600
  178. CSRF_COOKIE_DOMAIN = None
  179. CSRF_COOKIE_HTTPONLY = False
  180. CSRF_COOKIE_NAME = 'csrftoken'
  181. CSRF_COOKIE_PATH = '/'
  182. CSRF_COOKIE_SECURE = False
  183. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  184. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  185. CSRF_TRUSTED_ORIGINS = []
  186. CSRF_USE_SESSIONS = False
  187. DATABASES = {'default': {'NAME': 'postgres', 'USER': 'postgres', 'PASSWORD': '********************', 'HOST': 'postgres', 'PORT': 5432, 'CONN_MAX_AGE': 600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
  188. DATABASE_ROUTERS = []
  189. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  190. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  191. DATETIME_FORMAT = 'N j, Y, P'
  192. 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']
  193. DATE_FORMAT = 'N j, Y'
  194. 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']
  195. DEBUG = True
  196. DEBUG_PROPAGATE_EXCEPTIONS = False
  197. DECIMAL_SEPARATOR = '.'
  198. DEFAULT_CHARSET = 'utf-8'
  199. DEFAULT_CONTENT_TYPE = 'text/html'
  200. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  201. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  202. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  203. DEFAULT_INDEX_TABLESPACE = ''
  204. DEFAULT_TABLESPACE = ''
  205. DISALLOWED_USER_AGENTS = []
  206. DJOSER = {'PASSWORD_RESET_CONFIRM_URL': '********************', 'ACTIVATION_URL': '#/activate/{uid}/{token}', 'SEND_ACTIVATION_EMAIL': True, 'SERIALIZERS': {}, 'SOCIAL_AUTH_ALLOWED_REDIRECT_URIS': 'http://localhost:8000/auth/complete/github/'}
  207. DOTENV_LOADED = None
  208. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  209. EMAIL_HOST = 'localhost'
  210. EMAIL_HOST_PASSWORD = '********************'
  211. EMAIL_HOST_USER = ''
  212. EMAIL_PORT = 1025
  213. EMAIL_SSL_CERTFILE = None
  214. EMAIL_SSL_KEYFILE = '********************'
  215. EMAIL_SUBJECT_PREFIX = '[Django] '
  216. EMAIL_TIMEOUT = None
  217. EMAIL_USE_LOCALTIME = False
  218. EMAIL_USE_SSL = False
  219. EMAIL_USE_TLS = False
  220. FILE_CHARSET = 'utf-8'
  221. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  222. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  223. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  224. FILE_UPLOAD_PERMISSIONS = None
  225. FILE_UPLOAD_TEMP_DIR = None
  226. FIRST_DAY_OF_WEEK = 0
  227. FIXTURE_DIRS = []
  228. FORCE_SCRIPT_NAME = None
  229. FORMAT_MODULE_PATH = None
  230. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  231. IGNORABLE_404_URLS = []
  232. INSTALLED_APPS = "('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'djoser', 'social_django', 'django_filters', 'drf_yasg', 'corsheaders', 'readingnow.users', 'readingnow.links', 'django_nose')"
  233. INTERNAL_IPS = []
  234. JWT_AUTH = {'JWT_ALLOW_REFRESH': True, 'JWT_RESPONSE_PAYLOAD_HANDLER': 'readingnow.users.views.jwt_response_payload_handler', 'JWT_EXPIRATION_DELTA': datetime.timedelta(7)}
  235. 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'), ('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'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
  236. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  237. LANGUAGE_CODE = 'en-us'
  238. LANGUAGE_COOKIE_AGE = None
  239. LANGUAGE_COOKIE_DOMAIN = None
  240. LANGUAGE_COOKIE_NAME = 'django_language'
  241. LANGUAGE_COOKIE_PATH = '/'
  242. LOCALE_PATHS = []
  243. LOGGING = {'version': 1, 'disable_existing_loggers': False, 'formatters': {'django.server': {'()': 'django.utils.log.ServerFormatter', 'format': '[%(server_time)s] %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}, 'simple': {'format': '%(levelname)s %(message)s'}}, 'filters': {'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'handlers': {'django.server': {'level': 'INFO', 'class': 'logging.StreamHandler', 'formatter': 'django.server'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'simple'}, 'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler'}}, 'loggers': {'django': {'handlers': ['console'], 'propagate': True}, 'django.server': {'handlers': ['django.server'], 'level': 'INFO', 'propagate': False}, 'django.request': {'handlers': ['mail_admins', 'console'], 'level': 'ERROR', 'propagate': False}, 'django.db.backends': {'handlers': ['console'], 'level': 'INFO'}}}
  244. LOGGING_CONFIG = 'logging.config.dictConfig'
  245. LOGIN_REDIRECT_URL = '/'
  246. LOGIN_URL = '/accounts/login/'
  247. LOGOUT_REDIRECT_URL = None
  248. MANAGERS = []
  249. MEDIA_ROOT = '/code/media'
  250. MEDIA_URL = '/media/'
  251. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  252. 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')"
  253. MIGRATION_MODULES = {}
  254. MONTH_DAY_FORMAT = 'F j'
  255. NOSE_ARGS = ['/code/readingnow', '-s', '--nologcapture', '--with-coverage', '--with-progressive', '--cover-package=readingnow']
  256. NUMBER_GROUPING = 0
  257. PASSWORD_HASHERS = '********************'
  258. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  259. PREPEND_WWW = False
  260. REDIS_LOCATION = 'redis://0.0.0.0:6379/0'
  261. REST_FRAMEWORK = {'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'PAGE_SIZE': 10, 'DATETIME_FORMAT': '%Y-%m-%dT%H:%M:%S%z', 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'], 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication')}
  262. ROOT_URLCONF = 'readingnow.urls'
  263. SECRET_KEY = '********************'
  264. SECURE_BROWSER_XSS_FILTER = False
  265. SECURE_CONTENT_TYPE_NOSNIFF = False
  266. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  267. SECURE_HSTS_PRELOAD = False
  268. SECURE_HSTS_SECONDS = 0
  269. SECURE_PROXY_SSL_HEADER = None
  270. SECURE_REDIRECT_EXEMPT = []
  271. SECURE_SSL_HOST = None
  272. SECURE_SSL_REDIRECT = False
  273. SERVER_EMAIL = 'root@localhost'
  274. SESSION_CACHE_ALIAS = 'default'
  275. SESSION_COOKIE_AGE = 1209600
  276. SESSION_COOKIE_DOMAIN = None
  277. SESSION_COOKIE_HTTPONLY = True
  278. SESSION_COOKIE_NAME = 'sessionid'
  279. SESSION_COOKIE_PATH = '/'
  280. SESSION_COOKIE_SECURE = False
  281. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  282. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  283. SESSION_FILE_PATH = None
  284. SESSION_SAVE_EVERY_REQUEST = False
  285. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  286. SETTINGS_MODULE = 'readingnow.config'
  287. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  288. SHORT_DATE_FORMAT = 'm/d/Y'
  289. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  290. SILENCED_SYSTEM_CHECKS = []
  291. SOCIAL_AUTH_GITHUB_KEY = '********************'
  292. SOCIAL_AUTH_GITHUB_SECRET = '********************'
  293. STATICFILES_DIRS = []
  294. STATICFILES_FINDERS = "('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')"
  295. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  296. STATIC_ROOT = '/code/static'
  297. STATIC_URL = '/static/'
  298. SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'Bearer': {'type': 'apiKey', 'name': 'Authorization', 'in': 'header'}}}
  299. 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']}}]
  300. TEST_NON_SERIALIZED_APPS = []
  301. TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
  302. THOUSAND_SEPARATOR = ','
  303. TIME_FORMAT = 'P'
  304. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  305. TIME_ZONE = 'UTC'
  306. USE_ETAGS = False
  307. USE_I18N = False
  308. USE_L10N = True
  309. USE_THOUSAND_SEPARATOR = False
  310. USE_TZ = True
  311. USE_X_FORWARDED_HOST = False
  312. USE_X_FORWARDED_PORT = False
  313. WSGI_APPLICATION = 'readingnow.wsgi.application'
  314. X_FRAME_OPTIONS = 'SAMEORIGIN'
  315. YEAR_MONTH_FORMAT = 'F Y'
  316.  
  317.  
  318. You're seeing this error because you have DEBUG = True in your
  319. Django settings file. Change that to False, and Django will
  320. 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