Reverse for 'slug-detail' with arguments '(u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['(?P<slug>[\\w\\-\\/]+)/$']
Request Method: | GET |
---|---|
Request URL: | http://batbold.com/s/333/ |
Django Version: | 1.7.7 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'slug-detail' with arguments '(u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['(?P<slug>[\\w\\-\\/]+)/$'] |
Exception Location: | /home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 468 |
Python Executable: | /home/developer/sites/gerege/app3/.env/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/home/developer/sites/gerege/app3/packages', '/home/webdeveloper/user_packages/nmtec_apps', '/home/developer/sites/gerege/app3/application', '/home/developer/sites/gerege/app3/.env/bin', '/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/newrelic-2.66.0.49/newrelic/bootstrap', '/home/developer/sites/gerege/app3/application', '/home/developer/sites/gerege/app3/.env/lib/python2.7', '/home/developer/sites/gerege/app3/.env/lib/python2.7/plat-x86_64-linux-gnu', '/home/developer/sites/gerege/app3/.env/lib/python2.7/lib-tk', '/home/developer/sites/gerege/app3/.env/lib/python2.7/lib-old', '/home/developer/sites/gerege/app3/.env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages', '/home/developer/sites/gerege/app3/.env/lib/python2.7/site-packages', '/home/developer/sites/gerege/app3/.env/lib/python2.7/site-packages/newrelic-2.66.0.49'] |
Server time: | Баа, 29 3-Р Сар 2024 16:41:37 +0800 |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | NoReverseMatch(u"Reverse for 'slug-detail' with arguments '(u'\\u043c\\u043e\\u043d\\u0433\\u043e\\u043b-\\u0443\\u043b\\u0441\\u044b\\u043d-\\u0435\\u0440\\u04e9\\u043d\\u0445\\u0438\\u0439-\\u0441\\u0430\\u0439\\u0434-\\u0441-\\u0431\\u0430\\u0442\\u0431\\u043e\\u043b\\u0434\\u044b\\u043d-\\u201c\\u0445\\u04e9\\u0434\\u04e9\\u043b\\u043c',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['(?P<slug>[\\\\w\\\\-\\\\/]+)/$']",) |
callback_args | () |
resolver_match | ResolverMatch(func=<function DetailID at 0x7f208a4e9de8>, args=(), kwargs={'id': u'333'}, url_name='slug-detail-id', app_name='None', namespace='') |
middleware_method | <FunctionWrapper at 0x7f209a301d70 for instancemethod at 0x7f209ac00c80> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f209c207710> |
request | "<WSGIRequest\npath:/s/333/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'batbold.com',\n 'HTTP_REMOTE_ADDR': '44.192.73.68',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68',\n 'HTTP_X_FORWARDED_PORT': '80',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_FORWARDED_PROTOCOL': 'http',\n 'HTTP_X_REAL_IP': '44.192.73.68',\n 'PATH_INFO': u'/s/333/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/s/333/',\n 'REMOTE_ADDR': '45.55.8.187',\n 'REMOTE_PORT': '33189',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '198.199.101.150',\n 'SERVER_PORT': '8100',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function DetailID at 0x7f208a4e9de8> |
wrapped_callback | <function DetailID at 0x7f208a4e9de8> |
resolver | <RegexURLResolver 'gerege.urls' (None:None) ^/> |
callback_kwargs | {'id': u'333'} |
response | None |
urlconf | 'gerege.urls' |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <apps.slug.views.DetailID object at 0x7f2087e97110> |
args | () |
request | "<WSGIRequest\npath:/s/333/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'batbold.com',\n 'HTTP_REMOTE_ADDR': '44.192.73.68',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68',\n 'HTTP_X_FORWARDED_PORT': '80',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_FORWARDED_PROTOCOL': 'http',\n 'HTTP_X_REAL_IP': '44.192.73.68',\n 'PATH_INFO': u'/s/333/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/s/333/',\n 'REMOTE_ADDR': '45.55.8.187',\n 'REMOTE_PORT': '33189',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '198.199.101.150',\n 'SERVER_PORT': '8100',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'id': u'333'} |
cls | <class 'apps.slug.views.DetailID'> |
/home/developer/sites/gerege/app3/packages/nmteccontrib/django_magic/generic.py
in dispatch
if required_permissions:
if not request.session.get('_user_id', None):
return to_login(request)
if set(required_permissions) - set(request.user.get_permissions()):
return to_login(request)
return super(View, self).dispatch(request, *args, **kwargs)...
except GetOrReturn:
return HttpResponse('{"info": {}, "blocks": []}')
class TemplateResponseMixin(generic.base.TemplateResponseMixin):
def get_template_names(self):
Variable | Value |
---|---|
to_login | <function to_login at 0x7f2087c56cf8> |
self | <apps.slug.views.DetailID object at 0x7f2087e97110> |
args | () |
request | "<WSGIRequest\npath:/s/333/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'batbold.com',\n 'HTTP_REMOTE_ADDR': '44.192.73.68',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68',\n 'HTTP_X_FORWARDED_PORT': '80',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_FORWARDED_PROTOCOL': 'http',\n 'HTTP_X_REAL_IP': '44.192.73.68',\n 'PATH_INFO': u'/s/333/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/s/333/',\n 'REMOTE_ADDR': '45.55.8.187',\n 'REMOTE_PORT': '33189',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '198.199.101.150',\n 'SERVER_PORT': '8100',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
required_permissions | [] |
kwargs | {'id': u'333'} |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/newrelic-2.66.0.49/newrelic/hooks/framework_django.py
in wrapper
# Wrapper to be applied to dispatcher for class based views.
def wrapper(wrapped, instance, args, kwargs):
transaction = current_transaction()
if transaction is None:
return wrapped(*args, **kwargs)...
def _args(request, *args, **kwargs):
return request
view = instance
request = _args(*args, **kwargs)
Variable | Value |
---|---|
wrapped | <bound method DetailID.dispatch of <apps.slug.views.DetailID object at 0x7f2087e97110>> |
instance | <apps.slug.views.DetailID object at 0x7f2087e97110> |
transaction | None |
args | (<WSGIRequest path:/s/333/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'batbold.com', 'HTTP_REMOTE_ADDR': '44.192.73.68', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68', 'HTTP_X_FORWARDED_PORT': '80', 'HTTP_X_FORWARDED_PROTO': 'http', 'HTTP_X_FORWARDED_PROTOCOL': 'http', 'HTTP_X_REAL_IP': '44.192.73.68', 'PATH_INFO': u'/s/333/', 'QUERY_STRING': '', 'RAW_URI': '/s/333/', 'REMOTE_ADDR': '45.55.8.187', 'REMOTE_PORT': '33189', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': '198.199.101.150', 'SERVER_PORT': '8100', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.6.0', 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,) |
kwargs | {'id': u'333'} |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': request
Variable | Value |
---|---|
self | <apps.slug.views.DetailID object at 0x7f2087e97110> |
handler | <bound method DetailID.get of <apps.slug.views.DetailID object at 0x7f2087e97110>> |
request | "<WSGIRequest\npath:/s/333/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'batbold.com',\n 'HTTP_REMOTE_ADDR': '44.192.73.68',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68',\n 'HTTP_X_FORWARDED_PORT': '80',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_FORWARDED_PROTOCOL': 'http',\n 'HTTP_X_REAL_IP': '44.192.73.68',\n 'PATH_INFO': u'/s/333/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/s/333/',\n 'REMOTE_ADDR': '45.55.8.187',\n 'REMOTE_PORT': '33189',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '198.199.101.150',\n 'SERVER_PORT': '8100',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {'id': u'333'} |
/home/developer/sites/gerege/app3/application/apps/slug/views.py
in get
class DetailBase(g.DetailView):
model = Slug
def get(self, request, *args, **kwargs):
self.object = obj = self.get_object()
if self.is_wrong_permalink(request.site):
return redirect(self.get_redirect_url())...
for middleware in get_slug_middleware():
res = middleware(request=request, slug=obj)
if res is not None:
return res
Variable | Value |
---|---|
obj | <Slug: /монгол-улсын-ерөнхий-сайд-с-батболдын-“хөдөлм/> |
self | <apps.slug.views.DetailID object at 0x7f2087e97110> |
args | () |
request | "<WSGIRequest\npath:/s/333/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4EKKauzLYF83hz0K59A1DPdme16uch0t',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'batbold.com',\n 'HTTP_REMOTE_ADDR': '44.192.73.68',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.192.73.68, 44.192.73.68',\n 'HTTP_X_FORWARDED_PORT': '80',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_FORWARDED_PROTOCOL': 'http',\n 'HTTP_X_REAL_IP': '44.192.73.68',\n 'PATH_INFO': u'/s/333/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/s/333/',\n 'REMOTE_ADDR': '45.55.8.187',\n 'REMOTE_PORT': '33189',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '198.199.101.150',\n 'SERVER_PORT': '8100',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.6.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f20879734b0>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'id': u'333'} |
/home/developer/sites/gerege/app3/application/apps/slug/views.py
in get_redirect_url
def get_translation_redirect_url(self):
obj = Slug.objects.get(view=self.object.view,
primary_key=self.object.primary_key, lang=self.request.LANGUAGE_CODE)
return reverse('slug-detail-id', args=[obj.id])
def get_redirect_url(self):
return reverse('slug-detail', args=[self.object.full_slug])...
Variable | Value |
---|---|
self | <apps.slug.views.DetailID object at 0x7f2087e97110> |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/newrelic-2.66.0.49/newrelic/hooks/framework_django.py
in wrapper
# but do it just to avoid any potential for problems.
def wrapper(wrapped, instance, args, kwargs):
def execute(viewname, *args, **kwargs):
if hasattr(viewname, '_nr_last_object'):
viewname = viewname._nr_last_object
return wrapped(viewname, *args, **kwargs)
return execute(*args, **kwargs)...
return FunctionWrapper(wrapped, wrapper)
def instrument_django_core_urlresolvers(module):
# Wrap method which maps a string version of a function
Variable | Value |
---|---|
wrapped | <function reverse at 0x7f209ca910c8> |
instance | None |
execute | <function execute at 0x7f2087e8a668> |
args | ('slug-detail',) |
kwargs | {'args': [u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c']} |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/newrelic-2.66.0.49/newrelic/hooks/framework_django.py
in execute
# as we have improved the proxying in the object wrapper,
# but do it just to avoid any potential for problems.
def wrapper(wrapped, instance, args, kwargs):
def execute(viewname, *args, **kwargs):
if hasattr(viewname, '_nr_last_object'):
viewname = viewname._nr_last_object
return wrapped(viewname, *args, **kwargs)...
return execute(*args, **kwargs)
return FunctionWrapper(wrapped, wrapper)
def instrument_django_core_urlresolvers(module):
Variable | Value |
---|---|
wrapped | <function reverse at 0x7f209ca910c8> |
args | () |
viewname | 'slug-detail' |
kwargs | {'args': [u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c']} |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))...
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
viewname | 'slug-detail' |
args | [u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c'] |
current_app | None |
prefix | u'/' |
parts | [u'slug-detail'] |
resolver | <RegexURLResolver 'gerege.urls' (None:None) ^/> |
kwargs | {} |
path | [] |
view | u'slug-detail' |
urlconf | 'gerege.urls' |
resolved_path | [] |
/home/developer/sites/gerege/app3/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
result | u'%(slug)s/' |
candidate_pat | u'/%(slug)s/' |
pattern | '(?P<slug>[\\w\\-\\/]+)/$' |
self | <RegexURLResolver 'gerege.urls' (None:None) ^/> |
_prefix | u'/' |
text_args | [u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c'] |
lookup_view | u'slug-detail' |
prefix_args | [] |
params | [u'slug'] |
kwargs | {} |
args | (u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c',) |
possibility | [(u'%(slug)s/', [u'slug'])] |
text_kwargs | {} |
candidate_subs | {u'slug': u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c'} |
m | None |
lookup_view_s | u'slug-detail' |
n | None |
possibilities | [([(u'%(slug)s/', [u'slug'])], '(?P<slug>[\\w\\-\\/]+)/$', {})] |
patterns | ['(?P<slug>[\\w\\-\\/]+)/$'] |
prefix_norm | u'/' |
defaults | {} |
v | u'\u043c\u043e\u043d\u0433\u043e\u043b-\u0443\u043b\u0441\u044b\u043d-\u0435\u0440\u04e9\u043d\u0445\u0438\u0439-\u0441\u0430\u0439\u0434-\u0441-\u0431\u0430\u0442\u0431\u043e\u043b\u0434\u044b\u043d-\u201c\u0445\u04e9\u0434\u04e9\u043b\u043c' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
SERVER_SOFTWARE | 'gunicorn/19.6.0' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/s/333/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '44.192.73.68' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
HTTP_REMOTE_ADDR | '44.192.73.68' |
SERVER_NAME | '198.199.101.150' |
REMOTE_ADDR | '45.55.8.187' |
HTTP_X_FORWARDED_PROTOCOL | 'http' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '8100' |
REMOTE_PORT | '33189' |
HTTP_X_FORWARDED_PROTO | 'http' |
wsgi.input | <newrelic.api.web_transaction._WSGIInputWrapper object at 0x7f2087c40cd0> |
HTTP_HOST | 'batbold.com' |
wsgi.multithread | False |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
RAW_URI | '/s/333/' |
wsgi.run_once | False |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2087ba1510> |
wsgi.multiprocess | True |
gunicorn.socket | <socket._socketobject object at 0x7f20879734b0> |
HTTP_X_FORWARDED_PORT | '80' |
HTTP_X_FORWARDED_FOR | '44.192.73.68, 44.192.73.68' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'4EKKauzLYF83hz0K59A1DPdme16uch0t' |
gerege.settings
Setting | Value |
---|---|
NOCAPTCHA | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en' |
ROOT_URLCONF | 'gerege.urls' |
MANAGERS | () |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
STATIC_ROOT | '/home/developer/sites/gerege/app3/application/.store/static' |
RESTRICTED_WORDS | set(['', '(?P<file_name>[a-z0-9]+).txt', '(?P<slug>[\\w\\-\\', 'admin', 'articles-by-json', 'author', 'change-language', 'custom-fields', 'forgot-password', 'healthz', 'login', 'logout', 'media', 'mobile', 'oauth2callback', 'plugins', 'post', 'profile', 'profile-edit', 'programs', 'register', 'request-helper', 'robots.txt', 'rss', 's', 'search', 'sitemap.xml', 'thumb']) |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
SKIP_SEARCH_SITE | [] |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
PROGRAM_ROOT | '/home/developer/sites/gerege/app3/application/.store/programs' |
SESSION_CACHE_ALIAS | 'default' |
NMTECCONTRIB | {} |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '45.55.8.188', 'NAME': 'gerege_core', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Asia/Singapore', 'USER': 'gerege'}, 'gerege_0': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'gerege', 'OPTIONS': {'init_command': 'SET storage_engine=INNODB'}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': 'utf8', 'COLLATION': 'utf8_unicode_ci', 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Asia/Singapore', 'USER': 'gerege'}, 'site_139778123006872': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'gerege_281', 'OPTIONS': {'init_command': 'SET storage_engine=INNODB'}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': 'utf8', 'COLLATION': 'utf8_unicode_ci', 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Asia/Singapore', 'USER': 'gerege'}} |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
HAYSTACK_ROUTERS | ['apps.search.haystack_utils.SiteRouter'] |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
DEFAULT_CONTENT_TYPE | 'text/html' |
SITE_STATIC_ROOT | '/home/developer/sites/gerege/app3/application/.store/static/sites' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | ['apps.general.db_router.SiteRouter'] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'KEY_PREFIX': u'********************', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 2592000}} |
DOMAIN | 'gerege.agency' |
SERVER_EMAIL | 'noreply@thenewmediagroup.co' |
SESSION_COOKIE_PATH | '/' |
ASSETS_AUTO_COMPRESS | False |
SILENCED_SYSTEM_CHECKS | [] |
LOG_EMAIL_HOST | 'smtp.gmail.com' |
MIDDLEWARE_CLASSES | ('nmteccontrib.ajaxcontent.middleware.AjaxContentMiddleware', 'nmteccontrib.general.middleware.RequestMiddleware', 'apps.general.middleware.DomainFinderMiddleware', 'apps.general.middleware.SearchEngineMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'apps.general.middleware.BeforeMiddleware', 'nmteccontrib.filemanager.backends.SWFUploadMiddleware.SWFUploadMiddleware', 'nmteccontrib.general.middleware.FlashBeforeMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'apps.users.middleware.UserMiddleware', 'apps.general.middleware.CountryBlockMiddleware', 'apps.general.middleware.AfterMiddleware', 'nmteccontrib.general.middleware.FlashAfterMiddleware', 'django_user_agents.middleware.UserAgentMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'plugins.ot_training_online.middleware.OtTrainingOnlineMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
PUSH_NOTIFICATIONS_SETTINGS | {'APNS_CERTIFICATE': '/home/developer/sites/gerege/app3/application/pushnotif.pem', 'GCM_API_KEY': u'********************'} |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'gerege.wsgi.application' |
STABLE | False |
EDITOR_ROOT | '/home/developer/sites/gerege/app3/application/.store/media/content/' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}, 'gerege_0': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_0', 'URL': 'http://es.gerege.agency:80'}, 'gerege_111en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_111en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_111mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_111mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_118en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_118en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_137en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_137en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_137mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_137mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_18mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_18mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_1en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_1en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_1mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_1mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_1ru': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_1ru', 'URL': 'http://es.gerege.agency:80'}, 'gerege_218mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_218mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_268mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_268mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_281mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_281mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_297mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_297mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_306mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_306mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_319en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_319en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_319mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_319mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_332en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_332en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_332mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_332mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_340en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_340en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_342mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_342mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_351en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_351en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_355mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_355mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_35en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_35en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_35mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_35mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_363en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_363en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_366en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_366en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_369en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_369en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_372mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_372mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_387mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_387mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_392en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_392en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_392mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_392mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_395en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_395en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_403en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_403en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_405en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_405en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_405mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_405mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_407en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_407en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_419mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_419mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_426en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_426en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_426mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_426mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_43en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_43en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_446en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_446en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_446mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_446mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_451en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_451en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_451mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_451mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_453en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_453en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_453mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_453mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_459en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_459en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_465mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_465mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_472en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_472en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_472mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_472mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_503en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_503en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_503mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_503mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_57mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_57mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_65mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_65mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_70mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_70mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_75en': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_75en', 'URL': 'http://es.gerege.agency:80'}, 'gerege_75mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_75mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_81mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_81mn', 'URL': 'http://es.gerege.agency:80'}, 'gerege_91mn': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'gerege_91mn', 'URL': 'http://es.gerege.agency:80'}} |
SITE_STATIC_URL | '/static/sites/' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
CACHEABLE | 'apps.general.cache.is_cacheable' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
SITE_ROOT | '/home/developer/sites/gerege/app3/sites' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.staticfiles', 'django.contrib.sessions', 'django.contrib.humanize', 'django.contrib.contenttypes', 'haystack', 'nmteccontrib.ajaxcontent', 'nmteccontrib.cache', 'nmteccontrib.mail', 'nmteccontrib.filemanager', 'nmteccontrib.editor', 'apps.general', 'nmteccontrib.django_crontasks', 'apps.translation', 'apps.slug', 'apps.articles', 'apps.pages', 'apps.categories', 'apps.ui_translation', 'apps.tags', 'apps.site_assets', 'apps.search', 'apps.config', 'apps.users', 'apps.menus', 'apps.frontend', 'apps.social', 'apps.forms', 'apps.custom_fields', 'apps.plugins', 'apps.thumbnail', 'apps.analytics', 'apps.pagination', 'apps.histories', 'apps.mobile', 'apps.rss', 'plugins.monitoring', 'plugins.email_subscribes', 'plugins.ecommerce', 'nmteccontrib.assets') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('/home/developer/sites/gerege/app3/application/plugins/static', '/home/developer/sites/gerege/app3/application/static', '/home/developer/sites/gerege/app3/sites_static', '/home/developer/sites/gerege/app3/application/.store/programs') |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
PROGRAM_URL | '/programs/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
COMMAND | 'gerege.wsgi:application' |
CAPTCHA_AJAX | True |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/login/' |
LOG_EMAIL_HOST_USER | 'newmediagroupit@gmail.com' |
TIME_FORMAT | 'P' |
RUNNING_SITE_ID | 1 |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SESSION_ENGINE | 'apps.general.cached_db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/' |
PROJECT_ROOT | '/home/developer/sites/gerege/app3/application' |
SITE_DB_PREFIX | 'gerege_' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | ('/home/developer/sites/gerege/app3/application/locale',) |
INTERNAL_IPS | () |
TEMPLATE_STRING_IF_INVALID | '' |
CHURNBEE_ACCESS_TOKEN | u'********************' |
EDITOR_URL | '/media/content/' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.socketlabs.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/developer/sites/gerege/app3/application/.store/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Shinebayar', 'shinebayar.g@nmtec.co'), ('Myagmar', 'myagmar.a@nmma.co')) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'noreply@thenewmediagroup.co' |
RUNNING_MODE | 'server' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/developer/sites/gerege/app3/application/templates', '/home/developer/sites/gerege/app3/application/plugins/templates', '/home/developer/sites/gerege/app3/sites') |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
SLUG_MIDDLEWARE | ('plugins.bloomberg_payment.middleware.filter_payment',) |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'simple': {'format': '%(levelname)s %(asctime)s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'DEBUG'}, 'file': {'class': 'apps.general.log.FileHandler', 'filename': '/home/developer/sites/gerege/app3/application/.store/logs/info.log', 'formatter': 'simple', 'level': 'INFO'}, 'important': {'class': 'logging.FileHandler', 'filename': '/home/developer/sites/gerege/app3/application/.store/logs/important.log', 'formatter': 'simple', 'level': 'INFO'}, 'mail_admins': {'class': 'apps.general.log.EmailHandler', 'email_backend': 'apps.general.email_backend.LogEmailBackend', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'django.db.backends': {'handlers': ['null'], 'level': 'DEBUG', 'propagate': True}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'elasticsearch': {'handlers': ['null'], 'level': 'DEBUG', 'propagate': True}, 'important': {'handlers': ['important'], 'level': 'INFO', 'propagate': True}, 'info': {'handlers': ['file'], 'level': 'INFO', 'propagate': True}}, 'version': 1} |
LOG_EMAIL_HOST_PASSWORD | u'********************' |
SHORT_DATE_FORMAT | 'm/d/Y' |
LOG_NAME | 'info' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Asia/Singapore' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
SESSION_COOKIE_HTTPONLY | True |
MIGRATION_MODULES | {} |
SUPPORTERS | ('myagmar.a@nmma.co', 'support@nmma.co') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'gerege.settings' |
USE_ETAGS | False |
GEREGE_ROOT | '/home/developer/sites/gerege/app3' |
LANGUAGES | (('en', 'English'), ('mn', 'Mongolia'), ('ru', 'Russian'), ('ja', 'Japanese'), ('zh-cn', 'Simplified Chinese'), ('ko', 'Korean'), ('de', 'German')) |
CRON_TASKS | ('apps.social.utils.Cron', 'apps.general.cron.MailCron', 'apps.general.cron.CleanupCron', 'apps.general.cron.ReloadCacheCron') |
DEFAULT_INDEX_TABLESPACE | '' |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 2525 |
USE_TZ | False |
LOG_EMAIL_PORT | 587 |
CORE_DOMAIN | 'http://app.gerege.agency' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
APP_ID | '3' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SENDER | 'noreply@thenewmediagroup.co' |
DEBUG_TOOLBAR_CONFIG | {'SHOW_TEMPLATE_CONTEXT': True} |
CSRF_COOKIE_HTTPONLY | True |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | 'server33895' |
PROFANITIES_LIST | u'********************' |
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 500 page.