SHARE
TWEET

yo

a guest Oct 3rd, 2017 327 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ConnectionRefusedError at /api/put_order
  2. [Errno 111] Connection refused
  3.  
  4. Request Method: POST
  5. Request URL: http://localhost:8000/api/put_order
  6. Django Version: 1.10.6
  7. Python Executable: /home/vagrant/.pyenv/versions/tennis/bin/python
  8. Python Version: 3.5.2
  9. Python Path: ['/home/vagrant/tennis', '/home/vagrant/.pyenv/versions/3.5.2/lib/python35.zip', '/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5', '/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/plat-linux', '/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/lib-dynload', '/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages', '/home/vagrant/tennis']
  10. Server time: Вт, 3 Окт 2017 13:04:42 +0300
  11. Installed Applications:
  12. ['shop.apps.ShopConfig',
  13.  'crm.apps.CrmConfig',
  14.  'redactor',
  15.  'jet.dashboard',
  16.  'jet',
  17.  'solo',
  18.  'django.contrib.admin',
  19.  'django.contrib.auth',
  20.  'django.contrib.contenttypes',
  21.  'django.contrib.sessions',
  22.  'django.contrib.messages',
  23.  'django.contrib.staticfiles',
  24.  'django.contrib.humanize',
  25.  'mathfilters',
  26.  'django_summernote',
  27.  'raven.contrib.django.raven_compat']
  28. Installed Middleware:
  29. ['django.middleware.security.SecurityMiddleware',
  30.  'django.contrib.sessions.middleware.SessionMiddleware',
  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 "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  41.   42.             response = get_response(request)
  42.  
  43. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  44.   187.                 response = self.process_exception_by_middleware(e, request)
  45.  
  46. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  47.   185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  48.  
  49. File "/home/vagrant/tennis/shop/views/api.py" in api_put_order
  50.   926.         notify_client(orders, email=email, price=total_price, delivery=GENERIC_PRICE)
  51.  
  52. File "/home/vagrant/tennis/shop/utils/notify.py" in notify_client
  53.   38.         template_suffix='html',
  54.  
  55. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/templated_email/__init__.py" in send_templated_mail
  56.   70.                            headers=headers, create_link=create_link, **kwargs)
  57.  
  58. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/templated_email/backends/vanilla_django.py" in send
  59.   238.             e.send(fail_silently)
  60.  
  61. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/mail/message.py" in send
  62.   342.         return self.get_connection(fail_silently).send_messages([self])
  63.  
  64. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/mail/backends/smtp.py" in send_messages
  65.   100.             new_conn_created = self.open()
  66.  
  67. File "/home/vagrant/.pyenv/versions/tennis/lib/python3.5/site-packages/django/core/mail/backends/smtp.py" in open
  68.   58.             self.connection = connection_class(self.host, self.port, **connection_params)
  69.  
  70. File "/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/smtplib.py" in __init__
  71.   251.             (code, msg) = self.connect(host, port)
  72.  
  73. File "/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/smtplib.py" in connect
  74.   335.         self.sock = self._get_socket(host, port, self.timeout)
  75.  
  76. File "/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/smtplib.py" in _get_socket
  77.   306.                                         self.source_address)
  78.  
  79. File "/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/socket.py" in create_connection
  80.   711.         raise err
  81.  
  82. File "/home/vagrant/.pyenv/versions/3.5.2/lib/python3.5/socket.py" in create_connection
  83.   702.             sock.connect(sa)
  84.  
  85. Exception Type: ConnectionRefusedError at /api/put_order
  86. Exception Value: [Errno 111] Connection refused
  87. Request information:
  88. USER: tennis
  89.  
  90. GET: No GET data
  91.  
  92. POST: No POST data
  93.  
  94. FILES: No FILES data
  95.  
  96. COOKIES:
  97. rrpusid = '58d122ab9a1c6b0e0805e71a'
  98. sessionid = '9x2faatvnjyc5wnks65a691ubjzpcc90'
  99. _ga = 'GA1.1.286899079.1504545550'
  100. _hp2_id.1286678322 = '%7B%22userId%22%3A%227505145332471541%22%2C%22pageviewId%22%3A%225520596714484667%22%2C%22sessionId%22%3A%226428758988915560%22%2C%22identity%22%3Anull%2C%22trackerVersion%22%3A%223.0%22%7D'
  101. csrftoken = 'o53lmyDqUHlKnIf7lnUymfzp8HBjoEG85m7lviioWNqnjh4EAi5qV119kJRXsmQM'
  102. rcuid = '58d122ab9a1c6b0e0805e71a'
  103. _ym_uid = '1479411870694418101'
  104. fldt = 'hide'
  105. rrpvid = '765679092340922'
  106. __smToken = 'clBA9esBHSYkZFXsDTheNfCe'
  107. _gat_UA-100158857-1 = '1'
  108. _ym_visorc_44825689 = 'w'
  109. _gid = 'GA1.1.106094807.1507019764'
  110. rrlpuid = ''
  111. _ym_isad = '2'
  112. rrrbt = ''
  113.  
  114. META:
  115. CONTENT_LENGTH = '139'
  116. CONTENT_TYPE = 'application/json;charset=UTF-8'
  117. CSRF_COOKIE = 'o53lmyDqUHlKnIf7lnUymfzp8HBjoEG85m7lviioWNqnjh4EAi5qV119kJRXsmQM'
  118. DJANGO_CONFIGURATION = 'Staging'
  119. DJANGO_DEBUG = 'yes'
  120. DJANGO_SECRET_KEY = 'f)vk6&wlmr(v0y-u1fynrpqy9f!v0vy4)t+pq+ews0r(e@xty*'
  121. DJANGO_SETTINGS_MODULE = 'tennis.settings'
  122. DJANGO_TEMPLATE_DEBUG = 'yes'
  123. ENVIRONMENT = 'STAGING'
  124. GATEWAY_INTERFACE = 'CGI/1.1'
  125. HOME = '/home/vagrant'
  126. HTTP_ACCEPT = 'application/json, text/plain, */*'
  127. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  128. HTTP_ACCEPT_LANGUAGE = 'en,ru;q=0.8'
  129. HTTP_CONNECTION = 'keep-alive'
  130. HTTP_COOKIE = '_ym_uid=1479411870694418101; _hp2_id.1286678322=%7B%22userId%22%3A%227505145332471541%22%2C%22pageviewId%22%3A%225520596714484667%22%2C%22sessionId%22%3A%226428758988915560%22%2C%22identity%22%3Anull%2C%22trackerVersion%22%3A%223.0%22%7D; __smToken=clBA9esBHSYkZFXsDTheNfCe; rrrbt=; rcuid=58d122ab9a1c6b0e0805e71a; rrpusid=58d122ab9a1c6b0e0805e71a; rrlpuid=; rrpvid=765679092340922; fldt=hide; _ym_isad=2; sessionid=9x2faatvnjyc5wnks65a691ubjzpcc90; csrftoken=o53lmyDqUHlKnIf7lnUymfzp8HBjoEG85m7lviioWNqnjh4EAi5qV119kJRXsmQM; _ym_visorc_44825689=w; _ga=GA1.1.286899079.1504545550; _gid=GA1.1.106094807.1507019764; _gat_UA-100158857-1=1'
  131. HTTP_HOST = 'localhost:8000'
  132. HTTP_ORIGIN = 'http://localhost:8000'
  133. HTTP_REFERER = 'http://localhost:8000/checkout'
  134. HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 YaBrowser/17.9.1.824 Yowser/2.5 Safari/537.36'
  135. HTTP_X_CSRFTOKEN = 'o53lmyDqUHlKnIf7lnUymfzp8HBjoEG85m7lviioWNqnjh4EAi5qV119kJRXsmQM'
  136. HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
  137. LANG = 'en_US.UTF-8'
  138. LOGNAME = 'vagrant'
  139. MAIL = '/var/mail/vagrant'
  140. OLDPWD = '/home/vagrant'
  141. PATH = '/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/shims:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/bin:/home/vagrant/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games'
  142. PATH_INFO = '/api/put_order'
  143. PWD = '/home/vagrant/tennis'
  144. PYENV_ROOT = '/home/vagrant/.pyenv'
  145. PYENV_SHELL = 'bash'
  146. QUERY_STRING = ''
  147. REMOTE_ADDR = '10.0.2.2'
  148. REMOTE_HOST = ''
  149. REQUEST_METHOD = 'POST'
  150. RUN_MAIN = 'true'
  151. SCRIPT_NAME = ''
  152. SERVER_NAME = 'default6'
  153. SERVER_PORT = '8000'
  154. SERVER_PROTOCOL = 'HTTP/1.1'
  155. SERVER_SOFTWARE = 'WSGIServer/0.2'
  156. SHELL = '/bin/bash'
  157. SHLVL = '3'
  158. SSH_CLIENT = '10.0.2.2 56053 22'
  159. SSH_CONNECTION = '10.0.2.2 56053 10.0.2.15 22'
  160. TERM = 'vt100'
  161. TZ = 'Europe/Moscow'
  162. USER = 'vagrant'
  163. XDG_RUNTIME_DIR = '/run/user/1000'
  164. XDG_SESSION_ID = '1'
  165. _ = '/home/vagrant/.pyenv/versions/tennis/bin/python'
  166. wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
  167. wsgi.file_wrapper = ''
  168. wsgi.input = <_io.BufferedReader name=10>
  169. wsgi.multiprocess = False
  170. wsgi.multithread = True
  171. wsgi.run_once = False
  172. wsgi.url_scheme = 'http'
  173. wsgi.version =
  174.  
  175. Settings:
  176. Using settings module tennis.settings
  177. ABSOLUTE_URL_OVERRIDES = {}
  178. ADMINS = []
  179. ALLOWED_HOSTS = ['127.0.0.1', '88.99.169.82', 'localhost', 'tennis.delivery', 'www.tennis.delivery']
  180. APPEND_SLASH = True
  181. AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
  182. AUTH_PASSWORD_VALIDATORS = '********************'
  183. AUTH_USER_MODEL = 'auth.User'
  184. BASE_DIR = '/home/vagrant/tennis'
  185. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
  186. CACHE_MIDDLEWARE_ALIAS = 'default'
  187. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  188. CACHE_MIDDLEWARE_SECONDS = 600
  189. CONFIGURATION = 'tennis.settings.Staging'
  190. CSRF_COOKIE_AGE = 31449600
  191. CSRF_COOKIE_DOMAIN = None
  192. CSRF_COOKIE_HTTPONLY = False
  193. CSRF_COOKIE_NAME = 'csrftoken'
  194. CSRF_COOKIE_PATH = '/'
  195. CSRF_COOKIE_SECURE = False
  196. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  197. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  198. CSRF_TRUSTED_ORIGINS = []
  199. DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'USER': 'tennis', 'ATOMIC_REQUESTS': False, 'TIME_ZONE': None, 'OPTIONS': {}, 'PORT': '', 'HOST': 'localhost', 'CONN_MAX_AGE': 0, 'NAME': 'tennis', 'TEST': {'NAME': None, 'CHARSET': None, 'COLLATION': None, 'MIRROR': None}, 'AUTOCOMMIT': True, 'PASSWORD': '********************'}}
  200. DATABASE_ROUTERS = []
  201. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  202. DATA_UPLOAD_MAX_NUMBER_FIELDS = 3000
  203. DATETIME_FORMAT = 'N j, Y, P'
  204. 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']
  205. DATE_FORMAT = 'N j, Y'
  206. 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']
  207. DEBUG = True
  208. DEBUG_PROPAGATE_EXCEPTIONS = False
  209. DECIMAL_SEPARATOR = '.'
  210. DEFAULT_CHARSET = 'utf-8'
  211. DEFAULT_CONTENT_TYPE = 'text/html'
  212. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  213. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  214. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  215. DEFAULT_INDEX_TABLESPACE = ''
  216. DEFAULT_TABLESPACE = ''
  217. DISALLOWED_USER_AGENTS = []
  218. DOTENV_LOADED = None
  219. EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  220. EMAIL_HOST = 'localhost'
  221. EMAIL_HOST_PASSWORD = '********************'
  222. EMAIL_HOST_USER = ''
  223. EMAIL_PORT = 25
  224. EMAIL_SSL_CERTFILE = None
  225. EMAIL_SSL_KEYFILE = '********************'
  226. EMAIL_SUBJECT_PREFIX = '[Django] '
  227. EMAIL_TIMEOUT = None
  228. EMAIL_USE_SSL = False
  229. EMAIL_USE_TLS = False
  230. FILE_CHARSET = 'utf-8'
  231. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  232. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  233. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  234. FILE_UPLOAD_PERMISSIONS = None
  235. FILE_UPLOAD_TEMP_DIR = None
  236. FIRST_DAY_OF_WEEK = 0
  237. FIXTURE_DIRS = []
  238. FORCE_SCRIPT_NAME = None
  239. FORMAT_MODULE_PATH = None
  240. IGNORABLE_404_URLS = []
  241. INSTALLED_APPS = ['shop.apps.ShopConfig', 'crm.apps.CrmConfig', 'redactor', 'jet.dashboard', 'jet', 'solo', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'mathfilters', 'django_summernote', 'raven.contrib.django.raven_compat']
  242. INTERNAL_IPS = []
  243. JET_INDEX_DASHBOARD = 'shop.backend.dashboard.CustomIndexDashboard'
  244. 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'), ('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')]
  245. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  246. LANGUAGE_CODE = 'ru'
  247. LANGUAGE_COOKIE_AGE = None
  248. LANGUAGE_COOKIE_DOMAIN = None
  249. LANGUAGE_COOKIE_NAME = 'django_language'
  250. LANGUAGE_COOKIE_PATH = '/'
  251. LOCALE_PATHS = []
  252. LOGGING = {'version': 1, 'handlers': {'console': {'class': 'logging.StreamHandler'}}, 'disable_existing_loggers': False, 'loggers': {'django': {'handlers': ['console'], 'level': 'INFO'}}}
  253. LOGGING_CONFIG = 'logging.config.dictConfig'
  254. LOGIN_REDIRECT_URL = '/accounts/profile/'
  255. LOGIN_URL = '/accounts/login/'
  256. LOGOUT_REDIRECT_URL = None
  257. MANAGERS = []
  258. MEDIA_ROOT = '/home/vagrant/tennis/media'
  259. MEDIA_URL = '/media/'
  260. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  261. MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  262. MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
  263. MIGRATION_MODULES = {}
  264. MONTH_DAY_FORMAT = 'F j'
  265. NUMBER_GROUPING = 0
  266. PASSWORD_HASHERS = '********************'
  267. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  268. PREPEND_WWW = False
  269. REDACTOR_OPTIONS = {'lang': 'ru'}
  270. REDACTOR_UPLOAD = 'articles/'
  271. ROOT_URLCONF = 'tennis.urls'
  272. SECRET_KEY = '********************'
  273. SECURE_BROWSER_XSS_FILTER = False
  274. SECURE_CONTENT_TYPE_NOSNIFF = False
  275. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  276. SECURE_HSTS_SECONDS = 0
  277. SECURE_PROXY_SSL_HEADER = None
  278. SECURE_REDIRECT_EXEMPT = []
  279. SECURE_SSL_HOST = None
  280. SECURE_SSL_REDIRECT = False
  281. SERVER_EMAIL = 'root@localhost'
  282. SESSION_CACHE_ALIAS = 'default'
  283. SESSION_COOKIE_AGE = 1209600
  284. SESSION_COOKIE_DOMAIN = None
  285. SESSION_COOKIE_HTTPONLY = True
  286. SESSION_COOKIE_NAME = 'sessionid'
  287. SESSION_COOKIE_PATH = '/'
  288. SESSION_COOKIE_SECURE = False
  289. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  290. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  291. SESSION_FILE_PATH = None
  292. SESSION_SAVE_EVERY_REQUEST = False
  293. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  294. SETTINGS_MODULE = 'tennis.settings'
  295. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  296. SHORT_DATE_FORMAT = 'm/d/Y'
  297. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  298. SILENCED_SYSTEM_CHECKS = []
  299. STATICFILES_DIRS = []
  300. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  301. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  302. STATIC_ROOT = 'static'
  303. STATIC_URL = '/static/'
  304. TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', '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', 'shop.context.period_timer.timer']}, 'DIRS': [], 'APP_DIRS': True}]
  305. TEST_NON_SERIALIZED_APPS = []
  306. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  307. THOUSAND_SEPARATOR = ','
  308. TIME_FORMAT = 'P'
  309. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  310. TIME_ZONE = 'Europe/Moscow'
  311. USE_ETAGS = False
  312. USE_I18N = True
  313. USE_L10N = True
  314. USE_THOUSAND_SEPARATOR = False
  315. USE_TZ = True
  316. USE_X_FORWARDED_HOST = False
  317. USE_X_FORWARDED_PORT = False
  318. WSGI_APPLICATION = 'tennis.wsgi.application'
  319. X_FRAME_OPTIONS = 'SAMEORIGIN'
  320. YEAR_MONTH_FORMAT = 'F Y'
  321.  
  322.  
  323. You're seeing this error because you have DEBUG = True in your
  324. Django settings file. Change that to False, and Django will
  325. 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