error 26 from memcached_set: Transport endpoint is not connected
Request Method: | GET |
---|---|
Request URL: | http://testserver/en/learn-japanese-online/courses/1211707/?page=1 |
Django Version: | 1.11.29 |
Exception Type: | Error |
Exception Value: | error 26 from memcached_set: Transport endpoint is not connected |
Exception Location: | /srv/eggs/Django-1.11.29-py2.7.egg/django/core/cache/backends/memcached.py in set, line 86 |
Python Executable: | /usr/bin/python2 |
Python Version: | 2.7.18 |
Python Path: | ['/usr/lib/python2.7/dist-packages', '/srv/eggs/universal-analytics-python', '/srv/eggs/ipython-4.0.0-py2.7.egg', '/srv/eggs/httplib2-0.15.0-py2.7.egg', '/srv/eggs/oauth2-1.5.211-py2.7.egg', '/srv/eggs/psycopg2_binary-2.8.6-py2.7-linux-x86_64.egg', '/srv/eggs/Pillow-6.2.2-py2.7-linux-x86_64.egg', '/srv/eggs/pytz-2016.6.1-py2.7.egg', '/srv/eggs/BeautifulSoup-3.2.1-py2.7.egg', '/srv/eggs/beautifulsoup4-4.5.3-py2.7.egg', '/srv/eggs/EbookLib-0.18-py2.7.egg', '/srv/eggs/docx2txt-0.7-py2.7.egg', '/srv/eggs/pycrypto-2.6.1-py2.7-linux-x86_64.egg', '/srv/eggs/chardet-3.0.4-py2.7.egg', '/srv/eggs/decorator-3.4.2-py2.7.egg', '/srv/eggs/gunicorn-19.10.0-py2.7.egg', '/srv/eggs/hiredis-0.2.0-py2.7-linux-x86_64.egg', '/srv/eggs/redis-2.10.5-py2.7.egg', '/srv/eggs/ipdb-0.8-py2.7.egg', '/srv/eggs/django_memcache_status-1.2-py2.7.egg', '/srv/eggs/boto-2.38.0-py2.7.egg', '/srv/eggs/boto3-1.10.41-py2.7.egg', '/srv/eggs/django_storages_redux-1.3.2-py2.7.egg', '/srv/eggs/mutagen-1.43.0-py2.7.egg', '/srv/eggs/celery-3.1.25-py2.7.egg', '/srv/eggs/python_dateutil-2.3-py2.7.egg', '/srv/eggs/django_fsm-2.2.1-py2.7.egg', '/srv/eggs/google_api_python_client-1.7.11-py2.7.egg', '/srv/eggs/googleapis_common_protos-1.55.0-py2.7.egg', '/srv/eggs/google_auth_httplib2-0.0.3-py2.7.egg', '/srv/eggs/bitarray-0.8.1-py2.7-linux-x86_64.egg', '/srv/eggs/django_appconf-1.0.3-py2.7.egg', '/srv/eggs/raven-5.27.1-py2.7.egg', '/srv/eggs/certifi-2020.4.5.1-py2.7.egg', '/srv/eggs/contextlib2-0.6.0-py2.7.egg', '/srv/eggs/django_braces-1.4.0-py2.7.egg', '/srv/eggs/mock-1.0.1-py2.7.egg', '/srv/eggs/recurly-2.9.22-py2.7.egg', '/srv/eggs/feedparser-5.1.3-py2.7.egg', '/srv/eggs/requests-2.20.1-py2.7.egg', '/srv/eggs/requests_mock-0.6.0-py2.7.egg', '/srv/eggs/requests_cache-0.4.13-py2.7.egg', '/srv/eggs/polib-1.1.0-py2.7.egg', '/srv/eggs/djangorestframework-3.7.7-py2.7.egg', '/srv/eggs/django_rest_swagger-2.1.0-py2.7.egg', '/srv/eggs/django_filter-1.0.4-py2.7.egg', '/srv/eggs/drf_extensions-0.2.8-py2.7.egg', '/srv/eggs/drf_nested_routers-0.90.0-py2.7.egg', '/srv/eggs/newrelic-2.64.0.48-py2.7-linux-x86_64.egg', '/srv/eggs/Sphinx-1.6.6-py2.7.egg', '/srv/eggs/sphinxcontrib_httpdomain-1.7.0-py2.7.egg', '/srv/eggs/lxml-4.5.0-py2.7-linux-x86_64.egg', '/srv/eggs/PyVirtualDisplay-0.1.2-py2.7.egg', '/srv/eggs/django_extensions-1.6.7-py2.7.egg', '/srv/eggs/sqlparse-0.2.0-py2.7.egg', '/srv/eggs/fcm_django-0.2.21-py2.7.egg', '/srv/eggs/django_gcm-1.2.0-py2.7.egg', '/srv/eggs/python_mimeparse-1.5.2-py2.7.egg', '/srv/eggs/django_debug_toolbar-1.8-py2.7.egg', '/srv/eggs/cube_client-0.2.0-py2.7.egg', '/srv/eggs/pyOpenSSL-19.0.0-py2.7.egg', '/srv/eggs/gevent_openssl-1.2-py2.7.egg', '/srv/eggs/gevent-1.3.7-py2.7-linux-x86_64.egg', '/srv/eggs/greenlet-0.4.15-py2.7-linux-x86_64.egg', '/srv/eggs/django_recaptcha-2.0.5-py2.7.egg', '/srv/eggs/pylibmc-1.6.0-py2.7-linux-x86_64.egg', '/srv/eggs/python_memcached-1.57-py2.7.egg', '/srv/eggs/django_modeldict-1.4.1-py2.7.egg', '/srv/eggs/django_honeypot-0.4.0-py2.7.egg', '/srv/eggs/django_allauth-0.30.0-py2.7.egg', '/srv/eggs/django_silk-0.6.2-py2.7.egg', '/srv/eggs/unicodecsv-0.9.4-py2.7.egg', '/srv/eggs/ndg_httpsclient-0.3.2-py2.7.egg', '/srv/eggs/pyasn1-0.4.2-py2.7.egg', '/srv/eggs/pyasn1_modules-0.2.1-py2.7.egg', '/srv/eggs/urllib3-1.23-py2.7.egg', '/srv/eggs/django_localflavor-1.0-py2.7.egg', '/srv/eggs/django_timezone_field-2.0-py2.7.egg', '/srv/eggs/singledispatch-3.4.0.0-py2.7.egg', '/srv/eggs/pyenchant-2.0.0-py2.7.egg', '/srv/eggs/nltk-3.4.5-py2.7.egg', '/srv/eggs/eventlet-0.16.1-py2.7.egg', '/srv/eggs/django_mobile-0.7.0-py2.7.egg', '/srv/eggs/django_rest_auth-0.7.0-py2.7.egg', '/srv/eggs/six-1.11.0-py2.7.egg', '/srv/eggs/jieba-0.39-py2.7.egg', '/srv/eggs/romkan-0.2.1-py2.7.egg', '/srv/eggs/pykakasi-1.2-py2.7.egg', '/srv/eggs/django_compressor-2.1-py2.7.egg', '/srv/eggs/mandrill-1.0.57-py2.7.egg', '/srv/eggs/djrill-1.3.0-py2.7.egg', '/srv/eggs/django_classy_tags-0.6.1-py2.7.egg', '/srv/eggs/Pygments-2.0.2-py2.7.egg', '/srv/eggs/sphinx_rtd_theme-0.4.3-py2.7.egg', '/srv/eggs/docutils-0.12-py2.7.egg', '/srv/eggs/django_experiments-1.2.0-py2.7.egg', '/srv/eggs/django_cache_machine-0.8.1-py2.7.egg', '/srv/eggs/oauth2client-4.1.2-py2.7.egg', '/srv/eggs/html2text-2016.5.29-py2.7.egg', '/srv/eggs/django_webpack_loader-1.6.0-py2.7.egg', '/srv/eggs/django_bleach-0.3.0-py2.7.egg', '/srv/eggs/pyshorteners-0.6.1-py2.7.egg', '/srv/eggs/sendgrid-3.6.3-py2.7.egg', '/srv/eggs/fluent_logger-0.9.0-py2.7.egg', '/srv/eggs/geoip2-2.9.0-py2.7.egg', '/srv/eggs/django_ipware-2.1.0-py2.7.egg', '/srv/eggs/django_select2-6.3.1-py2.7.egg', '/srv/eggs/django_sekizai-0.9.0-py2.7.egg', '/srv/eggs/path.py-8.2.1-py2.7.egg', '/srv/eggs/ordered_set-2.0.1-py2.7.egg', '/srv/eggs/SQLAlchemy-1.0.15-py2.7-linux-x86_64.egg', '/srv/eggs/simplejson-3.8.2-py2.7-linux-x86_64.egg', '/srv/eggs/futures-3.2.0-py2.7.egg', '/srv/eggs/elasticsearch-7.11.0-py2.7.egg', '/srv/eggs/elasticsearch_dsl-7.3.0-py2.7.egg', '/srv/eggs/tweepy-3.7.0-py2.7.egg', '/srv/eggs/detectlanguage-1.3.0-py2.7.egg', '/srv/eggs/suds-0.4-py2.7.egg', '/srv/eggs/google_cloud_translate-1.6.0-py2.7.egg', '/srv/eggs/Unidecode-0.4.20-py2.7.egg', '/srv/eggs/draftjs_exporter-2.1.0-py2.7.egg', '/srv/eggs/pymongo-3.6.1-py2.7-linux-x86_64.egg', '/srv/eggs/numpy-1.14.4-py2.7-linux-x86_64.egg', '/srv/eggs/aeneas-1.7.3.0-py2.7-linux-x86_64.egg', '/srv/eggs/polyglot-16.7.4-py2.7.egg', '/srv/eggs/PyICU-2.0.3-py2.7-linux-x86_64.egg', '/srv/eggs/pycountry-18.12.8-py2.7.egg', '/srv/eggs/gTTS-2.0.1-py2.7.egg', '/srv/eggs/pkcs7-0.1.2-py2.7.egg', '/srv/eggs/jyutping-0.3.2-py2.7.egg', '/srv/eggs/google_cloud_texttospeech-0.5.0-py2.7.egg', '/srv/eggs/diff_match_patch-20181111-py2.7.egg', '/srv/eggs/PyYAML-3.13-py2.7-linux-x86_64.egg', '/srv/eggs/stripe-5.5.0-py2.7.egg', '/srv/eggs/elastic_apm-5.2.2-py2.7-linux-x86_64.egg', '/srv/eggs/django_otp-0.6.0-py2.7.egg', '/srv/eggs/qrcode-6.1-py2.7.egg', '/srv/eggs/genanki-0.6.4-py2.7.egg', '/srv/eggs/user_agents-2.2.0-py2.7.egg', '/srv/eggs/django_countries-5.3.3-py2.7.egg', '/srv/eggs/pdftotext-2.1.2-py2.7-linux-x86_64.egg', '/srv/eggs/protobuf-3.17.3-py2.7-linux-x86_64.egg', '/srv/eggs/icalendar-4.0.3-py2.7.egg', '/srv/eggs/PyJWT-1.7.1-py2.7.egg', '/srv/eggs/requests_aws4auth-1.0.1-py2.7.egg', '/srv/eggs/grpcio-1.39.0-py2.7-linux-x86_64.egg', '/srv/eggs/autopep8-1.4.4-py2.7.egg', '/srv/eggs/cyrtranslit-1.0-py2.7.egg', '/srv/eggs/transliterate-1.10.2-py2.7.egg', '/srv/eggs/pydiscourse-1.1.2-py2.7.egg', '/srv/eggs/mecab-0.996.3-py2.7-linux-x86_64.egg', '/srv/eggs/pycodestyle-2.5.0-py2.7.egg', '/srv/eggs/enum34-1.1.10-py2.7.egg', '/srv/eggs/ua_parser-0.16.1-py2.7.egg', '/srv/eggs/pystache-0.5.4-py2.7.egg', '/srv/eggs/frozendict-1.2-py2.7.egg', '/srv/eggs/cached_property-1.5.1-py2.7.egg', '/srv/eggs/Django-1.11.29-py2.7.egg', '/srv/eggs/cachetools-3.1.1-py2.7.egg', '/srv/eggs/google_api_core-1.14.3-py2.7.egg', '/srv/eggs/gTTS_token-1.1.3-py2.7.egg', '/srv/eggs/Click-7.0-py2.7.egg', '/srv/eggs/bs4-0.0.1-py2.7.egg', '/srv/eggs/wheel-0.41.2-py2.7.egg', '/srv/eggs/pycld2-0.41-py2.7-linux-x86_64.egg', '/srv/eggs/Morfessor-2.0.6-py2.7.egg', '/srv/eggs/google_cloud_core-1.0.3-py2.7.egg', '/srv/eggs/requests_oauthlib-1.2.0-py2.7.egg', '/srv/eggs/PySocks-1.7.1-py2.7.egg', '/srv/eggs/ipaddress-1.0.23-py2.7.egg', '/srv/eggs/maxminddb-1.5.1-py2.7.egg', '/srv/eggs/msgpack_python-0.5.6-py2.7-linux-x86_64.egg', '/srv/eggs/python_http_client-3.2.1-py2.7.egg', '/srv/eggs/bleach-3.1.0-py2.7.egg', '/srv/eggs/rsa-4.0-py2.7.egg', '/srv/eggs/tox-3.14.0-py2.7.egg', '/srv/eggs/jsonfield-2.0.2-py2.7.egg', '/srv/eggs/django_modeldict_yplan-2.0.3-py2.7.egg', '/srv/eggs/docopt-0.4.0-py2.7.egg', '/srv/eggs/rjsmin-1.0.12-py2.7-linux-x86_64.egg', '/srv/eggs/rcssmin-1.0.6-py2.7-linux-x86_64.egg', '/srv/eggs/klepto-0.1.8-py2.7.egg', '/srv/eggs/Jinja2-2.10.3-py2.7.egg', '/srv/eggs/python_openid-2.2.5-py2.7.egg', '/srv/eggs/cryptography-2.8-py2.7-linux-x86_64.egg', '/srv/eggs/django_tastypie-0.14.2-py2.7.egg', '/srv/eggs/pyfcm-1.4.5-py2.7.egg', '/srv/eggs/django_uuidfield-0.5.0-py2.7.egg', '/srv/eggs/EasyProcess-0.2.7-py2.7.egg', '/srv/eggs/typing-3.10.0.0-py2.7.egg', '/srv/eggs/sphinxcontrib_websupport-1.2.4-py2.7.egg', '/srv/eggs/snowballstemmer-2.2.0-py2.7.egg', '/srv/eggs/imagesize-1.3.0-py2.7.egg', '/srv/eggs/Babel-2.9.1-py2.7.egg', '/srv/eggs/alabaster-0.7.12-py2.7.egg', '/srv/eggs/openapi_codec-1.3.2-py2.7.egg', '/srv/eggs/coreapi-2.3.3-py2.7.egg', '/srv/eggs/idna-2.7-py2.7.egg', '/srv/eggs/iso8601-0.1.12-py2.7.egg', '/srv/eggs/defusedxml-0.6.0-py2.7.egg', '/srv/eggs/backports.ssl_match_hostname-3.7.0.1-py2.7.egg', '/srv/eggs/google_auth-1.6.3-py2.7.egg', '/srv/eggs/uritemplate-3.0.0-py2.7.egg', '/srv/eggs/kombu-3.0.37-py2.7.egg', '/srv/eggs/billiard-3.3.0.23-py2.7-linux-x86_64.egg', '/srv/eggs/s3transfer-0.2.1-py2.7.egg', '/srv/eggs/jmespath-0.9.4-py2.7.egg', '/srv/eggs/botocore-1.13.45-py2.7.egg', '/srv/eggs/traitlets-4.3.3-py2.7.egg', '/srv/eggs/simplegeneric-0.8.1-py2.7.egg', '/srv/eggs/pickleshare-0.7.5-py2.7.egg', '/srv/eggs/pexpect-4.7.0-py2.7.egg', '/srv/eggs/oauthlib-3.1.0-py2.7.egg', '/srv/eggs/webencodings-0.5.1-py2.7.egg', '/srv/eggs/virtualenv-16.7.7-py2.7.egg', '/srv/eggs/toml-0.10.0-py2.7.egg', '/srv/eggs/py-1.8.0-py2.7.egg', '/srv/eggs/pluggy-0.13.0-py2.7.egg', '/srv/eggs/packaging-19.2-py2.7.egg', '/srv/eggs/importlib_metadata-0.23-py2.7.egg', '/srv/eggs/filelock-3.0.12-py2.7.egg', '/srv/eggs/pox-0.2.7-py2.7.egg', '/srv/eggs/dill-0.3.1.1-py2.7.egg', '/srv/eggs/MarkupSafe-1.1.1-py2.7-linux-x86_64.egg', '/srv/eggs/cffi-1.13.1-py2.7-linux-x86_64.egg', '/srv/eggs/requests_toolbelt-0.9.1-py2.7.egg', '/srv/eggs/sphinxcontrib_serializinghtml-1.1.5-py2.7.egg', '/srv/eggs/itypes-1.1.0-py2.7.egg', '/srv/eggs/coreschema-0.0.4-py2.7.egg', '/srv/eggs/anyjson-0.3.3-py2.7.egg', '/srv/eggs/amqp-1.4.9-py2.7.egg', '/srv/eggs/ipython_genutils-0.2.0-py2.7.egg', '/srv/eggs/pathlib2-2.3.7.post1-py2.7.egg', '/srv/eggs/ptyprocess-0.6.0-py2.7.egg', '/srv/eggs/pyparsing-2.4.2-py2.7.egg', '/srv/eggs/zipp-0.6.0-py2.7.egg', '/srv/eggs/configparser-4.0.2-py2.7.egg', '/srv/eggs/pycparser-2.19-py2.7.egg', '/srv/eggs/scandir-1.10.0-py2.7-linux-x86_64.egg', '/srv/eggs/more_itertools-7.2.0-py2.7.egg', '/srv/parts/django', '/srv/lingq_com', '/srv/src', '/srv/src/thelinguist', '/srv/lib', '/srv/parts/sphinxapi', '/srv/parts/feeds', '/srv/parts/django-oauth-access', '/srv/parts/oauth-open-inviter', '/srv/parts/onesky', '/srv/parts/jaconv', '/srv/parts/mafan', '/srv/parts/jianfan', '/srv/parts/nexus', '/srv/parts/django-ios-notifications', '/srv/parts/django-fields/src', '/srv/parts/youtube-dl', '/srv/parts/werkzeug', '/srv/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/srv'] |
Server time: | Wed, 22 May 2024 22:39:26 +0000 |
/srv/eggs/Django-1.11.29-py2.7.egg/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function CollectionView at 0x7f84005717d0> |
callback_args | () |
callback_kwargs | {'code': 'ja', 'collection_id': u'1211707'} |
e | Error('error 26 from memcached_set: Transport endpoint is not connected',) |
middleware_method | <bound method SentryMiddleware.process_view of <raven.contrib.django.middleware.SentryMiddleware object at 0x7f83e6cc1830>> |
request | <WSGIRequest: GET '/en/learn-japanese-online/courses/1211707/?page=1'> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=lingq_public_content.views.CollectionView, args=(), kwargs={'collection_id': u'1211707', 'code': 'ja'}, url_name=lingq-public-collection, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.test.client.ClientHandler object at 0x7f83e6cd0ed0> |
wrapped_callback | <function CollectionView at 0x7f84005717d0> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', 'collection': <Collection: Digimon (ja)>, 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', u'is_paginated': False, 'language': <Language: Japanese>, 'language_code': 'ja', u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, u'page_obj': <Page 1 of 1>, u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f83e6cc9710> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
request | <WSGIRequest: GET '/en/learn-japanese-online/courses/1211707/?page=1'> |
self | <django.template.backends.django.Template object at 0x7f83e6cc9710> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
self | <django.template.base.Template object at 0x7f84127c0350> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
self | <django.template.base.Template object at 0x7f84127c0350> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
node | <ExtendsNode: extends "lingq/public_clean/public_vtheme.html"> |
self | [<ExtendsNode: extends "lingq/public_clean/public_vtheme.html">] |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
e | Error('error 26 from memcached_set: Transport endpoint is not connected',) |
self | <ExtendsNode: extends "lingq/public_clean/public_vtheme.html"> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f84126c7090> |
blocks | {u'"component_jquery"': <Block Node: "component_jquery". Contents: [<TextNode: u'\n <script type="te'>]>, u'"component_js"': <Block Node: "component_js". Contents: [<TextNode: u'\n <script type="te'>, <django.template.defaulttags.URLNode object at 0x7f84127b1110>, <TextNode: u"' defer></script>\n ">, <django.templatetags.static.StaticNode object at 0x7f84127b11d0>, <TextNode: u"' defer ></script>\n ">]>, u'ab_testing': <Block Node: ab_testing. Contents: []>, u'above_the_fold_css': <Block Node: above_the_fold_css. Contents: [<TextNode: u'\n <style type="tex'>]>, u'add_head': <Block Node: add_head. Contents: [<TextNode: u'\n '>]>, u'body_class': <Block Node: body_class. Contents: []>, u'canonical': <Block Node: canonical. Contents: [<Variable Node: request.path>]>, u'content': <Block Node: content. Contents: []>, u'extra_spaces': <Block Node: extra_spaces. Contents: []>, u'fonts': <Block Node: fonts. Contents: [<TextNode: u'\n <link rel="prelo'>]>, u'hreflangs': <Block Node: hreflangs. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f84127a42d0>]>, u'html_class': <Block Node: html_class. Contents: []>, u'ie_compat': <Block Node: ie_compat. Contents: [<TextNode: u'edge,chrome=1'>]>, u'main_footer': <Block Node: main_footer. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab7d0>, <TextNode: u'\n '>]>, u'meta_description': <Block Node: meta_description. Contents: [<TextNode: u'Learning Languages Online'>]>, u'metadata': <Block Node: metadata. Contents: []>, u'metadata_fb': <Block Node: metadata_fb. Contents: [<TextNode: u'\n <meta property="og:u'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a590>, <TextNode: u'\' />\n <meta property="'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a690>, <TextNode: u"' />\n ">, <django.templatetags.static.StaticNode object at 0x7f841279a790>, <TextNode: u'\n <meta property="og:i'>, <Variable Node: logo|full_url>, <TextNode: u'" />\n '>]>, u'metadata_twitter': <Block Node: metadata_twitter. Contents: [<TextNode: u'\n <meta name="twitter:'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a410>, <TextNode: u"' />\n ">]>, u'modals': <Block Node: modals. Contents: []>, u'navigation': <Block Node: navigation. Contents: [<TextNode: u'\n <section class="'>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab650>, <TextNode: u'\n </div>\n '>]>, u'schema_org': <Block Node: schema_org. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f841279abd0>, <TextNode: u'\n '>]>, u'scripts_bottom': <Block Node: scripts_bottom. Contents: []>, u'svo_async': <Block Node: svo_async. Contents: [<TextNode: u'\n '>]>, u'title': <Block Node: title. Contents: [<TextNode: u'LingQ'>]>, u'tracking': <Block Node: tracking. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f84127b1390>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>]>} |
compiled_parent | <django.template.base.Template object at 0x7f8426f02f50> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
node | <Variable Node: LANGUAGE_CODE|default:"en"> |
self | <ExtendsNode: extends "lingq/public_clean/public_vtheme.html"> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
self | <django.template.base.Template object at 0x7f8426f02f50> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n ' |
bits | [u'<!DOCTYPE html>\n<html lang="', u'en', u'" ', u'', u'', u' class="fonts-loaded ', u'', u'">\n<head>\n ', u'', u'\n ', u'', u'\n\n ', u'', u'\n\n <title>', u'Digimon - LingQ Language Library', u'</title>\n\n <link rel="canonical" href="', u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'">\n <link href="', u'https://static.lingq.com/static/webapp/images/favicon.png', u'" rel="icon" type="image/x-icon">\n ', u'\n\n<meta name="author" content=\'The linguist Institute\'>\n<!-- <meta name="apple-itunes-app" content="app-id=379385811"> -->\n<!-- <meta name="google-play-app" content="app-id=com.linguist"> -->\n<meta name="viewport" content="width=device-width, initial-scale=1.0">\n', u'\n ', u'\n <link rel="preload" href="/static/fonts/fontawesome-webfont.woff2" as="font" type="font/woff2" crossorigin="anonymous">\n <link rel="stylesheet preload" href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap" as="style" crossorigin="anonymous">\n ', u'\n\n ', u'\n <style type="text/css">\n html:not(.fonts-loaded){font-family: sans-serif;}html:not(.fonts-loaded) .has-text-bold{font-family: sans-serif;}html body{transition: opacity 233ms ease;opacity:0;}\n </style>\n', u'\n\n ', u'\n <meta name="twitter:card" content="summary" />\n <meta name="twitter:site" content="@LingQ_Central" />\n <meta name="twitter:creator" content="@LingQ_Central" />\n <meta name="twitter:description" content=\'Thousands of hours of language learning content to choose from in 42 languages, including audio and video, with full transcripts. Import content from your favourite sites and create personalized lessons.\' />\n ', u'\n\n ', u'\n <meta property="og:url" content="https://lingq.com" />\n <meta property="og:type" content="website" />\n <meta property="og:title" content=\'Digimon - LingQ Language Library\' />\n <meta property="og:description" content="Learn Japanese from Digimon using the LingQ language learning system to learn from content of interest." />\n <meta property="og:image" content=\'https://static.lingq.com/media/resources/collections/images/2023/05/03/1683078041_b5df9fa6.webp\' />\n', u'\n\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=', u'edge,chrome=1', u'">\n <meta name="robots" content="NOODP">\n <meta name="googlebot" content="NOODP" >\n <meta name="msnbot" content="NOODP" >\n <meta name="revisit" content="1 day">\n <meta name="revisit-after" content="1 day">\n <meta name="content-language" content="', u'en', u'">\n <meta property="fb:page_id" content="47793958785">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <meta content="', u'Learn Japanese from Digimon using the LingQ language learning system to learn from content of interest.', u'" name="description">\n\n ', u'\n<script type="application/ld+json">\n {\n "@context": "https://schema.org",\n "@graph": [\n {\n "@type": "LearningResource",\n "name": "Digimon",\n "url": "/en/learn-japanese-online/courses/1211707/",\n "educationalUse": "self-education",\n "description": " Music, Tweets, and related Digimon media | 1 Lesson | 1683 Words",\n "educationalLevel": "Beginner 2",\n "image": " https://static.lingq.com/media/resources/collections/images/2023/05/03/1683078041_b5df9fa6.webp ",\n "hasPart": [{\n "@type": "Article",\n "headline": "Digimon Adventure TRI \\u002D Butter\\u002DFly \\u002D All Cast Version",\n "position": "1",\n "image": " https://static.lingq.com/media/resources/contents/images/2022/10/31/1667175710_9b410005.webp ",\n ... <trimmed 5778 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
node | <Tag: render_block> |
self | [<TextNode: u'<!DOCTYPE html>\n<html lan'>, <Variable Node: LANGUAGE_CODE|default:"en">, <TextNode: u'" '>, <IfNode>, <Block Node: extra_spaces. Contents: []>, <TextNode: u' class="fonts-loaded '>, <Block Node: html_class. Contents: []>, <TextNode: u'">\n<head>\n '>, <django.template.defaulttags.LoadNode object at 0x7f8412782650>, <TextNode: u'\n '>, <django.template.defaulttags.LoadNode object at 0x7f8412782710>, <TextNode: u'\n\n '>, <Block Node: ab_testing. Contents: []>, <TextNode: u'\n\n <title>'>, <Block Node: title. Contents: [<TextNode: u'LingQ'>]>, <TextNode: u'</title>\n\n <link rel="'>, <Block Node: canonical. Contents: [<Variable Node: request.path>]>, <TextNode: u'">\n <link href="'>, <django.templatetags.static.StaticNode object at 0x7f84127829d0>, <TextNode: u'" rel="icon" type="image/'>, <django.template.loader_tags.IncludeNode object at 0x7f841279a210>, <TextNode: u'\n '>, <Block Node: fonts. Contents: [<TextNode: u'\n <link rel="prelo'>]>, <TextNode: u'\n\n '>, <Block Node: above_the_fold_css. Contents: [<TextNode: u'\n <style type="tex'>]>, <TextNode: u'\n\n '>, <Block Node: metadata_twitter. Contents: [<TextNode: u'\n <meta name="twitter:'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a410>, <TextNode: u"' />\n ">]>, <TextNode: u'\n\n '>, <Block Node: metadata_fb. Contents: [<TextNode: u'\n <meta property="og:u'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a590>, <TextNode: u'\' />\n <meta property="'>, <django.templatetags.i18n.TranslateNode object at 0x7f841279a690>, <TextNode: u"' />\n ">, <django.templatetags.static.StaticNode object at 0x7f841279a790>, <TextNode: u'\n <meta property="og:i'>, <Variable Node: logo|full_url>, <TextNode: u'" />\n '>]>, <TextNode: u'\n\n <meta http-equiv="C'>, <Block Node: ie_compat. Contents: [<TextNode: u'edge,chrome=1'>]>, <TextNode: u'">\n <meta name="robots'>, <Variable Node: LANGUAGE_CODE>, <TextNode: u'">\n <meta property="fb'>, <Block Node: meta_description. Contents: [<TextNode: u'Learning Languages Online'>]>, <TextNode: u'" name="description">\n\n '>, <Block Node: schema_org. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f841279abd0>, <TextNode: u'\n '>]>, <TextNode: u'\n\n '>, <Block Node: metadata. Contents: []>, <TextNode: u'\n\n '>, <compressor.templatetags.compress.CompressorNode object at 0x7f841278bdd0>, <TextNode: u'\n\n\n '>, <Tag: addtoblock>, <TextNode: u'\n\n '>, <Tag: render_block>] |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
e | Error('error 26 from memcached_set: Transport endpoint is not connected',) |
self | <Tag: render_block> |
/srv/eggs/django_classy_tags-0.6.1-py2.7.egg/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
items | [('name', <classytags.values.StringValue object at 0x7f84127a4150>), ('postprocessor', <TemplateConstant: None>)] |
key | 'postprocessor' |
kwargs | {'name': u'component_css', 'nodelist': [<TextNode: u'\n\n\n '>, <Block Node: hreflangs. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f84127a42d0>]>, <TextNode: u'\n\n '>, <django.template.library.SimpleNode object at 0x7f84127a4410>, <TextNode: u'\n\n '>, <For Node: for css_file in publicV_css, tail_len: 5>, <TextNode: u'\n\n <script>\n !f'>, <IfNode>, <TextNode: u'\n</head>\n<body class="lan'>, <Variable Node: request.LANGUAGE_CODE>, <TextNode: u' navbar-fixed v5-template'>, <Block Node: body_class. Contents: []>, <TextNode: u' '>, <IfNode>, <TextNode: u'">\n '>, <IfNode>, <TextNode: u'\n '>, <Block Node: navigation. Contents: [<TextNode: u'\n <section class="'>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab650>, <TextNode: u'\n </div>\n '>]>, <TextNode: u'\n\n <main>\n '>, <Block Node: content. Contents: []>, <TextNode: u'\n </main>\n '>, <Block Node: main_footer. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab7d0>, <TextNode: u'\n '>]>, <TextNode: u'\n\n\n '>, <Block Node: modals. Contents: []>, <TextNode: u'\n <div id="bottom-elem'>, <Block Node: add_head. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n\n '>, <Block Node: "component_jquery". Contents: [<TextNode: u'\n <script type="te'>]>, <TextNode: u'\n <script type="text/j'>, <Variable Node: STATIC_URL>, <TextNode: u"';\n window.YOUTUBE">, <django.template.defaulttags.URLNode object at 0x7f84127abb10>, <TextNode: u"';\n });\n </script>\n">, <compressor.templatetags.compress.CompressorNode object at 0x7f8412795710>, <TextNode: u'\n\n <!-- component_tmpl'>, <Tag: render_block>], 'postprocessor': None} |
self | <Tag: render_block> |
value | <TemplateConstant: None> |
/srv/eggs/django_sekizai-0.9.0-py2.7.egg/sekizai/templatetags/sekizai_tags.py
in render_tag
Argument('postprocessor', required=False, default=None, resolve=False),
parser_class=SekizaiParser,
)
def render_tag(self, context, name, postprocessor, nodelist):
if not validate_context(context):
return nodelist.render(context)
rendered_contents = nodelist.render(context)...
varname = get_varname()
data = '\n'.join(context[varname][name])
if postprocessor:
func = import_processor(postprocessor)
data = func(context, data, name)
return '%s\n%s' % (data, rendered_contents)
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
name | u'component_css' |
nodelist | [<TextNode: u'\n\n\n '>, <Block Node: hreflangs. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f84127a42d0>]>, <TextNode: u'\n\n '>, <django.template.library.SimpleNode object at 0x7f84127a4410>, <TextNode: u'\n\n '>, <For Node: for css_file in publicV_css, tail_len: 5>, <TextNode: u'\n\n <script>\n !f'>, <IfNode>, <TextNode: u'\n</head>\n<body class="lan'>, <Variable Node: request.LANGUAGE_CODE>, <TextNode: u' navbar-fixed v5-template'>, <Block Node: body_class. Contents: []>, <TextNode: u' '>, <IfNode>, <TextNode: u'">\n '>, <IfNode>, <TextNode: u'\n '>, <Block Node: navigation. Contents: [<TextNode: u'\n <section class="'>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab650>, <TextNode: u'\n </div>\n '>]>, <TextNode: u'\n\n <main>\n '>, <Block Node: content. Contents: []>, <TextNode: u'\n </main>\n '>, <Block Node: main_footer. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab7d0>, <TextNode: u'\n '>]>, <TextNode: u'\n\n\n '>, <Block Node: modals. Contents: []>, <TextNode: u'\n <div id="bottom-elem'>, <Block Node: add_head. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n\n '>, <Block Node: "component_jquery". Contents: [<TextNode: u'\n <script type="te'>]>, <TextNode: u'\n <script type="text/j'>, <Variable Node: STATIC_URL>, <TextNode: u"';\n window.YOUTUBE">, <django.template.defaulttags.URLNode object at 0x7f84127abb10>, <TextNode: u"';\n });\n </script>\n">, <compressor.templatetags.compress.CompressorNode object at 0x7f8412795710>, <TextNode: u'\n\n <!-- component_tmpl'>, <Tag: render_block>] |
postprocessor | None |
self | <Tag: render_block> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'">\n ' |
bits | [u'\n\n\n ', u'\n\n<link rel="alternate" href="https://www.lingq.com/en/learn-japanese-online/courses/1211707/" hreflang="x-default" />\n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/en/learn-japanese-online/courses/1211707/" hreflang="en" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/es/aprende-japones-en-linea/courses/1211707/" hreflang="es" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/de/japanisch-lernen-online/courses/1211707/" hreflang="de" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/fr/apprendre-japonais-en-ligne/courses/1211707/" hreflang="fr" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/it/imparare-giapponese/courses/1211707/" hreflang="it" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/pt/aprenda-japones-online/courses/1211707/" hreflang="pt" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/" hreflang="ja" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/zh-cn/%E5%9C%A8%E7%BA%BF%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AF%AD/courses/1211707/" hreflang="zh-cn" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/zh-tw/%E7%B7%9A%E4%B8%8A%E5%AD%B8%E7%BF%92%E6%97%A5%E8%AA%9E/courses/1211707/" hreflang="zh-tw" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/ko/learn-japanese-online/courses/1211707/" hreflang="ko" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/ru/%D0%B8%D0%B7%D1%83%D1%87%D0%B0%D0%B9-%D1%8F%D0%BF%D0%BE%D0%BD%D1%81%D0%BA%D0%B8%D0%B9-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD/courses/1211707/" hreflang="ru" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/sv/lara-sig-japansk/courses/1211707/" hreflang="sv" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/tr/online-japonca-%C3%B6%C4%9Fren/courses/1211707/" hreflang="tr" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/nl/leer-japans-online/courses/1211707/" hreflang="nl" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/lt/japonijos-kalbos-pamokos-internete/courses/1211707/" hreflang="lt" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/el/%CE%BC%CE%AC%CE%B8%CE%B5-%CE%99%CE%B1%CF%80%CF%89%CE%BD%CE%B9%CE%BA%CE%AC-online/courses/1211707/" hreflang="el" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/pl/%20ucz%20si%C4%99-japo%C5%84skiego-online/courses/1211707/" hreflang="pl" />\n \n \n\n \n \n \n <link rel="alternate" href="https://www.lingq.com/uk/%D0%B2%D0%B8%D0%B2%D1%87%D0%B0%D0%B9-%D1%8F%D0%BF%D0%BE%D0%BD%D1%81%D1%8C%D0%BA%D1%83-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD/courses/1211707/" hreflang="uk" />\n \n \n\n \n\n \n\n \n\n \n', u'\n\n ', u'', u'\n\n ', u'\n <link rel="preload" href="/static/webapp/publicV5-3c04523477ab7beb55ef.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'">\n <noscript><link rel="stylesheet" href="/static/webapp/publicV5-3c04523477ab7beb55ef.css"></noscript>\n ', u'\n\n <script>\n !function(t){"use strict";t.loadCSS||(t.loadCSS=function(){});var e=loadCSS.relpreload={};if(e.support=function(){var e;t... <trimmed 5661 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
node | <IfNode> |
self | [<TextNode: u'\n\n\n '>, <Block Node: hreflangs. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f84127a42d0>]>, <TextNode: u'\n\n '>, <django.template.library.SimpleNode object at 0x7f84127a4410>, <TextNode: u'\n\n '>, <For Node: for css_file in publicV_css, tail_len: 5>, <TextNode: u'\n\n <script>\n !f'>, <IfNode>, <TextNode: u'\n</head>\n<body class="lan'>, <Variable Node: request.LANGUAGE_CODE>, <TextNode: u' navbar-fixed v5-template'>, <Block Node: body_class. Contents: []>, <TextNode: u' '>, <IfNode>, <TextNode: u'">\n '>, <IfNode>, <TextNode: u'\n '>, <Block Node: navigation. Contents: [<TextNode: u'\n <section class="'>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab650>, <TextNode: u'\n </div>\n '>]>, <TextNode: u'\n\n <main>\n '>, <Block Node: content. Contents: []>, <TextNode: u'\n </main>\n '>, <Block Node: main_footer. Contents: [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7f84127ab7d0>, <TextNode: u'\n '>]>, <TextNode: u'\n\n\n '>, <Block Node: modals. Contents: []>, <TextNode: u'\n <div id="bottom-elem'>, <Block Node: add_head. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n\n '>, <Block Node: "component_jquery". Contents: [<TextNode: u'\n <script type="te'>]>, <TextNode: u'\n <script type="text/j'>, <Variable Node: STATIC_URL>, <TextNode: u"';\n window.YOUTUBE">, <django.template.defaulttags.URLNode object at 0x7f84127abb10>, <TextNode: u"';\n });\n </script>\n">, <compressor.templatetags.compress.CompressorNode object at 0x7f8412795710>, <TextNode: u'\n\n <!-- component_tmpl'>, <Tag: render_block>] |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
e | Error('error 26 from memcached_set: Transport endpoint is not connected',) |
self | <IfNode> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (or (and (literal <django.template.base.FilterExpression object at 0x7f84127a4e50>) (not (literal <django.template.base.FilterExpression object at 0x7f84127a4fd0>))) (not (literal <django.template.base.FilterExpression object at 0x7f84127ab150>))) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
match | True |
nodelist | [<TextNode: u'\n '>, <django.templatetags.cache.CacheNode object at 0x7f84127ab350>, <TextNode: u'\n '>] |
self | <IfNode> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n ' |
bits | [u'\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
node | <django.templatetags.cache.CacheNode object at 0x7f84127ab350> |
self | [<TextNode: u'\n '>, <django.templatetags.cache.CacheNode object at 0x7f84127ab350>, <TextNode: u'\n '>] |
/srv/eggs/Django-1.11.29-py2.7.egg/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
e | Error('error 26 from memcached_set: Transport endpoint is not connected',) |
self | <django.templatetags.cache.CacheNode object at 0x7f84127ab350> |
/srv/eggs/Django-1.11.29-py2.7.egg/django/templatetags/cache.py
in render
fragment_cache = caches['default']
vary_on = [var.resolve(context) for var in self.vary_on]
cache_key = make_template_fragment_key(self.fragment_name, vary_on)
value = fragment_cache.get(cache_key)
if value is None:
value = self.nodelist.render(context)
fragment_cache.set(cache_key, value, expire_time)...
return value
@register.tag('cache')
def do_cache(parser, token):
"""
Variable | Value |
---|---|
cache_key | u'template.cache.cookie_policy_notice_template_v1.461c95518683d3eafc858c124e7ec915' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f83e6cd0090>, 'seo_index_url': u'/en/learn-japanese-online/', 'content_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'language': <Language: Japanese>, u'object_list': <QuerySet [<Content: Digimon, Digimon Adventure TRI - Butter-Fly - All Cast Version>]>, 'collection': <Collection: Digimon (ja)>, u'page_obj': <Page 1 of 1>, u'publicV_css': [{'url': 'https://static.lingq.com/static/webapp/publicV5-3c04523477ab7beb55ef.css', 'name': u'publicV5-3c04523477ab7beb55ef.css'}], 'content_url': u'/en/learn/ja/store/1211707/16471738/buy/', 'language_code': 'ja', u'is_paginated': False, 'canonical_url': u'/ja/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%AD%A6%E7%BF%92/courses/1211707/', u'view': <lingq_public_content.views.CollectionView object at 0x7f83e6cc4410>}] |
expire_time | 2592000 |
fragment_cache | <django.core.cache.backends.memcached.PyLibMCCache object at 0x7f84011b9710> |
self | <django.templatetags.cache.CacheNode object at 0x7f84127ab350> |
value | u'\n \n\n<script>\n function acceptCookiePolicy() {\n var gdprEl = document.querySelectorAll(".gdpr-notice")[0]\n var bodyEl = document.body;\n\n gdprEl.classList.add("is-hidden")\n bodyEl.classList.add("gdpr-cookie-accepted")\n \n document.cookie = \'gdrp_acpt=1;path=/;samesite=lax"\'\n \n }\n</script>\n<div class="gdpr-notice notification is-info is-marginless">\n <a href="javascript:acceptCookiePolicy()" class="close-btn delete">\n ×\n </a>\n <p>\n We use cookies to help make LingQ better. By visiting the site, you agree to our\n <a href="/en/cookie-policy/">cookie policy</a>.\n </p>\n</div>\n\n\n ' |
var | <django.template.base.FilterExpression object at 0x7f84127ab3d0> |
vary_on | [CallableBool(False), 'en'] |
/srv/eggs/Django-1.11.29-py2.7.egg/django/core/cache/backends/memcached.py
in set
val = self._cache.get(key)
if val is None:
return default
return val
def set(self, key, value, timeout=DEFAULT_TIMEOUT, version=None):
key = self.make_key(key, version=version)
if not self._cache.set(key, value, self.get_backend_timeout(timeout)):...
# make sure the key doesn't keep its old value in case of failure to set (memcached's 1MB limit)
self._cache.delete(key)
def delete(self, key, version=None):
key = self.make_key(key, version=version)
self._cache.delete(key)
Variable | Value |
---|---|
key | ':1:template.cache.cookie_policy_notice_template_v1.461c95518683d3eafc858c124e7ec915' |
self | <django.core.cache.backends.memcached.PyLibMCCache object at 0x7f84011b9710> |
timeout | 2592000 |
value | u'\n \n\n<script>\n function acceptCookiePolicy() {\n var gdprEl = document.querySelectorAll(".gdpr-notice")[0]\n var bodyEl = document.body;\n\n gdprEl.classList.add("is-hidden")\n bodyEl.classList.add("gdpr-cookie-accepted")\n \n document.cookie = \'gdrp_acpt=1;path=/;samesite=lax"\'\n \n }\n</script>\n<div class="gdpr-notice notification is-info is-marginless">\n <a href="javascript:acceptCookiePolicy()" class="close-btn delete">\n ×\n </a>\n <p>\n We use cookies to help make LingQ better. By visiting the site, you agree to our\n <a href="/en/cookie-policy/">cookie policy</a>.\n </p>\n</div>\n\n\n ' |
version | None |
AnonymousUser
Variable | Value |
---|---|
page | u'1' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_COOKIE | u'' |
HTTP_USER_AGENT | 'LingQ/Fake-Request' |
PATH_INFO | u'/en/learn-japanese-online/courses/1211707/' |
QUERY_STRING | 'page=1' |
REMOTE_ADDR | '127.0.0.1' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'testserver' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
wsgi.errors | <_io.BytesIO object at 0x7f8426f9f110> |
wsgi.input | <django.test.client.FakePayload object at 0x7f83e6cd0190> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
lingq_com.production
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ADAPTER | 'lingq.adapter.AccountAdapter' |
ACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_SIGNUP_FORM_CLASS | 'lingq.forms.SocialSignupForm' |
ACCOUNT_UNIQUE_EMAIL | True |
ADMINS | [] |
ADMIN_MEDIA_PREFIX | '/media/admin/' |
ALLOWED_HOSTS | '*' |
AMPLITUDE_API_KEY | u'********************' |
AMPLITUDE_CHART_ID | '1np31erx' |
AMPLITUDE_SECRET_KEY | u'********************' |
APPEND_SLASH | True |
APPLE_SHARED_SECRET | u'********************' |
AUDRECOG_SERVICE_HOST | 'srv.lingq.com' |
AUDRECOG_SERVICE_PORT | '5020' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'lingq.adapter.LingQAuthenticationBackend', 'lingq.adapter.LingQMagicLinkAuthenticationBackend') |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'lingq.Profile' |
AUTOPILOT_API_KEY | u'********************' |
AUTO_RENDER_SELECT2_STATICS | True |
AVATAR | {'activity_index_levels': (4000, 2000, 1000, 500, 100, 5, 1), 'beginner_known_words': 5, 'lingqs_per_credit': 10, 'media_root': '/srv/src/lingq_avatar/media/', 'speaking_award_levels': (1, 5, 15, 25, 50, 80, 125, 175, 250), 'writing_award_levels': (100, 1000, 3000, 5000, 10000, 16000, 25000, 35000, 50000)} |
AWS_ACCESS_KEY_ID | u'********************' |
AWS_BUCKET_ACL | 'public' |
AWS_ELASTICSEARCH_KEY_ID | u'********************' |
AWS_ELASTICSEARCH_KEY_SECRET | u'********************' |
AWS_QUERYSTRING_AUTH | False |
AWS_REGION_NAME | 'us-east-1' |
AWS_S3_CALLING_FORMAT | <boto.s3.connection.OrdinaryCallingFormat object at 0x7f8437380150> |
AWS_S3_SECURE_URLS | True |
AWS_SECRET_ACCESS_KEY | u'********************' |
AWS_STORAGE_BUCKET_NAME | 'media.lingq.com' |
BASE_DIR | '/srv/lingq_com' |
BITLY_KEY | u'********************' |
BROKER_HOST | '10.10.5.180' |
BROKER_URL | 'amqp://guest:guest@10.10.5.180:5672//' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': '10.10.5.218:11211'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CACHE_REDIS_DATABASE | 1 |
CACHE_REDIS_HOSTNAME | '10.10.5.113' |
CACHE_REDIS_PORT | 6379 |
CARDS_READ_DB | 'slave' |
CELERYBEAT_SCHEDULE | {'cache-stats-page': {'schedule': <crontab: 3 0 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.cache_stats_page'}, 'cache-stats-page-hourly': {'kwargs': {'revenue': True}, 'schedule': <crontab: 7 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.cache_stats_page'}, 'calc-site-stats': {'schedule': <crontab: 1 0 * [1, 16] * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.calc_site_stats'}, 'check-ios-subscription-status': {'args': (), 'schedule': <crontab: 30 22 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.check_subscriptions_status'}, 'clean-media-feed': {'schedule': <crontab: 30 3 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.clean_media_feed'}, 'clean-rejected-lessons': {'schedule': <crontab: 30 3 6 * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.clean_rejected_lessons'}, 'clear-lesson-update-progress': {'schedule': <crontab: 15 */1 * * * (m/h/d/dM/MY)>, 'task': 'lingq.text.tasks.track_update_progress'}, 'cleargarbage': {'schedule': <crontab: 5 */1 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.cleargarbage'}, 'clearsessions': {'schedule': <crontab: */20 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.clearsessions'}, 'confiscate-points': {'schedule': <crontab: 3 2 * 2 * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.confiscate_points'}, 'deactivate-unresponsive-devices': {'args': (), 'schedule': <crontab: 0 22 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.deactivate_unresponsive_devices'}, 'deliver-lang-twitter-messages': {'args': (), 'schedule': <crontab: 15 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.deliver_language_twitter_messages'}, 'deliver-orders': {'args': (), 'schedule': <crontab: 15 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.deliver_orders'}, 'expire-promo-memberships': {'args': (), 'schedule': <crontab: 20 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.expire_promo_memberships'}, 'expired-conversation': {'args': (), 'schedule': <crontab: 5 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.expired_conversation'}, 'extend-tutor-schedule': {'schedule': <crontab: 30 3 6 * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.extend_tutor_schedule'}, 'generate-content-sitemaps': {'kwargs': {'group': 'content'}, 'schedule': <crontab: 0 10 1 * * (m/h/d/dM/MY)>, 'task': 'lingq_sitemaps.tasks.generate_sitemaps'}, 'generate-monthly-challenge': {'kwargs': {'next_month': False}, 'schedule': <crontab: 5 [0, 12] * 1 * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.generate_monthly_challenges'}, 'generate-monthly-challenge-before-start': {'kwargs': {'next_month': True}, 'schedule': <crontab: 5 [0, 12] * 22 * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.generate_monthly_challenges'}, 'generate-sitemaps': {'schedule': <crontab: 0 9 1 * * (m/h/d/dM/MY)>, 'task': 'lingq_sitemaps.tasks.generate_sitemaps'}, 'generate-srs-cards': {'schedule': <crontab: 15 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.generate_srs_cards'}, 'incomplete-request': {'args': (), 'schedule': <crontab: 0 5 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.incomplete_request'}, 'membership-change': {'args': (), 'schedule': <crontab: 15 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.perform_membership_change'}, 'membership-reminders': {'args': (), 'schedule': <crontab: 30 3 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.expire_multi_month_memberships'}, 'merge-10secrets-profiles': u'********************', 'no-responded-request': {'args': (), 'schedule': <crontab: 0 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.no_responded_request'}, 'pending-conversation': {'args': (), 'schedule': <crontab: 0 5 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.pending_conversation'}, 'points-allowance': {'args': (), 'schedule': <crontab: 30 5 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.fulfill_subscription_services'}, 'purge-expired-sns-snapshots': {'schedule': <crontab: 0 1 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.purge_expired_sns_snapshots'}, 'purge-overlimit-content': {'schedule': <crontab: 30 4 6 * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.purge_overlimit_content'}, 'recalc-ai': {'schedule': <crontab: 11 6 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.recalc_ai'}, 'remind-streak': {'schedule': <crontab: */30 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.remind_streak'}, 'reward-challenge-participants': {'args': (), 'schedule': <crontab: 0 2 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.reward_challenge_participants'}, 'reward-top-challengers': {'args': (), 'schedule': <crontab: 0 4 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.reward_top_challengers'}, 'send-inactive-tutors-email': {'schedule': <crontab: 0 3 * [1, 10] * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.send_inactive_tutors_email'}, 'statistics-collection': {'args': (), 'schedule': <crontab: 45 23 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_statistics'}, 'streak-repair-emails': {'schedule': <crontab: 11 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.repair_streak_email'}, 'upcoming-conversation': {'args': (), 'schedule': <crontab: 1 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.upcoming_conversation_schedule'}, 'update-autopilot': {'schedule': <crontab: 3 [0, 12] * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_autopilot'}, 'update-country-stats': {'args': (), 'schedule': <crontab: 0 */3 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_country_stats'}, 'update-feeds': {'schedule': <crontab: 18 7 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_feeds'}, 'update-inactive-tutors-availability': {'schedule': <crontab: 0 3 * [2, 3, 4, 11, 12, 13] * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_inactive_tutors_availability'}, 'update-learned-words-counter': {'schedule': <crontab: 35 */1 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_learned_words_counter'}, 'update-media-feed': {'schedule': <crontab: 10 * * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_media_feed'}, 'update-news-feed': {'schedule': <crontab: 10 3 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_news_feed'}, 'upgrade-challenge-measures': {'args': (), 'schedule': <crontab: 30 7 sun * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_90days_challenge_measures'}, 'upgrade-challenge-rank': {'args': (), 'schedule': <crontab: 0 */3 * * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.update_challenge_rank'}, 'warning-points-expiration': {'schedule': <crontab: 3 1 * 2 * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.warn_points_expiration'}, 'weekly-likes-report': {'schedule': <crontab: 17 0 1 * * (m/h/d/dM/MY)>, 'task': 'periodic_tasks.send_weekly_likes_report'}} |
CELERY_DISABLE_RATE_LIMITS | True |
CELERY_IMPORTS | ['periodic_tasks'] |
CELERY_RESULT_BACKEND | 'redis://lingq-celery-backend/2' |
CELERY_ROUTES | {'es_bridge.tasks.delete_from_es': {'queue': 'es_delete'}, 'es_bridge.tasks.es_update': {'queue': 'celery_es_update'}, 'es_bridge.tasks.push_to_es': {'queue': 'celery_es'}, 'lingq.text.tasks.import_lesson_data': {'queue': 'import_data'}, 'lingq.text.tasks.import_lesson_data_novideo': {'queue': 'import_data'}, 'lingq.text.tasks.import_lesson_data_video': {'queue': 'import_data_video'}, 'lingq.text.tasks.legacy_generate_sentence_audios': {'queue': 'legacy_import_audio'}, 'lingq.text.tasks.legacy_import_lesson_audio': {'queue': 'legacy_import_audio'}, 'lingq.text.tasks.legacy_import_lesson_parts': {'queue': 'legacy_import'}, 'lingq.text.tasks.legacy_import_lesson_parts_complete': {'queue': 'legacy_import'}, 'lingq.text.tasks.legacy_import_lesson_single_part': {'queue': 'legacy_import'}, 'lingq.text.tasks.legacy_import_lesson_translations': {'queue': 'legacy_import'}, 'lingq.text.tasks.legacy_normalize_audio': {'queue': 'legacy_import_audio'}, 'lingq.text.tasks.rebuild_lesson_data': {'queue': 'import_data'}, 'lingq.text.tasks.simplify_lesson_task': {'queue': 'legacy_import'}, 'lingq.text.tasks.track_update_progress': {'queue': 'legacy_import'}, 'lingq.text.tasks.update_lesson_splitting': {'queue': 'legacy_import'}, 'lingq.text.tasks.update_lesson_terms_cache': {'queue': 'terms_cache'}, 'lingq.text.tasks.update_lesson_timestamps': {'queue': 'legacy_import_audio'}, 'lingq.text.tasks.update_lesson_translation': {'queue': 'legacy_import'}, 'lingq.text.tasks.update_lesson_tts': {'queue': 'legacy_import_audio'}, 'lingq.text.tasks.whisper_transcribe': {'queue': 'whisper_transcribe'}, 'lingq.text.tasks.whisper_transcribe_reply': {'queue': 'whisper_transcribe_reply'}, 'lingq_discourse.tasks.logout': {'queue': 'discourse_sync'}, 'lingq_discourse.tasks.migrate_forum': {'queue': 'discourse_forum'}, 'lingq_discourse.tasks.migrate_topic': {'queue': 'discourse_topic'}, 'lingq_discourse.tasks.process_discourse_webhook': {'queue': 'webhook'}, 'lingq_discourse.tasks.sync_group': {'queue': 'discourse_sync'}, 'lingq_discourse.tasks.sync_user': {'queue': 'discourse_sync'}, 'lingq_discourse.tasks.update_forum_settings': {'queue': 'discourse_forum'}, 'lingq_public_content.tasks.generate_collection_html': {'queue': 'static_collection'}, 'lingq_public_content.tasks.generate_lesson_html': {'queue': 'static_lesson'}, 'lingq_public_content.tasks.generate_seo_page': {'queue': 'static'}, 'lingq_public_content.tasks.generate_seo_pages': {'queue': 'static'}, 'lingq_public_content.tasks.remove_collection_html': {'queue': 'static_collection_remove'}, 'lingq_public_content.tasks.remove_lesson_html': {'queue': 'static_lesson_remove'}, 'lingq_sitemaps.tasks.generate_sitemap_page': {'queue': 'sitemap'}, 'lingq_sitemaps.tasks.generate_sitemaps': {'queue': 'sitemap'}, 'lingq_sitemaps.tasks.notify_google': {'queue': 'sitemap'}, 'lingq_wall.tasks.send_likes_email': {'queue': 'emails'}, 'periodic_tasks.calc_site_stats': {'queue': 'celery_rarest'}, 'periodic_tasks.check_subscriptions_status': {'queue': 'celery_rare'}, 'periodic_tasks.clean_media_feed': {'queue': 'clean_media_feed'}, 'periodic_tasks.clean_rejected_lessons': {'queue': 'celery_rare'}, 'periodic_tasks.cleargarbage': {'queue': 'celery_rare'}, 'periodic_tasks.clearsessions': {'queue': 'celery_rarest'}, 'periodic_tasks.deactivate-unresponsive-devices': {'queue': 'celery_rare'}, 'periodic_tasks.expire_multi_month_memberships': {'queue': 'celery_rare'}, 'periodic_tasks.expire_promo_memberships': {'queue': 'celery_rare'}, 'periodic_tasks.expired_conversation': {'queue': 'celery_rare'}, 'periodic_tasks.extend_tutor_schedule': {'queue': 'celery_rarest'}, 'periodic_tasks.fulfill_subscription_services': {'queue': 'celery_rare'}, 'periodic_tasks.generate_srs_cards': {'queue': 'celery_beat'}, 'periodic_tasks.incomplete_request': {'queue': 'celery_rare'}, 'periodic_tasks.merge_10secrets_profiles': u'********************', 'periodic_tasks.pending_conversation': {'queue': 'celery_rare'}, 'periodic_tasks.purge_expired_sns_snapshots': {'queue': 'celery_rarest'}, 'periodic_tasks.purge_overlimit_content': {'queue': 'celery_rarest'}, 'periodic_tasks.recalc_ai': {'queue': 'celery_rarest'}, 'periodic_tasks.recalc_profiles_ai': {'queue': 'celery_rarest'}, 'periodic_tasks.reward_challenge_participants': {'queue': 'celery_rare'}, 'periodic_tasks.reward_top_challengers': {'queue': 'celery_rare'}, 'periodic_tasks.send_inactive_tutors_email': {'queue': 'celery_rarest'}, 'periodic_tasks.send_weekly_report': {'queue': 'celery_rare'}, 'periodic_tasks.upcoming_conversation': {'queue': 'celery_rare'}, 'periodic_tasks.upcoming_conversation_schedule': {'queue': 'scheduler'}, 'periodic_tasks.update_90days_challenge_measures': {'queue': 'celery_rare'}, 'periodic_tasks.update_autopilot': {'queue': 'autopilot'}, 'periodic_tasks.update_country_stats': {'queue': 'celery_rare'}, 'periodic_tasks.update_feeds': {'queue': 'celery_rarest'}, 'periodic_tasks.update_inactive_tutors_availability': {'queue': 'celery_rarest'}, 'periodic_tasks.update_learned_words_counter': {'queue': 'celery_rarest'}, 'periodic_tasks.update_media_feed': {'queue': 'celery_feed'}, 'periodic_tasks.update_single_media_feed': {'queue': 'celery_feed'}, 'periodic_tasks.update_statistics': {'queue': 'celery_rare'}, 'tasks.amplitude_push_event': {'queue': 'clevertap'}, 'tasks.autopilot_assign_signup_list': {'queue': 'autopilot'}, 'tasks.clean_files': {'queue': 'clean_files'}, 'tasks.clevertap_push_event': {'queue': 'clevertap'}, 'tasks.clevertap_push_user': {'queue': 'clevertap'}, 'tasks.create_classroom': {'queue': 'celery_rare'}, 'tasks.del_corrupted_tts': {'queue': 'celery_tts'}, 'tasks.fix_streak': {'queue': 'streak'}, 'tasks.generate_lotd': {'queue': 'celery_lotd'}, 'tasks.generate_lotd_v2': {'queue': 'celery_lotd'}, 'tasks.generate_weekly_report': {'queue': 'celery_rarest'}, 'tasks.make_messages': {'queue': 'celery_rarest'}, 'tasks.notify_on_timeline': {'queue': 'celery_rare'}, 'tasks.process_sendgrid_webhook': {'queue': 'webhook'}, 'tasks.propagate_badges': {'queue': 'celery_debug'}, 'tasks.reassign_hint_to_cards': {'queue': 'celery_rarest'}, 'tasks.recalc_streak': {'queue': 'celery_rarest'}, 'tasks.remove_collection': {'queue': 'celery_rare'}, 'tasks.remove_user_language': {'queue': 'celery_rare'}, 'tasks.resync_shitposter': {'queue': 'celery_rarest'}, 'tasks.save_tts_audio': {'queue': 'celery_tts'}, 'tasks.send_batch_emails': {'queue': 'emails'}, 'tasks.send_batch_emails_page': {'queue': 'emails'}, 'tasks.send_daily_workout': {'queue': 'workout'}, 'tasks.send_emails': {'queue': 'emails'}, 'tasks.send_promotion_email': {'queue': 'celery_rare'}, 'tasks.send_year_at_lingq_emails': {'queue': 'emails'}, 'tasks.track_autopilot': {'queue': 'autopilot'}, 'tasks.update_media_entry': {'queue': 'celery_feed'}, 'tasks.update_milestones': {'queue': 'celery_rarest'}} |
CELERY_SEND_TASK_ERROR_EMAILS | True |
CELERY_TASK_RESULT_EXPIRES | 3600 |
CJK_SERVICE_ENABLED | False |
CJK_SERVICE_HOST | 'srv.lingq.com' |
CJK_SERVICE_PORT | '5010' |
CLEVERTAP_ACCOUNT_ID | '865-584-KW6Z' |
CLEVERTAP_PASSCODE | u'********************' |
COMPADO_API_KEY | u'********************' |
COMPRESS | True |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | u'default' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar /srv/closure-compiler.jar --language_in=ECMASCRIPT5' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.yui.YUICSSFilter'] |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | True |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x7f8433f30f50> |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | ['compressor.filters.closure.ClosureCompilerFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | True |
COMPRESS_OFFLINE_CONTEXT | {'STATIC_URL': 'https://static.lingq.com/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | (('text/x-sass', 'sass {infile} {outfile}'), ('text/x-scss', 'sass --scss {infile} {outfile}')) |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/srv/sitestatic' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': 'https://static.lingq.com/static/'} |
COMPRESS_URL | 'https://static.lingq.com/static/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
COMPRESS_YUI_BINARY | 'java -jar /srv/yuicompressor-2.4.8.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
COUNTRIES_FIRST | ['us', 'gb', 'de', 'fr', 'cn', 'jp', 'kr', 'ca', 'au', 'br', 'in', 'ru', 'it', 'es', 'nl'] |
COURSE_POINT_VALUE | 0.01 |
CROWDIN_ACCESS_TOKEN | u'********************' |
CROWDIN_PROJECT_ID | 450862 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'lingq.views.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
CUSTOM_INSTALLED_APPS | ('lingq', 'es_bridge', 'thelinguist.feed', 'lingq_wall', 'help', 'flatpictures', 'invite', 'itunes', 'lingq_widget', 'lingq_dict', 'progress', 'lingq_promotion', 'lingq_membership', 'lingq_learning', 'lingq_workdesk', 'lingq_events', 'lingq_goodies', 'lingq_api', 'lingq_newapi', 'thelinguist.actionlock', 'thelinguist.utils', 'lingq_paypal', 'tltk.picturesque', 'tltk.jsplayer', 'bookmarklet', 'django_hashcash', 'lingq_avatar', 'lingq_status_widget', 'lingq_metrics', 'lingq_timeline', 'lingq_public_content', 'lingq_public_dict', 'lingq_grammar', 'lingq_sitemaps', 'lingq_socialaccount.providers.apple', 'lingq_socialaccount.providers.clever', 'lingq_discourse') |
DATABASES | {'cards': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-part.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'cards3', 'OPTIONS': {'options': '-c default_transaction_read_only=on'}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}, 'cedict': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/srv/lingq_com/db/cedict.db', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'content_files': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-replica3.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'content_files', 'OPTIONS': {'options': '-c default_transaction_read_only=on'}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}, 'debug': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-debug.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'lingq_silk', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-master.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'linguist', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}, 'sessions': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-extra.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'sessions', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}, 'slave': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': None, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'lingq-replica2.crrstz2vkglv.us-east-1.rds.amazonaws.com', 'NAME': 'linguist', 'OPTIONS': {'options': '-c default_transaction_read_only=on'}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'linguist'}} |
DATABASE_ROUTERS | ['lingq.dbrouter.DebugRouter', 'lingq.dbrouter.DefaultRouter'] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 104857600 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 4000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_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'] |
DATE_FORMAT | u'N j, Y' |
DATE_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'] |
DEBUG | False |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_CONFIG | {'SHOW_TOOLBAR_CALLBACK': 'development.custom_show_toolbar'} |
DECIMAL_SEPARATOR | u'.' |
DEEPL_API_KEY | u'********************' |
DEEPL_API_URL | u'********************' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'LingQ <support@lingq.com>' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_LANGUAGE | 'en' |
DEFAULT_READ_DB | 'slave' |
DEFAULT_SETTINGS | <module 'django.conf.global_settings' from '/srv/eggs/Django-1.11.29-py2.7.egg/django/conf/global_settings.pyc'> |
DEFAULT_TABLESPACE | u'' |
DETECTLANGUAGE_API_KEY | u'********************' |
DEVELOPMENT_APPS | ('django_extensions', 'rest_framework_swagger', 'debug_toolbar') |
DIFFBOT_API_KEY | u'********************' |
DISABLE_FETCH_CHUNK_TTS | False |
DISALLOWED_USER_AGENTS | [] |
DISCOURSE_ADMINS | [3645869] |
DISCOURSE_API_KEY | u'********************' |
DISCOURSE_API_USERNAME | u'********************' |
DISCOURSE_HOST | 'http://10.10.5.210' |
DISCOURSE_SSO_SECRET | u'********************' |
DISCOURSE_SSO_URL | 'https://forum.lingq.com/session/sso_login' |
DISCOURSE_WEBHOOK_SECRET | u'********************' |
DYNIMG_SERVICE_HOST | 'srv.lingq.com' |
DYNIMG_SERVICE_PORT | '5000' |
ELASTICSEARCH_ACTIVE_SEARCH | True |
ELASTICSEARCH_ACTIVE_SYNC | True |
ELASTICSEARCH_AWSAUTH | True |
ELASTICSEARCH_DELETE_QUEUE | 'es_delete' |
ELASTICSEARCH_HOST | 'https://vpc-lingq-j77iidbnqlcubaez4443w4pqri.us-east-1.es.amazonaws.com' |
ELASTICSEARCH_INDEX_LABEL | 'wwwlingqcom' |
ELASTICSEARCH_LOGS_HOST | 'lingq-elasticsearch' |
ELASTICSEARCH_SETTINGS | {'number_of_replicas': 1, 'number_of_shards': 3, 'refresh_interval': '30s'} |
ELASTICSEARCH_SYNC_DELAY | None |
ELASTICSEARCH_TIMEOUT | 30 |
ELASTICSEARCH_USE_READ_DB | False |
ELASTIC_APM | {'DEBUG': True, 'SERVER_URL': 'http://elasticapm:8200', 'SERVICE_NAME': 'LingQ'} |
ELASTIC_APM_ENABLED | False |
EMAILS_FAIL_SILENTLY | True |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'apikey' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
ENABLE_SSL | True |
EXCHANGERATES_API_KEY | u'********************' |
EXPERIMENTS_AUTO_CREATE | False |
EXPERIMENTS_GOALS | ('registration', 'open_lesson', 'create_lingq', 'lingqs_limit', 'upgrade', 'recommended_courses_popup', '90days_sep_2015_signup', 'import_lesson', 'upgrade_basic1', 'upgrade_basic6', 'upgrade_basic12', 'upgrade_other', 'payment_received', 'canceled_subscription', 'upgrade_banner_click', 'upgrade_page', 'retention_7_days', 'retention_14_days', 'upgrade_basic24') |
EXPERIMENTS_REDIS_DB | 2 |
EXPERIMENTS_REDIS_HOST | '10.10.5.113' |
EXPERIMENTS_REDIS_PORT | 6379 |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 104857600 |
FILE_UPLOAD_PERMISSIONS | 436 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIRST_TIP_VISIT_LIMIT | 3 |
FIXER_API_KEY | u'********************' |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
FORUM_DISABLE_REDIRECT | False |
FORUM_READ_ONLY | False |
FORUM_REDIS_DATABASE | 7 |
FORUM_REDIS_HOSTNAME | '10.10.5.218' |
FORUM_REDIS_PORT | 6379 |
FORUM_URL | 'https://forum.lingq.com' |
FREE_CARDS_MAX_LIMIT | 2000 |
FREE_CARDS_QUOTA | 20 |
GA4_ID | 'G-F044M409QV' |
GCM_APIKEY | u'********************' |
GENERATED_STATIC_ROOT | './static' |
GOOGLE_ANALYTICS_CLIENT_ID | 'a9ca4731-abb9-487c-8426-3022f3ada66b' |
GOOGLE_ANALYTICS_ID | 'UA-197344-4' |
GOOGLE_API_KEY | u'********************' |
GOOGLE_API_KEY_PUBLIC | u'********************' |
GOOGLE_PLAY_KEYFILE | u'********************' |
GROUPON_BR | {'password': u'********************', 'soap_action': 'http://www.parceirosgroupon.com.br/VerificarVoucher', 'username': 298816, 'voucher_service_url': 'http://demo.parceirosgroupon.com.br/vouchersservice.asmx?wsdl'} |
HONEYPOT_FIELD_NAME | 'phone' |
HOST | 'www.lingq.com' |
HTTPS_MEDIA_URL | 'https://static.lingq.com/media/' |
HTTPS_PATHS | ('/auth/facebook/login/token/',) |
HTTPS_PORT | '443' |
HTTPS_STATIC_URL | 'https://static.lingq.com/static/' |
HTTP_MEDIA_URL | 'https://static.lingq.com/media/' |
HTTP_PORT | '443' |
HTTP_STATIC_URL | 'https://static.lingq.com/static/' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.postgres', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sitemaps', 'gcm', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.google', 'oauth_access', 'memcache_status', 'compressor', 'ios_notifications', 'rest_framework', 'rest_framework.authtoken', 'rest_auth', 'rest_auth.registration', 'sekizai', 'experiments', 'django_select2', 'django_otp', 'django_otp.plugins.otp_totp', 'captcha', 'honeypot', 'timezone_field', 'django_mobile', 'djrill', 'nexus', 'webpack_loader', 'django_bleach', 'raven.contrib.django.raven_compat', 'django_countries', 'lingq', 'es_bridge', 'thelinguist.feed', 'lingq_wall', 'help', 'flatpictures', 'invite', 'itunes', 'lingq_widget', 'lingq_dict', 'progress', 'lingq_promotion', 'lingq_membership', 'lingq_learning', 'lingq_workdesk', 'lingq_events', 'lingq_goodies', 'lingq_api', 'lingq_newapi', 'thelinguist.actionlock', 'thelinguist.utils', 'lingq_paypal', 'tltk.picturesque', 'tltk.jsplayer', 'bookmarklet', 'django_hashcash', 'lingq_avatar', 'lingq_status_widget', 'lingq_metrics', 'lingq_timeline', 'lingq_public_content', 'lingq_public_dict', 'lingq_grammar', 'lingq_sitemaps', 'lingq_socialaccount.providers.apple', 'lingq_socialaccount.providers.clever', 'lingq_discourse') |
INTERNAL_IPS | ('127.0.0.1',) |
ITERABLE_APPS | {'Android': {'api_key': u'********************', 'package_name': '', 'secret': u'********************'}, 'Server': {'api_key': u'********************', 'feed_key': u'********************', 'hmac_key': u'********************'}, 'Web': {'api_key': u'********************', 'name': 'LingQ', 'secret': u'********************'}, 'iOS': {'api_key': u'********************', 'package_name': '', 'secret': u'********************'}} |
JAPAN_DICT_DIR | '/srv/lingq_com/../data/jumandic/' |
JAPAN_DICT_TYPE | 'jumandic' |
JS_DOC_DOMAIN | 'www.lingq.com' |
LANGUAGES | (('en', 'English'), ('de', 'German'), ('ru', 'Russian'), ('ja', 'Japanese'), ('es', 'Spanish'), ('fr', 'French'), ('it', 'Italian'), ('pt', 'Portuguese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'), ('ko', 'Korean'), ('sv', 'Swedish'), ('nl', 'Dutch'), ('lt', 'Lithuanian'), ('pl', 'Polish'), ('tr', 'Turkish'), ('fa', 'Persian'), ('uk', 'Ukrainian'), ('el', 'Greek'), ('other', 'Other')) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LINGQS_CREATED_BEFORE_UPGRADE_OFFER | 15 |
LINGQS_PER_REFERRAL | 100 |
LINGQ_API_KEY | u'********************' |
LINGQ_COMMISSION | 0.3 |
LINGQ_SERVICE_HOST | 'srv.lingq.com' |
LINGQ_TEMPLATE_DIR | './lingq_com/templates' |
LINGQ_VERSION | '5.2.26' |
LOCALE_PATHS | ['./lingq_com/lingq/locale'] |
LOCAL_CURRENCY_START_DATE | datetime.datetime(2019, 2, 19, 0, 0) |
LOGGING | {'disable_existing_loggers': True, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}, 'require_testing_false': {'()': <class 'lingq_com.settings_common.RequireTestingFalse'>}}, 'formatters': {'fluent_fmt': {'()': 'fluent.handler.FluentRecordFormatter', 'format': {'asctime': '%(asctime)s', 'hostname': '%(hostname)s', 'level': '%(levelname)s', 'lingq_version': '5.2.26', 'name': '%(name)s', 'path': '%(pathname)s:%(lineno)d', 'process': '%(process)d', 'process_name': '%(processName)s', 'stack_trace': '%(exc_text)s', 'where': '%(module)s.%(funcName)s'}}, 'simple': {'datefmt': '%m-%d %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s %(message)s'}, 'verbose': {'datefmt': '%m-%d %H:%M:%S', 'format': '[%(asctime)s] %(levelname)-8s %(name)s [%(process)d] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'formatter': 'simple', 'level': 'DEBUG'}, 'development_logfile': {'class': 'logging.FileHandler', 'filename': 'debug.log', 'filters': ['require_debug_true'], 'formatter': 'verbose', 'level': 'DEBUG'}, 'fluent': {'class': 'fluent.handler.FluentHandler', 'filters': ['require_testing_false'], 'formatter': 'fluent_fmt', 'host': 'fluentd', 'level': 'DEBUG', 'port': 24224, 'tag': 'lingq', 'verbose': True}, 'production_logfile': {'class': 'logging.FileHandler', 'delay': True, 'filename': '/var/log/lingq/lingq.log', 'filters': ['require_debug_false', 'require_testing_false'], 'formatter': 'verbose', 'level': 'DEBUG'}, 'sentry': {'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler', 'level': 'ERROR'}, 'sql_logfile': {'class': 'logging.FileHandler', 'filename': '/tmp/django-sql.log', 'filters': ['require_debug_true'], 'formatter': 'verbose', 'level': 'DEBUG'}}, 'loggers': {'celery': {'handlers': ['fluent', 'sentry'], 'level': 'DEBUG'}, 'django': {'handlers': ['fluent', 'sentry']}, 'django.db.backends': {'handlers': ['fluent', 'sentry'], 'propagate': False}, 'lingq': {'handlers': ['fluent', 'sentry'], 'level': 'DEBUG'}, 'py.warnings': {'handlers': ['fluent', 'sentry']}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGGING_LEVEL | 10 |
LOGIN_REDIRECT_URL | '/accounts/login/' |
LOGIN_URL | u'/en/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOG_FILE | '/var/log/lingq/lingq.log' |
LWPM_TEMP_IMAGE_SIZE | (500, 500) |
MADMIMI_API_KEY | u'********************' |
MADMIMI_LIST_NAME | 'Newsletter' |
MADMIMI_USERNAME | 'mark@thelinguist.com' |
MANAGERS | [] |
MANDRILL_API_KEY | u'********************' |
MEDIA_COMPONENTS | {'backbone': (('script', '//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js'), ('script', '//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js')), 'backbone_forms': (('script', 'js/backbone/backbone-forms.js'), ('script', 'js/backbone/editors/image.js'), ('script', 'js/backbone/editors/audio.js')), 'bootstrap_css': (('style', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'),), 'bootstrap_js': (('script', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'),), 'bootstrap_js_async': (('script', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js', 'async'),), 'jquery': (('script', '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'),), 'jquery_async': (('script', '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js', 'async'),), 'jquery_autosize': (('script', 'js/jquery.autosize.1.18.17.min.js'),), 'jquery_blockui': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.61.0-2013.06.06/jquery.blockUI.min.js'),), 'jquery_cookie': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.min.js'),), 'jquery_cookie_async': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.min.js'),), 'jquery_cookie_defer': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.min.js', 'defer'),), 'jquery_defer': (('script', '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js', 'defer'),), 'jquery_embedly': (('script', '//cdnjs.cloudflare.com/ajax/libs/embedly-jquery/3.1.1/jquery.embedly.min.js'),), 'jquery_form': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery.form/3.32/jquery.form.min.js'),), 'jquery_jgrowl': (('script', '//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.js'),), 'jquery_jgrowl_css': (('style', '//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.css'),), 'jquery_tools_tooltip': (('script', 'js/jquery.tools/tooltip-1.2.6.min.js'),), 'jquery_translate_core': (('script', 'js/jquery.translate-core-1.4.7.min.js'),), 'jquery_translate_ui': (('script', 'js/jquery.translate-ui-1.4.7.min.js'),), 'jquery_ui': (('style', 'js/jqueryui-1.11.0/jquery-ui.min.css'), ('script', 'js/jqueryui-1.11.0/jquery-ui.min.js')), 'jquery_ui_css': (('style', 'js/jqueryui-1.11.0/jquery-ui.min.css'),), 'jquery_ui_js': (('script', 'js/jqueryui-1.11.0/jquery-ui.min.js'),), 'prototype': (('script', '//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js'), ('script', '//ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js')), 'ufo': (('script', 'player/ufo.js'),)} |
MEDIA_ROOT | './lingq_com/media' |
MEDIA_URL | 'https://static.lingq.com/media/' |
MEMBERSHIP_PURCHASE_AFFILIATE_REFERRAL_RATE | 0.4 |
MEMCACHED_HOST | '10.10.5.218' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.cookie.CookieStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('raven.contrib.django.middleware.SentryMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'lingq.middleware.threadlocals.ThreadLocals', 'lingq.middleware.membership.AccessBetaMiddleware', 'lingq.middleware.membership.MembershipMiddleware', 'lingq.middleware.membership.LastActivityMiddleware', 'lingq.middleware.membership.AsyncMessagesMiddleware', 'lingq.middleware.membership.ExperimentsRetentionMiddleware', 'lingq.middleware.http.SetRemoteAddrFromForwardedFor', 'lingq.middleware.p3p.InjectP3P', 'lingq.middleware.locale.SetUserLocaleMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'lingq.middleware.debugging.UserBasedExceptionMiddleware', 'django_mobile.middleware.MobileDetectionMiddleware', 'django_mobile.middleware.SetFlavourMiddleware') |
MIGRATION_MODULES | {} |
MODERATE_FORUM_START_DATE | datetime.date(2014, 7, 30) |
MONTH_DAY_FORMAT | u'F j' |
MS_TTS_API_KEY | u'********************' |
MS_TTS_REGION | 'canadacentral' |
MS_TTS_RESOURCE | 'tts' |
NARAKEET_API_KEY | u'********************' |
NEWSCATCHER_API_KEY | u'********************' |
NEW_TIP_VISIT_LIMIT | 3 |
NINETY_CHALLENGE_ARTIFACT | '90-days Challenge Graduation Hat red' |
NINETY_CHALLENGE_DATES | {'DURATION': 90, 'START': '2014-01-15'} |
NUMBER_GROUPING | 0 |
NWC_REDIS_DATABASE | 3 |
NWC_REDIS_HOSTNAME | '10.10.5.218' |
NWC_REDIS_POOL | True |
NWC_REDIS_PORT | 6379 |
OAUTH_ACCESS_KEYS | u'********************' |
OAUTH_ACCESS_PROVIDERS | {'facebook': ['publish_stream', 'offline_access']} |
ONESKY_PLATFORM_ID | 3179 |
ONESKY_PUBLIC_KEY | u'********************' |
ONESKY_SECRET_KEY | u'********************' |
OPENAI_API_KEY | u'********************' |
OTP_LOGIN_URL | '/accounts/tfa/' |
OTP_TOTP_ISSUER | 'LingQ' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PAYMENT_CURRENCIES | ['cad', 'eur', 'gbp', 'jpy', 'brl'] |
PLAYER_WIDTH | 720 |
POINTS_PURCHASE_AFFILIATE_REFERRAL_RATE | 0.4 |
POINTS_PURCHASE_MEMBER_REFERRAL_RATE | 0.1 |
POINT_VALUE | 0.01 |
PREPEND_WWW | False |
PRIVATE_IMPORTS_LIMIT | 5 |
PRODUCTION_MODE | True |
PROFILING_ENABLED | False |
PSQ_CSS_PATH | 'picturesque/css' |
PSQ_JPEG_QUALITY | 90 |
PSQ_JS_PATH | 'picturesque/js' |
PSQ_NO_IMAGE_URL | '/static/images/no_photo.gif' |
PSQ_PROTOTYPE_PATH | 'prototype/prototype.js' |
PSQ_SCRIPTACULOUS_PATH | 'prototype/scriptaculous.js' |
PSQ_TEMP_IMAGE_PATH | 'resources/temp/' |
PSQ_TEMP_IMAGE_SIZE | 15728640 |
PSQ_TEMP_THUMBNAIL_SIZE | (300, 300) |
RANKS_REDIS_DATABASE | 5 |
RANKS_REDIS_HOSTNAME | '10.10.5.113' |
RANKS_REDIS_PORT | 6379 |
RAVEN_CONFIG | {'dsn': 'http://75a6f5b94ed64b7195c87fbbc515c9c7:0ccb2f90595b4a5e95aa1b29e9464ca0@lingq-sentry:9000/2', 'release': '5.2.26'} |
RECAPTCHA_PRIVATE_KEY | u'********************' |
RECAPTCHA_PUBLIC_KEY | u'********************' |
RECAPTCHA_REQUIRED_SCORE | 0.85 |
RECAPTCHA_USE_SSL | True |
RECAPTCHA_V2_PRIVATE_KEY | u'********************' |
RECAPTCHA_V2_PUBLIC_KEY | u'********************' |
RECURLY_CAD_GATEWAY | 'kiezxik8fn1c' |
RECURLY_PUBLIC_KEY | u'********************' |
RECURLY_SUBDOMAIN | 'lingq' |
REDIS_DATABASE | 0 |
REDIS_HOSTNAME | '10.10.5.113' |
REDIS_PORT | 6379 |
REFERRALS_TO_CHECKOUT | [] |
REFERRAL_GROUPS | {'3minutejapanese': {'group': '3minutejapanese', 'url': '3minutejapanese'}, '5minutelanguage': {'group': '5minutelanguage', 'url': '5minutelanguage'}, 'AmericanEnglishGuy': {'group': 'AmericanEnglishGuy', 'url': 'americanenglishguy'}, 'ColeGoodchild': {'group': None, 'url': 'colelangs'}, 'Goluremi': {'group': 'Goluremi', 'url': 'goluremi'}, 'LukeTruman': {'group': 'LukeTruman', 'url': 'luketruman'}, 'NickHoyt': {'group': 'NickHoyt', 'url': 'japanesetactics'}, 'SophieCackett': {'group': 'SophieCackett', 'url': 'sophiecackett'}, 'Stefani13': {'group': 'Stefani13', 'url': 'polyglotsecrets'}, 'SuperLuca': {'group': 'SuperLuca', 'url': 'luca'}, 'ZeeJay27': {'group': 'ZeeJay27', 'url': 'zachlanguages'}, 'abruggen': {'group': 'abruggen', 'url': 'annie'}, 'akhouri': {'group': 'akhouri', 'url': 'eureka'}, 'anez': {'group': 'anez', 'url': 'anez'}, 'ari': {'group': 'ariehelderman', 'url': 'ariehelderman'}, 'bigbong': {'group': 'bigbong', 'url': 'bigbong'}, 'chadlangoly': {'group': 'chadlangoly', 'url': 'dailylangoly'}, 'chicageek': {'group': 'chicageek', 'url': 'chicageek'}, 'conorclyne': {'group': 'tsarexperience', 'url': 'tsarexperience'}, 'couchpolyglot': {'group': 'couchpolyglot', 'url': 'couchpolyglot'}, 'dailyitalianwords': {'group': 'dailyitalianwords', 'url': 'dailyitalianwords'}, 'fluentkerstin': {'group': 'fluentkerstin', 'url': 'fluentkerstin'}, 'heyitsmori': {'group': 'heyitsmori', 'url': 'lifeofmori'}, 'iclaldagci': {'group': 'iclal', 'url': 'iclal'}, 'jessiez': {'group': 'Jessica87968', 'url': 'jessie'}, 'jforrestenglish': {'group': 'jforrestenglish', 'url': 'jforrestenglish'}, 'justitalian': {'group': 'justitalian', 'url': 'justitalian'}, 'katja': {'group': u'Deutsch F\xfcr Euch', 'url': 'katja'}, 'kv1910': {'group': 'languagegirl', 'url': 'languagegirl'}, 'languagemastery': {'group': 'languagemastery', 'url': 'languagemastery'}, 'lewis3': {'group': 'lewis3', 'url': 'lewis3'}, 'martinbalbuena': {'group': 'martinbalbuena', 'url': 'martinbalbuena'}, 'mikethechameleon': {'group': 'mikethechameleon', 'url': 'mikethechameleon'}, 'mnemonist': {'group': 'mnemonist', 'url': 'mnemonist'}, 'nataliagarza': {'group': 'nataliagarza', 'url': 'nataliagarza'}, 'polyglotakademie': {'group': 'polyglotakademie', 'url': 'polyglotakademie'}, 'rupasensei': {'group': 'rupasensei', 'url': 'rupasensei'}, 'sarachu': {'group': 'sarachu', 'url': 'sarachu'}, 'scrubtaku': {'group': 'bijuumike', 'url': 'bijuumike'}, 'smarttokki': {'group': 'smarttokki', 'url': 'smarttokki'}, 'sprachheld': {'group': 'sprachheld', 'url': 'sprachheld'}, 'steve': {'group': 'steve', 'url': None}, 'tatiuribe': {'group': 'tatiuribe', 'url': 'tatiuribe'}, 'urbaneve': {'group': 'msurbaneve', 'url': 'msurbaneve'}} |
REFERRAL_PER_ROSES | 10 |
REFERRED_LINGQS | 100 |
REGULAR_90DAYS_CHALLENGE_START_DATE | datetime.date(2017, 5, 30) |
REPAIR_STREAK_COST | 5000 |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication', 'lingq_api.authentication.SessionAuthentication'), 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.FormParser', 'lingq_newapi.parsers.MultiPartParser', 'rest_framework.parsers.JSONParser'), 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',), 'DEFAULT_THROTTLE_CLASSES': ('rest_framework.throttling.ScopedRateThrottle',), 'DEFAULT_THROTTLE_RATES': {'anon': '100/day', 'api-signup': u'********************', 'auth-email': '5/min', 'auth-token': u'********************', 'cards-v2': '60/min', 'old-api-profile': u'********************', 'translate': '40/min', 'user': '1000/day'}, 'EXCEPTION_HANDLER': 'lingq_newapi.throttling.custom_exception_handler', 'PAGE_SIZE': 100, 'UNICODE_JSON': False} |
REST_SESSION_LOGIN | False |
ROOT_URLCONF | 'urls' |
ROSES_RECEIVED_PER_N_REFERRAL | 1 |
SCRAPER_API_KEY | u'********************' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
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_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SELECT2_CACHE_BACKEND | 'default' |
SELECT2_CACHE_PREFIX | 'select2_' |
SELECT2_CSS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css' |
SELECT2_I18N_AVAILABLE_LANGUAGES | ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] |
SELECT2_I18N_PATH | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/i18n' |
SELECT2_JS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js' |
SELECT2_LIB_VERSION | '4.0.5' |
SENDGRID_API_KEY | u'********************' |
SENDGRID_UNSUBSCRIBE_GROUPS | {'': '------', 'academy': '577', 'challenge': '579', 'forum': '549', 'lotd': '555', 'news': '581', 'promotions': '513', 'streak': '6115', 'weekly': '563'} |
SENDGRID_UNSUBSCRIBE_GROUP_NAMES | {513: 'Special Offers', 549: 'Forum Notifications', 553: 'Exchange Notifications', 555: 'LingQs of the Day', 563: 'Weekly Activity Report', 577: 'LingQ Academy', 579: 'Community and Challenge Blog', 581: 'News and Updates', 4867: 'Welcome Email Series', 6115: 'Streak Reminder and Repair', 10072: '10 Secrets'} |
SENDGRID_VERSION | 3 |
SENTRY_DSN | 'http://a0b7427a375b489ba9b320177b9215c5:c96724703b8f49a5969e8ee05e80bc8d@www.qa.lingq.com:9000/2' |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'wwwlingqcomsa' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cached_db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
SETTINGS_MODULE | 'lingq_com.production' |
SHAREASALE_MERCHANT_ID | 47852 |
SHARETHIS_KEY | u'********************' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SHOW_DEBUG_TOOLBAR_FOR_INTERNAL_IPS | False |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | ['fields.W161', 'fields.W340'] |
SILKY_AUTHENTICATION | True |
SILKY_AUTHORISATION | True |
SILKY_INTERCEPT_FUNC | <function silk_intercept at 0x7f84377250d0> |
SILKY_META | True |
SILKY_PERMISSIONS | <function <lambda> at 0x7f8437297b50> |
SILKY_PYTHON_PROFILER | True |
SILKY_PYTHON_PROFILER_BINARY | False |
SILKY_PYTHON_PROFILER_RESULT_PATH | '/srv/lingq_com/media' |
SITE_ID | 1 |
SITE_ROOT | './' |
SOCIALACCOUNT_ADAPTER | 'lingq.adapter.LingQSocialAccountAdapter' |
SOCIALACCOUNT_AUTO_SIGNUP | False |
SOCIALACCOUNT_EMAIL_VERIFICATION | 'none' |
SOCIALACCOUNT_PROVIDERS | {'clever': {'SCOPE': ['read:district_admins_basic', 'read:school_admins_basic', 'read:students_basic', 'read:teachers_basic', 'read:user_id']}, 'facebook': {'METHOD': 'js_sdk', 'SCOPE': ['email']}, 'google': {'AUTH_PARAMS': {'access_type': 'online'}, 'SCOPE': ['profile', 'email']}} |
SOCIALACCOUNT_QUERY_EMAIL | True |
SOCIALCONTACTS_KEYS | u'********************' |
SOCIALCONTACTS_PROVIDERS | {'google': {'AUTH_PARAMS': {'access_type': 'online'}, 'SCOPE': ['https://www.googleapis.com/auth/contacts.readonly']}, 'hotmail': {'SCOPE': ['Contacts.Read']}, 'yahoo': {'SCOPE': ['sdct-r']}} |
SPAMMERS_GROUPS | ['Spammers'] |
SPHINX_PORT | 3312 |
SPHINX_SERVER | 'lingq-sphinxsearch' |
SPHINX_TIMEOUT | 25.0 |
SRS_DUE_INTERVALS | [1, 3, 7, 15, 30, 90, 5000] |
STANDARD_MODE_START_DATE | datetime.datetime(2015, 3, 3, 0, 0) |
STATICFILES_DIRS | ('./lingq_com/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/srv/sitestatic/' |
STATIC_URL | 'https://static.lingq.com/static/' |
STREAK_MIN_TARGET | 50 |
STREAK_V5_UPDATED | datetime.date(2022, 2, 3) |
STREAK_VERSION | 3 |
STRIPE_PUBLIC_KEY | u'********************' |
SUPPORT_EMAIL | 'prioritysupport@lingq.com' |
SYSTEM_INSTALLED_APPS | ('django.contrib.postgres', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sitemaps') |
TARGET_LANGUAGES | (('en', 'English'), ('fr', 'French'), ('de', 'German'), ('it', 'Italian'), ('ru', 'Russian'), ('es', 'Spanish'), ('pt', 'Portuguese'), ('ja', 'Japanese')) |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['./lingq_com/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', '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', 'django.template.context_processors.request', 'lingq.processors.config_injector', 'lingq.processors.stats_injector', 'lingq_metrics.context_processors.metrics_tags', 'lingq_wall.context_processors.privacy', 'lingq_wall.context_processors.media', 'sekizai.context_processors.sekizai'], 'loaders': [('django.template.loaders.cached.Loader', ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader'))]}}] |
TEMPLATE_DEBUG | False |
TEMPLATE_LOADERS | [('django.template.loaders.cached.Loader', ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader'))] |
TERMS_REDIS_DATABASE | 4 |
TERMS_REDIS_HOSTNAME | '10.10.5.218' |
TERMS_REDIS_PORT | 6379 |
TESTING | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
TEST_USERS | [6, 856070, 2745751, 3319617, 2756749, 3319660, 2745674, 745611, 1574860] |
THIRDPARTY_INSTALLED_APPS | ('gcm', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.google', 'oauth_access', 'memcache_status', 'compressor', 'ios_notifications', 'rest_framework', 'rest_framework.authtoken', 'rest_auth', 'rest_auth.registration', 'sekizai', 'experiments', 'django_select2', 'django_otp', 'django_otp.plugins.otp_totp', 'captcha', 'honeypot', 'timezone_field', 'django_mobile', 'djrill', 'nexus', 'webpack_loader', 'django_bleach', 'raven.contrib.django.raven_compat', 'django_countries') |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
TMP_READ_DB | 'slave' |
TRACK_IN_GA | True |
TUTORING_POINTS_PER_DOLLAR | 100 |
TUTOR_RATE | Decimal('1') |
TWITTER_ACCESS_SECRET | u'********************' |
TWITTER_ACCESS_TOKEN | u'********************' |
TWITTER_CONSUMER_KEY | u'********************' |
TWITTER_CONSUMER_SECRET | u'********************' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | False |
USE_TERMS_CACHE | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | True |
USE_X_FORWARDED_PORT | False |
VOCAB_IMPORTANCE_UPDATED | '2011-09-29' |
WEBAPP_FETCH_WORDS_PARALLEL | False |
WEBAPP_SENTRY_DSN | 'https://ece0f0e085d44867ae845ddaa948c3c6@sentry.lingq.com/3' |
WEBAPP_USE_LESSON_SIMPLE_API | u'********************' |
WEBPACK_LOADER | {'DEFAULT': {'BUNDLE_DIR_NAME': 'webapp/', 'CACHE': True, 'IGNORE': ['.+\\.hot-update.js', '.+\\.map'], 'POLL_INTERVAL': 0.1, 'STATS_FILE': '/srv/lingq_com/webpack-stats.json'}} |
WORKOUT_EMAIL_ENABLED | True |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.