''
Request Method: | GET |
---|---|
Request URL: | https://concept.kg/kg/tours/education/to_pdf/38/ |
Django Version: | 1.11.2 |
Exception Type: | BadStatusLine |
Exception Value: | '' |
Exception Location: | /usr/lib/python2.7/httplib.py in _read_status, line 373 |
Python Executable: | /home/concept/.virtualenvs/concept/bin/uwsgi |
Python Version: | 2.7.6 |
Python Path: | ['/home/concept/.virtualenvs/concept/concept.kg/apps', '.', '', '/home/concept/.virtualenvs/concept/lib/python2.7', '/home/concept/.virtualenvs/concept/lib/python2.7/plat-x86_64-linux-gnu', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-tk', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-old', '/home/concept/.virtualenvs/concept/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/concept/.virtualenvs/concept/local/lib/python2.7/site-packages'] |
Server time: | Пт, 29 Мар 2024 11:42:59 +0600 |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | BadStatusLine("''",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0>> |
request | <WSGIRequest: GET '/kg/tours/education/to_pdf/38/'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method SecurityMiddleware.process_request of <django.middleware.security.SecurityMiddleware object at 0x7f010f9dc610>> |
request | <WSGIRequest: GET '/kg/tours/education/to_pdf/38/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_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:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function education_to_pdf at 0x7f010d4b3b18> |
callback_args | () |
callback_kwargs | {'pk': u'38'} |
e | BadStatusLine("''",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/kg/tours/education/to_pdf/38/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=tour.views.education_to_pdf, args=(), kwargs={'pk': u'38'}, url_name=education_to_pdf, app_names=[], namespaces=['tours']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function education_to_pdf at 0x7f010d4b3b18> |
/home/concept/.virtualenvs/concept/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:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function education_to_pdf at 0x7f010d4b3b18> |
callback_args | () |
callback_kwargs | {'pk': u'38'} |
e | BadStatusLine("''",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/kg/tours/education/to_pdf/38/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=tour.views.education_to_pdf, args=(), kwargs={'pk': u'38'}, url_name=education_to_pdf, app_names=[], namespaces=['tours']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function education_to_pdf at 0x7f010d4b3b18> |
/home/concept/.virtualenvs/concept/concept.kg/apps/tour/views.py
in education_to_pdf
'pagesize': 'A4',
'project_root': settings.SITE_ROOT,
'logo': '/static/img/header-top/kyrgyz-concept-logo.svg',
'tour': tour,
'photo': photo,
'accomodations': accomodations,
'show_prices_terms': show_prices_terms,
'comments': comments...
}
)
def education_list_by_tag(request, slug):
"""
Variable | Value |
---|---|
accomodations | <MultilingualQuerySet [<EducationAccommodationInfo: <h4 style="text-align: center;">Университет Алабамы в Бирмингеме единственный университет на юго-восточном побережье, который предлагает своим студентом проживание не просто комнаты в общежитии, а также люксы и апартаменты.</h4> <p style="text-align: justify;">Если ты студент первокурсник и только приехал в университет, ты будешь гостеприимно принят в резиденции для студентов бакалавров <strong><em>Blazer Hall</em></strong>. Тебе будет весело в компании еще трех человек - соседей по комнате, в двухкомнатных апартаментах люкс, где есть отдельная ванна. Тебе не нужно ничего покупать, все необходимо университет уже тебе предлагает. Тебе дадут кровать, шкаф, комод, стол, стул, кабельное телевидение и конечно Wi-Fi. Дополнительно тебе дадут холодильник, плиту для твоей кухни, и кондиционер.</p> <p><img src="http://www.ssoe.com/wp-content/uploads/CRS-UAB-Blazer-Hall-Student-Housing-Birmingham-AL.jpg" style="width: 713px; height: 414px;" width="713" height="414"><br>Не беспокойтесь о ваших вещах, если вам нужна стирка, на первом этаже, есть прачечная. Пока вы будете пить кофе в кафетерии рядом с резиденцией, ваши вещи по стираются.</p>>, <EducationAccommodationInfo: <p style="text-align: justify;">В случае, если вы студент магистрант или едете защищать докторскую, для вас готовы апартаменты в резиденции Denman Hall. Вы сможете спокойно писать дипломную работу, и апартаменты будут в вашем единоличном распоряжении. Университет предоставит вам удобную кровать для спальни, диван для вашей гостиной с журнальным столиком, где будут также красивые шторы и полки для книг, шкафы для вашей одежды, а на кухне будет плита из мрамора и даже раковина.</p> <p style="text-align: center;"><img src="https://www.uab.edu/students/housing/media/widgetkit/RH-BLNT-95d07b8abbce41f2592e90a036a63e95.png" width="439" height="439" style="width: 439px; height: 439px;"><br></p>>]> |
comments | <QuerySet []> |
photo | <EducationTourSliderPhoto: /media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg> |
pk | u'38' |
request | <WSGIRequest: GET '/kg/tours/education/to_pdf/38/'> |
show_prices_terms | False |
template | 'tour/education_pdf.html' |
tour | <Education: Университет Алабамы в Бирмингеме- высшее образование в США> |
/home/concept/.virtualenvs/concept/concept.kg/apps/base/views.py
in render_to_pdf
Метод для экспорта информации в формате .pdf.
"""
template = get_template(template_src)
# context = Context(context_dict)
html = template.render(context_dict)
result = StringIO.StringIO()
pdf = pisa.CreatePDF(html.encode('UTF-8'), result, encoding='UTF-8')...
if not pdf.err:
return HttpResponse(result.getvalue(), content_type='application/pdf')
return HttpResponse('We had some errors<pre>%s</pre>' % escape(html))
def complaint(request):
Variable | Value |
---|---|
context_dict | {'accomodations': <MultilingualQuerySet [<EducationAccommodationInfo: <h4 style="text-align: center;">Университет Алабамы в Бирмингеме единственный университет на юго-восточном побережье, который предлагает своим студентом проживание не просто комнаты в общежитии, а также люксы и апартаменты.</h4> <p style="text-align: justify;">Если ты студент первокурсник и только приехал в университет, ты будешь гостеприимно принят в резиденции для студентов бакалавров <strong><em>Blazer Hall</em></strong>. Тебе будет весело в компании еще трех человек - соседей по комнате, в двухкомнатных апартаментах люкс, где есть отдельная ванна. Тебе не нужно ничего покупать, все необходимо университет уже тебе предлагает. Тебе дадут кровать, шкаф, комод, стол, стул, кабельное телевидение и конечно Wi-Fi. Дополнительно тебе дадут холодильник, плиту для твоей кухни, и кондиционер.</p> <p><img src="http://www.ssoe.com/wp-content/uploads/CRS-UAB-Blazer-Hall-Student-Housing-Birmingham-AL.jpg" style="width: 713px; height: 414px;" width="713" height="414"><br>Не беспокойтесь о ваших вещах, если вам нужна стирка, на первом этаже, есть прачечная. Пока вы будете пить кофе в кафетерии рядом с резиденцией, ваши вещи по стираются.</p>>, <EducationAccommodationInfo: <p style="text-align: justify;">В случае, если вы студент магистрант или едете защищать докторскую, для вас готовы апартаменты в резиденции Denman Hall. Вы сможете спокойно писать дипломную работу, и апартаменты будут в вашем единоличном распоряжении. Университет предоставит вам удобную кровать для спальни, диван для вашей гостиной с журнальным столиком, где будут также красивые шторы и полки для книг, шкафы для вашей одежды, а на кухне будет плита из мрамора и даже раковина.</p> <p style="text-align: center;"><img src="https://www.uab.edu/students/housing/media/widgetkit/RH-BLNT-95d07b8abbce41f2592e90a036a63e95.png" width="439" height="439" style="width: 439px; height: 439px;"><br></p>>]>, 'comments': <QuerySet []>, 'logo': '/static/img/header-top/kyrgyz-concept-logo.svg', 'pagesize': 'A4', 'photo': <EducationTourSliderPhoto: /media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg>, 'project_root': '/home/concept/.virtualenvs/concept/concept.kg', 'show_prices_terms': False, 'tour': <Education: Университет Алабамы в Бирмингеме- высшее образование в США>} |
html | u'\n<!doctype html>\n<html lang="en">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442 \u0410\u043b\u0430\u0431\u0430\u043c\u044b \u0432 \u0411\u0438\u0440\u043c\u0438\u043d\u0433\u0435\u043c\u0435- \u0432\u044b\u0441\u0448\u0435\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0421\u0428\u0410</title>\n <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>\n <style>\n .content{\n max-width: 1030px;\n width: 100%;\n padding-left: 15px;\n padding-right: 15px;\n margin-left: auto;\n margin-right: auto;\n }\n img{\n width: auto;\n max-width: 100%;\n }\n @font-face {\n font-family: "Open Sans";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Regular.ttf\');\n }\n @font-face {\n font-family: "Open Sans Bold";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Bold.ttf\');\n }\n body {\n font-size: 14px;\n font-family: "Open Sans";\n }\n .bold {\n font-family: "Open Sans Bold";\n color: #0091d4;\n }\n </style>\n</head>\n<body>\n<script type="text/javascript">\n $(function(){\n var e = jQuery.Event("keypress");\n e.which = 17;\n e.keyCode = 80;\n $(document).trigger(e);\n });\n</script>\n<div class="content">\n <section class="kc-outbound-tour-detail">\n <div class="container">\n\n \n <div class="row">\n <img src="/home/concept/.virtualenvs/concept/concept.kg/media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg" alt="" width="300" height="200">\n </div>\n \n <div class="row">\n <div class="col-md-8 col-sm-6 col-xs-12">\n <h2 class="bold">\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442 \u0410\u043b\u0430\u0431\u0430\u043c\u044b \u0432 \u0411\u0438\u0440\u043c\u0438\u043d\u0433\u0435\u043c\u0435- \u0432\u044b\u0441\u0448\u0435\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0421\u0428\u0410</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\u0411\u0430\u0433\u044b\u0442:</span> \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0448\u0442\u0430\u0442\u044b \u0410\u043c\u0435\u0440\u0438\u043a\u0438,\u0421\u0428\u0410</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\u0414\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b:</span></p>\n <p><p>\u0411\u0430\u043a\u0430\u043b\u0430\u0432\u0440\u0438\u0430\u0442- 4 \u0433\u043e\u0434\u0430</p>\r\n<p>\u041c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u0430- 2 \u0433\u043e\u0434\u0430</p></p>\n \n </div>\n </div>\n \n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\u041a\u0430\u0431\u044b\u043b \u0430\u043b\u0443\u0443 \u043c\u04e9\u04e9\u043d\u04e9\u0442\u04af:</span></p>\n \n <p>\u0416\u044b\u043b \u0431\u043e\u044e</p>\n \n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><spa... <trimmed 26816 bytes string> |
result | <cStringIO.StringO object at 0x7f0106028298> |
template | <django.template.backends.django.Template object at 0x7f01068e3f50> |
template_src | 'tour/education_pdf.html' |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/document.py
in pisaDocument
# Prepare simple context
context = pisaContext(path, debug=debug, capacity=capacity)
context.pathCallback = link_callback
# Build story
context = pisaStory(src, path, link_callback, debug, default_css, xhtml,
encoding, context=context, xml_output=xml_output)...
# Buffer PDF into memory
out = pisaTempFile(capacity=context.capacity)
doc = PmlBaseDoc(
out,
Variable | Value |
---|---|
capacity | 102400 |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
debug | 0 |
default_css | None |
dest | <cStringIO.StringO object at 0x7f0106028298> |
encoding | 'UTF-8' |
kw | {} |
link_callback | None |
path | None |
raise_exception | True |
src | '\n<!doctype html>\n<html lang="en">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</title>\n <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>\n <style>\n .content{\n max-width: 1030px;\n width: 100%;\n padding-left: 15px;\n padding-right: 15px;\n margin-left: auto;\n margin-right: auto;\n }\n img{\n width: auto;\n max-width: 100%;\n }\n @font-face {\n font-family: "Open Sans";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Regular.ttf\');\n }\n @font-face {\n font-family: "Open Sans Bold";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Bold.ttf\');\n }\n body {\n font-size: 14px;\n font-family: "Open Sans";\n }\n .bold {\n font-family: "Open Sans Bold";\n color: #0091d4;\n }\n </style>\n</head>\n<body>\n<script type="text/javascript">\n $(function(){\n var e = jQuery.Event("keypress");\n e.which = 17;\n e.keyCode = 80;\n $(document).trigger(e);\n });\n</script>\n<div class="content">\n <section class="kc-outbound-tour-detail">\n <div class="container">\n\n \n <div class="row">\n <img src="/home/concept/.virtualenvs/concept/concept.kg/media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg" alt="" width="300" height="200">\n </div>\n \n <div class="row">\n <div class="col-md-8 col-sm-6 col-xs-12">\n <h2 class="bold">\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x91\xd0\xb0\xd0\xb3\xd1\x8b\xd1\x82:</span> \xd0\xa1\xd0\xbe\xd0\xb5\xd0\xb4\xd0\xb8\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \xd1\x88\xd1\x82\xd0\xb0\xd1\x82\xd1\x8b \xd0\x90\xd0\xbc\xd0\xb5\xd1\x80\xd0\xb8\xd0\xba\xd0\xb8,\xd0\xa1\xd0\xa8\xd0\x90</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x94\xd0\xbb\xd0\xb8\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd1\x81\xd1\x82\xd1\x8c \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb3\xd1\x80\xd0\xb0\xd0\xbc\xd0\xbc\xd1\x8b:</span></p>\n <p><p>\xd0\x91\xd0\xb0\xd0\xba\xd0\xb0\xd0\xbb\xd0\xb0\xd0\xb2\xd1\x80\xd0\xb8\xd0\xb0\xd1\x82- 4 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>\xd0\x9c\xd0\xb0\xd0\xb3\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd1\x82\xd1\x83\xd1\x80\xd0\xb0- 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p></p>\n \n </div>\n </div>\n \n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x9a\xd0\xb0\xd0\xb1\xd1\x8b\xd0\xbb \xd0\xb0\xd0\xbb\xd1\x83\xd1\x83 \xd0\xbc\xd3\xa9\xd3\xa9\... <trimmed 33231 bytes string> |
xhtml | False |
xml_output | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/document.py
in pisaStory
context.pathCallback = link_callback
# Use a default set of CSS definitions to get an expected output
if default_css is None:
default_css = DEFAULT_CSS
# Parse and fill the story
pisaParser(src, context, default_css, xhtml, encoding, xml_output)...
# Avoid empty documents
if not context.story:
context.story = [Spacer(1, 1)]
if context.indexing_story:
Variable | Value |
---|---|
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
debug | 0 |
default_css | '\nhtml {\n font-family: Helvetica;\n font-size: 10px;\n font-weight: normal;\n color: #000000;\n background-color: transparent;\n margin: 0;\n padding: 0;\n line-height: 150%;\n border: 1px none;\n display: inline;\n width: auto;\n height: auto;\n white-space: normal;\n}\n\nb,\nstrong {\n font-weight: bold;\n}\n\ni,\nem {\n font-style: italic;\n}\n\nu {\n text-decoration: underline;\n}\n\ns,\nstrike {\n text-decoration: line-through;\n}\n\na {\n text-decoration: underline;\n color: blue;\n}\n\nins {\n color: green;\n text-decoration: underline;\n}\ndel {\n color: red;\n text-decoration: line-through;\n}\n\npre,\ncode,\nkbd,\nsamp,\ntt {\n font-family: "Courier New";\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight:bold;\n -pdf-outline: true;\n -pdf-outline-open: false;\n}\n\nh1 {\n /*18px via YUI Fonts CSS foundation*/\n font-size:138.5%;\n -pdf-outline-level: 0;\n}\n\nh2 {\n /*16px via YUI Fonts CSS foundation*/\n font-size:123.1%;\n -pdf-outline-level: 1;\n}\n\nh3 {\n /*14px via YUI Fonts CSS foundation*/\n font-size:108%;\n -pdf-outline-level: 2;\n}\n\nh4 {\n -pdf-outline-level: 3;\n}\n\nh5 {\n -pdf-outline-level: 4;\n}\n\nh6 {\n -pdf-outline-level: 5;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\npre,\nhr {\n margin:1em 0;\n}\n\naddress,\nblockquote,\nbody,\ncenter,\ndl,\ndir,\ndiv,\nfieldset,\nform,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nisindex,\nmenu,\nnoframes,\nnoscript,\nol,\np,\npre,\ntable,\nth,\ntr,\ntd,\nul,\nli,\ndd,\ndt,\npdftoc {\n display: block;\n}\n\ntable {\n}\n\ntr,\nth,\ntd {\n\n vertical-align: middle;\n width: auto;\n}\n\nth {\n text-align: center;\n font-weight: bold;\n}\n\ncenter {\n text-align: center;\n}\n\nbig {\n font-size: 125%;\n}\n\nsmall {\n font-size: 75%;\n}\n\n\nul {\n margin-left: 1.5em;\n list-style-type: disc;\n}\n\nul ul {\n list-style-type: circle;\n}\n\nul ul ul {\n list-style-type: square;\n}\n\nol {\n list-style-type: decimal;\n margin-left: 1.5em;\n}\n\npre {\n white-space: pre;\n}\n\nblockquote {\n margin-left: 1.5em;\n margin-right: 1.5em;\n}\n\nnoscript {\n display: none;\n}\n' |
encoding | 'UTF-8' |
kw | {} |
link_callback | None |
path | None |
src | '\n<!doctype html>\n<html lang="en">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</title>\n <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>\n <style>\n .content{\n max-width: 1030px;\n width: 100%;\n padding-left: 15px;\n padding-right: 15px;\n margin-left: auto;\n margin-right: auto;\n }\n img{\n width: auto;\n max-width: 100%;\n }\n @font-face {\n font-family: "Open Sans";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Regular.ttf\');\n }\n @font-face {\n font-family: "Open Sans Bold";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Bold.ttf\');\n }\n body {\n font-size: 14px;\n font-family: "Open Sans";\n }\n .bold {\n font-family: "Open Sans Bold";\n color: #0091d4;\n }\n </style>\n</head>\n<body>\n<script type="text/javascript">\n $(function(){\n var e = jQuery.Event("keypress");\n e.which = 17;\n e.keyCode = 80;\n $(document).trigger(e);\n });\n</script>\n<div class="content">\n <section class="kc-outbound-tour-detail">\n <div class="container">\n\n \n <div class="row">\n <img src="/home/concept/.virtualenvs/concept/concept.kg/media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg" alt="" width="300" height="200">\n </div>\n \n <div class="row">\n <div class="col-md-8 col-sm-6 col-xs-12">\n <h2 class="bold">\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x91\xd0\xb0\xd0\xb3\xd1\x8b\xd1\x82:</span> \xd0\xa1\xd0\xbe\xd0\xb5\xd0\xb4\xd0\xb8\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \xd1\x88\xd1\x82\xd0\xb0\xd1\x82\xd1\x8b \xd0\x90\xd0\xbc\xd0\xb5\xd1\x80\xd0\xb8\xd0\xba\xd0\xb8,\xd0\xa1\xd0\xa8\xd0\x90</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x94\xd0\xbb\xd0\xb8\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd1\x81\xd1\x82\xd1\x8c \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb3\xd1\x80\xd0\xb0\xd0\xbc\xd0\xbc\xd1\x8b:</span></p>\n <p><p>\xd0\x91\xd0\xb0\xd0\xba\xd0\xb0\xd0\xbb\xd0\xb0\xd0\xb2\xd1\x80\xd0\xb8\xd0\xb0\xd1\x82- 4 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>\xd0\x9c\xd0\xb0\xd0\xb3\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd1\x82\xd1\x83\xd1\x80\xd0\xb0- 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p></p>\n \n </div>\n </div>\n \n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x9a\xd0\xb0\xd0\xb1\xd1\x8b\xd0\xbb \xd0\xb0\xd0\xbb\xd1\x83\xd1\x83 \xd0\xbc\xd3\xa9\xd3\xa9\... <trimmed 33231 bytes string> |
xhtml | False |
xml_output | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaParser
#try:
context.parseCSS()
#except:
# context.cssText = DEFAULT_CSS
# context.parseCSS()
# context.debug(9, pprint.pformat(context.css))
pisaLoop(document, context)...
return context
# Shortcuts
HTML2PDF = pisaParser
Variable | Value |
---|---|
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
default_css | '\nhtml {\n font-family: Helvetica;\n font-size: 10px;\n font-weight: normal;\n color: #000000;\n background-color: transparent;\n margin: 0;\n padding: 0;\n line-height: 150%;\n border: 1px none;\n display: inline;\n width: auto;\n height: auto;\n white-space: normal;\n}\n\nb,\nstrong {\n font-weight: bold;\n}\n\ni,\nem {\n font-style: italic;\n}\n\nu {\n text-decoration: underline;\n}\n\ns,\nstrike {\n text-decoration: line-through;\n}\n\na {\n text-decoration: underline;\n color: blue;\n}\n\nins {\n color: green;\n text-decoration: underline;\n}\ndel {\n color: red;\n text-decoration: line-through;\n}\n\npre,\ncode,\nkbd,\nsamp,\ntt {\n font-family: "Courier New";\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight:bold;\n -pdf-outline: true;\n -pdf-outline-open: false;\n}\n\nh1 {\n /*18px via YUI Fonts CSS foundation*/\n font-size:138.5%;\n -pdf-outline-level: 0;\n}\n\nh2 {\n /*16px via YUI Fonts CSS foundation*/\n font-size:123.1%;\n -pdf-outline-level: 1;\n}\n\nh3 {\n /*14px via YUI Fonts CSS foundation*/\n font-size:108%;\n -pdf-outline-level: 2;\n}\n\nh4 {\n -pdf-outline-level: 3;\n}\n\nh5 {\n -pdf-outline-level: 4;\n}\n\nh6 {\n -pdf-outline-level: 5;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\npre,\nhr {\n margin:1em 0;\n}\n\naddress,\nblockquote,\nbody,\ncenter,\ndl,\ndir,\ndiv,\nfieldset,\nform,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nisindex,\nmenu,\nnoframes,\nnoscript,\nol,\np,\npre,\ntable,\nth,\ntr,\ntd,\nul,\nli,\ndd,\ndt,\npdftoc {\n display: block;\n}\n\ntable {\n}\n\ntr,\nth,\ntd {\n\n vertical-align: middle;\n width: auto;\n}\n\nth {\n text-align: center;\n font-weight: bold;\n}\n\ncenter {\n text-align: center;\n}\n\nbig {\n font-size: 125%;\n}\n\nsmall {\n font-size: 75%;\n}\n\n\nul {\n margin-left: 1.5em;\n list-style-type: disc;\n}\n\nul ul {\n list-style-type: circle;\n}\n\nul ul ul {\n list-style-type: square;\n}\n\nol {\n list-style-type: decimal;\n margin-left: 1.5em;\n}\n\npre {\n white-space: pre;\n}\n\nblockquote {\n margin-left: 1.5em;\n margin-right: 1.5em;\n}\n\nnoscript {\n display: none;\n}\n' |
document | <xml.dom.minidom.Document instance at 0x7f0107507e18> |
encoding | 'UTF-8' |
parser | <html5lib.html5parser.HTMLParser object at 0x7f01068e3a90> |
src | '\n<!doctype html>\n<html lang="en">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</title>\n <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>\n <style>\n .content{\n max-width: 1030px;\n width: 100%;\n padding-left: 15px;\n padding-right: 15px;\n margin-left: auto;\n margin-right: auto;\n }\n img{\n width: auto;\n max-width: 100%;\n }\n @font-face {\n font-family: "Open Sans";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Regular.ttf\');\n }\n @font-face {\n font-family: "Open Sans Bold";\n src: url(\'https://concept.kg/static/fonts/open-sans/OpenSans-Bold.ttf\');\n }\n body {\n font-size: 14px;\n font-family: "Open Sans";\n }\n .bold {\n font-family: "Open Sans Bold";\n color: #0091d4;\n }\n </style>\n</head>\n<body>\n<script type="text/javascript">\n $(function(){\n var e = jQuery.Event("keypress");\n e.which = 17;\n e.keyCode = 80;\n $(document).trigger(e);\n });\n</script>\n<div class="content">\n <section class="kc-outbound-tour-detail">\n <div class="container">\n\n \n <div class="row">\n <img src="/home/concept/.virtualenvs/concept/concept.kg/media/tours/edu/slider/INTO-UAB-intro-student-walks-by-slogan.jpg" alt="" width="300" height="200">\n </div>\n \n <div class="row">\n <div class="col-md-8 col-sm-6 col-xs-12">\n <h2 class="bold">\xd0\xa3\xd0\xbd\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x80\xd1\x81\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\x90\xd0\xbb\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbc\xd1\x8b \xd0\xb2 \xd0\x91\xd0\xb8\xd1\x80\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb3\xd0\xb5\xd0\xbc\xd0\xb5- \xd0\xb2\xd1\x8b\xd1\x81\xd1\x88\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\xa1\xd0\xa8\xd0\x90</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x91\xd0\xb0\xd0\xb3\xd1\x8b\xd1\x82:</span> \xd0\xa1\xd0\xbe\xd0\xb5\xd0\xb4\xd0\xb8\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \xd1\x88\xd1\x82\xd0\xb0\xd1\x82\xd1\x8b \xd0\x90\xd0\xbc\xd0\xb5\xd1\x80\xd0\xb8\xd0\xba\xd0\xb8,\xd0\xa1\xd0\xa8\xd0\x90</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x94\xd0\xbb\xd0\xb8\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd1\x81\xd1\x82\xd1\x8c \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb3\xd1\x80\xd0\xb0\xd0\xbc\xd0\xbc\xd1\x8b:</span></p>\n <p><p>\xd0\x91\xd0\xb0\xd0\xba\xd0\xb0\xd0\xbb\xd0\xb0\xd0\xb2\xd1\x80\xd0\xb8\xd0\xb0\xd1\x82- 4 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>\xd0\x9c\xd0\xb0\xd0\xb3\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd1\x82\xd1\x83\xd1\x80\xd0\xb0- 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p></p>\n \n </div>\n </div>\n \n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">\xd0\x9a\xd0\xb0\xd0\xb1\xd1\x8b\xd0\xbb \xd0\xb0\xd0\xbb\xd1\x83\xd1\x83 \xd0\xbc\xd3\xa9\xd3\xa9\... <trimmed 33231 bytes string> |
xhtml | False |
xml_output | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
context.pullFrag()
# Unknown or not handled
else:
# context.debug(1, indent, "???", node, node.nodeType, repr(node))
# Loop over children
for node in node.childNodes:
pisaLoop(node, context, path, **kw)...
def pisaParser(src, context, default_css="", xhtml=False, encoding=None, xml_output=None):
"""
- Parse HTML and get miniDOM
- Extract CSS informations, add default CSS, parse CSS
Variable | Value |
---|---|
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
kw | {'margin-bottom': 0, 'margin-left': 0, 'margin-right': 0, 'margin-top': 0} |
node | <DOM Element: html at 0x7f010690ca28> |
path | [] |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'inline' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='Helvetica', fontSize=7.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=11.25, leadingSource=u'150%', leadingSpace=0, leftIndent=0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=0, paddingRight=0, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=None, wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | False |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | None |
kw | {'margin-bottom': 0, 'margin-left': 0, 'margin-right': 0, 'margin-top': 0} |
nnode | <DOM Element: body at 0x7f0105a8fdd0> |
node | <DOM Element: html at 0x7f010690ca28> |
obj | None |
pageBreakAfter | False |
path | [u'html'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=0, paddingRight=0, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=None, wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagBODY at 0x7f010dc23e88> |
kw | {'margin-bottom': 0, 'margin-left': 0, 'margin-right': 0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01064a94d0> |
node | <DOM Element: body at 0x7f0105a8fdd0> |
obj | <xhtml2pdf.tags.pisaTagBODY instance at 0x7f010ce145a8> |
pageBreakAfter | False |
path | [u'html', u'body'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: section at 0x7f010720fe18> |
node | <DOM Element: div at 0x7f01064a94d0> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0107429638> |
pageBreakAfter | False |
path | [u'html', u'body', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | 'inline' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | False |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | None |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f010720fa28> |
node | <DOM Element: section at 0x7f010720fe18> |
obj | None |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01060c8638> |
node | <DOM Element: div at 0x7f010720fa28> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f01068eee18> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f0105fdb998> |
node | <DOM Element: div at 0x7f01060c8638> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106b20710> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01064c9e60> |
node | <DOM Element: div at 0x7f0105fdb998> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106b20098> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01075e9290> |
node | <DOM Element: div at 0x7f01064c9e60> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f010664da70> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01075e9d40> |
node | <DOM Element: div at 0x7f01075e9290> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106b20200> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=0, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=0, spaceBefore=0, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagDIV at 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: p at 0x7f01075901b8> |
node | <DOM Element: div at 0x7f01075e9d40> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f010659b128> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'div'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if klass is not None:
obj = klass(node, attr)
obj.start(context)
# Visit child nodes
context.fragBlock = fragBlock = copy.copy(context.frag)
for nnode in node.childNodes:
pisaLoop(nnode, context, path, **kw)...
context.fragBlock = fragBlock
# END tag
if obj:
obj.end(context)
Variable | Value |
---|---|
PAGE_BREAK | 1 |
PAGE_BREAK_LEFT | 3 |
PAGE_BREAK_RIGHT | 2 |
attr | {'align': None, 'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
display | u'block' |
elementId | None |
fragBlock | ParaFrag(alignment=1, backColor=None, bold=0, borderBottomColor=None, borderBottomStyle=None, borderBottomWidth=1, borderColor=None, borderLeftColor=None, borderLeftStyle=None, borderLeftWidth=1, borderPadding=0, borderRightColor=None, borderRightStyle=None, borderRightWidth=1, borderStyle=None, borderTopColor=None, borderTopStyle=None, borderTopWidth=1, borderWidth=1, bulletFontName='Helvetica', bulletIndent=0.0, bulletText=None, firstLineIndent=0, fontName='open sans', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=0.0, letterSpacing='normal', link=None, listStyleImage=None, listStyleType=None, outline=False, outlineLevel=0, outlineOpen=False, paddingBottom=0, paddingLeft=11.25, paddingRight=11.25, paddingTop=0, pageCount=False, pageNumber=False, rightIndent=0.0, rise=0, spaceAfter=10.5, spaceBefore=10.5, strike=0, sub=0, super=0, text='', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0) |
frameBreakAfter | False |
isBlock | True |
keepInFrame | False |
keepInFrameMaxHeight | 0 |
keepInFrameMaxWidth | 0 |
keepInFrameMode | None |
klass | <class xhtml2pdf.tags.pisaTagP at 0x7f010d974390> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: img at 0x7f0107590e18> |
node | <DOM Element: p at 0x7f01075901b8> |
obj | <xhtml2pdf.tags.pisaTagP instance at 0x7f010659b320> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'div', u'p'] |
staticFrame | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaLoop
if node.tagName in ("style", "script"):
return
path = copy.copy(path) + [node.tagName]
# Prepare attributes
attr = pisaGetAttributes(context, node.tagName, node.attributes)...
#log.debug(indent + "<%s %s>" % (node.tagName, attr) + repr(node.attributes.items())) #, path
# Calculate styles
context.cssAttr = CSSCollect(node, context)
context.cssAttr = mapNonStandardAttrs(context.cssAttr, node, attr)
context.node = node
Variable | Value |
---|---|
context | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
node | <DOM Element: img at 0x7f0107590e18> |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'div', u'p', u'img'] |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/parser.py
in pisaGetAttributes
elif v == INT:
nv = int(nv)
elif v == COLOR:
nv = getColor(nv)
elif v == FILE:
nv = c.getFile(nv)...
elif v == FONT:
nv = c.getFontName(nv)
nattrs[k] = nv
Variable | Value |
---|---|
adef | {'align': ['top', 'middle', 'bottom', 'left', 'right', 'texttop', 'absmiddle', 'absbottom', 'baseline'], 'height': 6, 'id': 8, 'src': (5, 23), 'width': 6} |
attributes | <xml.dom.minidom.NamedNodeMap object at 0x7f010744f5a8> |
attrs | {'height': '436', 'src': 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg', 'style': 'width: 598px; height: 436px;', 'width': '598'} |
block | 0 |
c | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
dfl | 23 |
k | 'src' |
nattrs | {'src': None} |
nv | 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
tag | u'img' |
v | 5 |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/context.py
in getFile
def getFile(self, name, relative=None):
"""
Returns a file name or None
"""
if self.pathCallback is not None:
return getFile(self._getFileDeprecated(name, relative))
return getFile(name, relative or self.pathDirectory)...
def getFontName(self, names, default="helvetica"):
"""
Name of a font
"""
# print names, self.fontList
Variable | Value |
---|---|
name | 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
relative | None |
self | <xhtml2pdf.context.pisaContext object at 0x7f01073adc50> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/util.py
in getFile
" Guess the mime type "
mimetype = mimetypes.guess_type(name)[0]
if mimetype is not None:
self.mimetype = mimetypes.guess_type(name)[0].split(";")[0]
def getFile(*a, **kw):
file = pisaFileObject(*a, **kw)...
if file.notFound():
return None
return file
COLOR_BY_NAME = {
Variable | Value |
---|---|
a | ('http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg', '/home/concept/.virtualenvs/concept/concept.kg') |
kw | {} |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/util.py
in __init__
import StringIO
self.file = gzip.GzipFile(mode="rb", fileobj=StringIO.StringIO(r1.read()))
else:
self.file = r1
else:
try:
urlResponse = urllib2.urlopen(uri)...
except urllib2.HTTPError:
return
self.mimetype = urlResponse.info().get("Content-Type", '').split(";")[0]
self.uri = urlResponse.geturl()
self.file = urlResponse
Variable | Value |
---|---|
basepath | '/home/concept/.virtualenvs/concept/concept.kg' |
conn | <httplib.HTTPConnection instance at 0x7f01060bb098> |
path | '/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
r1 | <httplib.HTTPResponse instance at 0x7f01060bb3f8> |
self | <xhtml2pdf.util.pisaFileObject instance at 0x7f01060bbdd0> |
server | 'namesuniversity.com' |
uri | 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
urlParts | ParseResult(scheme='http', netloc='namesuniversity.com', path='/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg', params='', query='', fragment='') |
/usr/lib/python2.7/urllib2.py
in urlopen
__version__ = sys.version[:3]
_opener = None
def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
global _opener
if _opener is None:
_opener = build_opener()
return _opener.open(url, data, timeout)...
def install_opener(opener):
global _opener
_opener = opener
# do these error classes make sense?
Variable | Value |
---|---|
data | None |
timeout | <object object at 0x7f0117112140> |
url | 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
/usr/lib/python2.7/urllib2.py
in open
response = self._open(req, data)
# post-process response
meth_name = protocol+"_response"
for processor in self.process_response.get(protocol, []):
meth = getattr(processor, meth_name)
response = meth(req, response)...
return response
def _open(self, req, data=None):
result = self._call_chain(self.handle_open, 'default',
'default_open', req)
Variable | Value |
---|---|
data | None |
fullurl | 'http://namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
meth | <bound method HTTPErrorProcessor.http_response of <urllib2.HTTPErrorProcessor instance at 0x7f0107949248>> |
meth_name | 'http_response' |
processor | <urllib2.HTTPErrorProcessor instance at 0x7f0107949248> |
protocol | 'http' |
req | <urllib2.Request instance at 0x7f01077225f0> |
response | <addinfourl at 139642396616680 whose fp = None> |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
timeout | <object object at 0x7f0117112140> |
/usr/lib/python2.7/urllib2.py
in http_response
def http_response(self, request, response):
code, msg, hdrs = response.code, response.msg, response.info()
# According to RFC 2616, "2xx" code indicates that the client's
# request was successfully received, understood, and accepted.
if not (200 <= code < 300):
response = self.parent.error(
'http', request, response, code, msg, hdrs)...
return response
https_response = http_response
class HTTPDefaultErrorHandler(BaseHandler):
Variable | Value |
---|---|
code | 301 |
hdrs | <httplib.HTTPMessage instance at 0x7f0107722320> |
msg | 'Moved Permanently' |
request | <urllib2.Request instance at 0x7f01077225f0> |
response | <addinfourl at 139642396616680 whose fp = None> |
self | <urllib2.HTTPErrorProcessor instance at 0x7f0107949248> |
/usr/lib/python2.7/urllib2.py
in error
http_err = 1
orig_args = args
else:
dict = self.handle_error
meth_name = proto + '_error'
http_err = 0
args = (dict, proto, meth_name) + args
result = self._call_chain(*args)...
if result:
return result
if http_err:
args = (dict, 'default', 'http_error_default') + orig_args
return self._call_chain(*args)
Variable | Value |
---|---|
args | ({301: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f0107949f80>]}, 301, 'http_error_301', <urllib2.Request instance at 0x7f01077225f0>, <addinfourl at 139642396616680 whose fp = None>, 301, 'Moved Permanently', <httplib.HTTPMessage instance at 0x7f0107722320>) |
dict | {301: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f0107949f80>]} |
http_err | 1 |
meth_name | 'http_error_301' |
orig_args | (<urllib2.Request instance at 0x7f01077225f0>, <addinfourl at 139642396616680 whose fp = None>, 301, 'Moved Permanently', <httplib.HTTPMessage instance at 0x7f0107722320>) |
proto | 301 |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
/usr/lib/python2.7/urllib2.py
in _call_chain
# Handlers raise an exception if no one else should try to handle
# the request, or return None if they can't but another handler
# could. Otherwise, they return the response.
handlers = chain.get(kind, ())
for handler in handlers:
func = getattr(handler, meth_name)
result = func(*args)...
if result is not None:
return result
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
# accept a URL or a Request object
if isinstance(fullurl, basestring):
Variable | Value |
---|---|
args | (<urllib2.Request instance at 0x7f01077225f0>, <addinfourl at 139642396616680 whose fp = None>, 301, 'Moved Permanently', <httplib.HTTPMessage instance at 0x7f0107722320>) |
chain | {301: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f0107949f80>]} |
func | <bound method HTTPRedirectHandler.http_error_302 of <urllib2.HTTPRedirectHandler instance at 0x7f0107949128>> |
handler | <urllib2.HTTPRedirectHandler instance at 0x7f0107949128> |
handlers | [<urllib2.HTTPRedirectHandler instance at 0x7f0107949128>] |
kind | 301 |
meth_name | 'http_error_301' |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
/usr/lib/python2.7/urllib2.py
in http_error_302
visited[newurl] = visited.get(newurl, 0) + 1
# Don't close the fp until we are sure that we won't use it
# with HTTPError.
fp.read()
fp.close()
return self.parent.open(new, timeout=req.timeout)...
http_error_301 = http_error_303 = http_error_307 = http_error_302
inf_msg = "The HTTP server returned a redirect error that would " \
"lead to an infinite loop.\n" \
"The last 30x error message was:\n"
Variable | Value |
---|---|
code | 301 |
fp | <addinfourl at 139642396616680 whose fp = None> |
headers | <httplib.HTTPMessage instance at 0x7f0107722320> |
msg | 'Moved Permanently' |
new | <urllib2.Request instance at 0x7f0105f257a0> |
newurl | 'http://www.namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg' |
newurl_lower | 'http://www.namesuniversity.com/wp-content/uploads/2015/10/alabama-university-at-birmingham.jpg' |
req | <urllib2.Request instance at 0x7f01077225f0> |
self | <urllib2.HTTPRedirectHandler instance at 0x7f0107949128> |
urlparts | ParseResult(scheme='http', netloc='www.namesuniversity.com', path='/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg', params='', query='', fragment='') |
visited | {'http://www.namesuniversity.com/wp-content/uploads/2015/10/Alabama-University-at-Birmingham.jpg': 1} |
/usr/lib/python2.7/urllib2.py
in open
# pre-process request
meth_name = protocol+"_request"
for processor in self.process_request.get(protocol, []):
meth = getattr(processor, meth_name)
req = meth(req)
response = self._open(req, data)...
# post-process response
meth_name = protocol+"_response"
for processor in self.process_response.get(protocol, []):
meth = getattr(processor, meth_name)
response = meth(req, response)
Variable | Value |
---|---|
data | None |
fullurl | <urllib2.Request instance at 0x7f0105f257a0> |
meth | <bound method HTTPHandler.do_request_ of <urllib2.HTTPHandler instance at 0x7f01079490e0>> |
meth_name | 'http_request' |
processor | <urllib2.HTTPHandler instance at 0x7f01079490e0> |
protocol | 'http' |
req | <urllib2.Request instance at 0x7f0105f257a0> |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
timeout | <object object at 0x7f0117112140> |
/usr/lib/python2.7/urllib2.py
in _open
result = self._call_chain(self.handle_open, 'default',
'default_open', req)
if result:
return result
protocol = req.get_type()
result = self._call_chain(self.handle_open, protocol, protocol +
'_open', req)...
if result:
return result
return self._call_chain(self.handle_open, 'unknown',
'unknown_open', req)
Variable | Value |
---|---|
data | None |
protocol | 'http' |
req | <urllib2.Request instance at 0x7f0105f257a0> |
result | None |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
/usr/lib/python2.7/urllib2.py
in _call_chain
# Handlers raise an exception if no one else should try to handle
# the request, or return None if they can't but another handler
# could. Otherwise, they return the response.
handlers = chain.get(kind, ())
for handler in handlers:
func = getattr(handler, meth_name)
result = func(*args)...
if result is not None:
return result
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
# accept a URL or a Request object
if isinstance(fullurl, basestring):
Variable | Value |
---|---|
args | (<urllib2.Request instance at 0x7f0105f257a0>,) |
chain | {'file': [<urllib2.FileHandler instance at 0x7f0107949cb0>], 'ftp': [<urllib2.FTPHandler instance at 0x7f0107949320>], 'http': [<urllib2.HTTPHandler instance at 0x7f01079490e0>], 'https': [<urllib2.HTTPSHandler instance at 0x7f01079492d8>], 'unknown': [<urllib2.UnknownHandler instance at 0x7f0107949758>]} |
func | <bound method HTTPHandler.http_open of <urllib2.HTTPHandler instance at 0x7f01079490e0>> |
handler | <urllib2.HTTPHandler instance at 0x7f01079490e0> |
handlers | [<urllib2.HTTPHandler instance at 0x7f01079490e0>] |
kind | 'http' |
meth_name | 'http_open' |
self | <urllib2.OpenerDirector instance at 0x7f0106c4fd40> |
/usr/lib/python2.7/urllib2.py
in http_open
resp.msg = r.reason
return resp
class HTTPHandler(AbstractHTTPHandler):
def http_open(self, req):
return self.do_open(httplib.HTTPConnection, req)...
http_request = AbstractHTTPHandler.do_request_
if hasattr(httplib, 'HTTPS'):
class HTTPSHandler(AbstractHTTPHandler):
Variable | Value |
---|---|
req | <urllib2.Request instance at 0x7f0105f257a0> |
self | <urllib2.HTTPHandler instance at 0x7f01079490e0> |
/usr/lib/python2.7/urllib2.py
in do_open
try:
h.request(req.get_method(), req.get_selector(), req.data, headers)
except socket.error, err: # XXX what error?
h.close()
raise URLError(err)
else:
try:
r = h.getresponse(buffering=True)...
except TypeError: # buffering kw not supported
r = h.getresponse()
# Pick apart the HTTPResponse object to get the addinfourl
# object initialized properly.
Variable | Value |
---|---|
h | <httplib.HTTPConnection instance at 0x7f0107722f38> |
headers | {'Connection': 'close', 'Host': 'www.namesuniversity.com', 'User-Agent': 'Python-urllib/2.7'} |
host | 'www.namesuniversity.com' |
http_class | <class httplib.HTTPConnection at 0x7f0112a3bdb8> |
req | <urllib2.Request instance at 0x7f0105f257a0> |
self | <urllib2.HTTPHandler instance at 0x7f01079490e0> |
/usr/lib/python2.7/httplib.py
in getresponse
args += (self.debuglevel,)
if buffering:
#only add this keyword if non-default, for compatibility with
#other response_classes.
kwds["buffering"] = True;
response = self.response_class(*args, **kwds)
response.begin()...
assert response.will_close != _UNKNOWN
self.__state = _CS_IDLE
if response.will_close:
# this effectively passes the connection to the response
self.close()
Variable | Value |
---|---|
args | (<socket._socketobject object at 0x7f0105b0f670>,) |
buffering | True |
kwds | {'buffering': True, 'method': 'GET', 'strict': 0} |
response | <httplib.HTTPResponse instance at 0x7f0107f8e5f0> |
self | <httplib.HTTPConnection instance at 0x7f0107722f38> |
/usr/lib/python2.7/httplib.py
in begin
def begin(self):
if self.msg is not None:
# we've already started reading the response
return
# read until we get a non-100 response
while True:
version, status, reason = self._read_status()...
if status != CONTINUE:
break
# skip the header from the 100 response
while True:
skip = self.fp.readline(_MAXLINE + 1)
if len(skip) > _MAXLINE:
Variable | Value |
---|---|
self | <httplib.HTTPResponse instance at 0x7f0107f8e5f0> |
/usr/lib/python2.7/httplib.py
in _read_status
if len(line) > _MAXLINE:
raise LineTooLong("header line")
if self.debuglevel > 0:
print "reply:", repr(line)
if not line:
# Presumably, the server closed the connection before
# sending a valid response.
raise BadStatusLine(line)...
try:
[version, status, reason] = line.split(None, 2)
except ValueError:
try:
[version, status] = line.split(None, 1)
reason = ""
Variable | Value |
---|---|
line | '' |
self | <httplib.HTTPResponse instance at 0x7f0107f8e5f0> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'concept.kg' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/kg/tours/education/to_pdf/38/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.234.146.26' |
REMOTE_PORT | '41812' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/kg/tours/education/to_pdf/38/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'concept.kg' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_SCHEME | 'https' |
uwsgi.node | 'concept.kg' |
uwsgi.version | '2.0.10' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f010fb75f60> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f0106bceb40> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
project.settings.settings_local
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_AUTHENTICATION_METHOD | 'email' |
ACCOUNT_USER_MODEL_USERNAME_FIELD | None |
ADMINS | [] |
ALLOWED_HOSTS | ['.concept.kg'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'profiles.KCUser' |
BASE_DIR | '/home/concept/.virtualenvs/concept/concept.kg/project' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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 | u'java -jar compiler.jar' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
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 0x7f010ff49848> |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/assets' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSE_ID | '010469371847685056235:cltontutc_a' |
CSE_KEY | u'********************' |
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 | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'concept', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
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 | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | 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 | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DEMIR_BANK_CLIENT_ID | '170000005' |
DEMIR_BANK_CLIENT_MODEL_NAME | 'Client' |
DEMIR_BANK_CLIENT_MODEL_PATH | 'client.models' |
DEMIR_BANK_CLIENT_MODEL_SEARCH_FIELD | 'phone_number' |
DEMIR_BANK_CLIENT_MODEL_UPDATE_BALANCE_METHOD_NAME | 'update_balance_demirbank' |
DEMIR_BANK_CURRENCY_CODE | 417 |
DEMIR_BANK_FAIL_URL | 'http://concept.kg/ru/payment/pay_fail/' |
DEMIR_BANK_INSTALMENT | '' |
DEMIR_BANK_LANG | 'ru' |
DEMIR_BANK_OK_URL | 'http://concept.kg/ru/payment/pay_success/' |
DEMIR_BANK_PAY_ACTION_URL | 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate' |
DEMIR_BANK_STORE_KEY | u'********************' |
DEMIR_BANK_STORE_TYPE | '3d_Pay_Hosting' |
DEMIR_BANK_TRANSACTION_TYPE | 'Auth' |
DEV | False |
DISALLOWED_USER_AGENTS | [] |
DJANGO_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites') |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'kcsite@concept.kg' |
EMAIL_PORT | 465 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | True |
EMAIL_USE_TLS | False |
EXTRA_LANG_INFO | {'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430'}} |
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 | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('modeltranslation', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites', 'apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management', 'redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
INTERNAL_IPS | [] |
LANGUAGES | (('ru', 'Russian'), ('en', 'English'), ('kg', 'Kyrgyz')) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'ru' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LANG_INFO | {u'af': {u'bidi': False, u'code': u'af', u'name': u'Afrikaans', u'name_local': u'Afrikaans'}, u'ar': {u'bidi': True, u'code': u'ar', u'name': u'Arabic', u'name_local': u'\u0627\u0644\u0639\u0631\u0628\u064a\u0651\u0629'}, u'ast': {u'bidi': False, u'code': u'ast', u'name': u'Asturian', u'name_local': u'asturianu'}, u'az': {u'bidi': True, u'code': u'az', u'name': u'Azerbaijani', u'name_local': u'Az\u0259rbaycanca'}, u'be': {u'bidi': False, u'code': u'be', u'name': u'Belarusian', u'name_local': u'\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f'}, u'bg': {u'bidi': False, u'code': u'bg', u'name': u'Bulgarian', u'name_local': u'\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438'}, u'bn': {u'bidi': False, u'code': u'bn', u'name': u'Bengali', u'name_local': u'\u09ac\u09be\u0982\u09b2\u09be'}, u'br': {u'bidi': False, u'code': u'br', u'name': u'Breton', u'name_local': u'brezhoneg'}, u'bs': {u'bidi': False, u'code': u'bs', u'name': u'Bosnian', u'name_local': u'bosanski'}, u'ca': {u'bidi': False, u'code': u'ca', u'name': u'Catalan', u'name_local': u'catal\xe0'}, u'cs': {u'bidi': False, u'code': u'cs', u'name': u'Czech', u'name_local': u'\u010desky'}, u'cy': {u'bidi': False, u'code': u'cy', u'name': u'Welsh', u'name_local': u'Cymraeg'}, u'da': {u'bidi': False, u'code': u'da', u'name': u'Danish', u'name_local': u'dansk'}, u'de': {u'bidi': False, u'code': u'de', u'name': u'German', u'name_local': u'Deutsch'}, u'dsb': {u'bidi': False, u'code': u'dsb', u'name': u'Lower Sorbian', u'name_local': u'dolnoserbski'}, u'el': {u'bidi': False, u'code': u'el', u'name': u'Greek', u'name_local': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'}, u'en': {u'bidi': False, u'code': u'en', u'name': u'English', u'name_local': u'English', u'name_translated': u'\u0410\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439'}, u'en-au': {u'bidi': False, u'code': u'en-au', u'name': u'Australian English', u'name_local': u'Australian English'}, u'en-gb': {u'bidi': False, u'code': u'en-gb', u'name': u'British English', u'name_local': u'British English'}, u'eo': {u'bidi': False, u'code': u'eo', u'name': u'Esperanto', u'name_local': u'Esperanto'}, u'es': {u'bidi': False, u'code': u'es', u'name': u'Spanish', u'name_local': u'espa\xf1ol'}, u'es-ar': {u'bidi': False, u'code': u'es-ar', u'name': u'Argentinian Spanish', u'name_local': u'espa\xf1ol de Argentina'}, u'es-co': {u'bidi': False, u'code': u'es-co', u'name': u'Colombian Spanish', u'name_local': u'espa\xf1ol de Colombia'}, u'es-mx': {u'bidi': False, u'code': u'es-mx', u'name': u'Mexican Spanish', u'name_local': u'espa\xf1ol de Mexico'}, u'es-ni': {u'bidi': False, u'code': u'es-ni', u'name': u'Nicaraguan Spanish', u'name_local': u'espa\xf1ol de Nicaragua'}, u'es-ve': {u'bidi': False, u'code': u'es-ve', u'name': u'Venezuelan Spanish', u'name_local': u'espa\xf1ol de Venezuela'}, u'et': {u'bidi': False, u'code': u'et', u'name': u'Estonian', u'name_local': u'eesti'}, u'eu': {u'bidi': False, u'code': u'eu', u'name': u'Basque', u'name_local': u'Basque'}, u'fa': {u'bidi': True, u'code': u'fa', u'name': u'Persian', u'name_local': u'\u0641\u0627\u0631\u0633\u06cc'}, u'fi': {u'bidi': False, u'code': u'fi', u'name': u'Finnish', u'name_local': u'suomi'}, u'fr': {u'bidi': False, u'code': u'fr', u'name': u'French', u'name_local': u'fran\xe7ais'}, u'fy': {u'bidi': False, u'code': u'fy', u'name': u'Frisian', u'name_local': u'frysk'}, u'ga': {u'bidi': False, u'code': u'ga', u'name': u'Irish', u'name_local': u'Gaeilge'}, u'gd': {u'bidi': False, u'code': u'gd', u'name': u'Scottish Gaelic', u'name_local': u'G\xe0idhlig'}, u'gl': {u'bidi': False, u'code': u'gl', u'name': u'Galician', u'name_local': u'galego'}, u'he': {u'bidi': True, u'code': u'he', u'name': u'Hebrew', u'name_local': u'\u05e2\u05d1\u05e8\u05d9\u05ea'}, u'hi': {u'bidi': False, u'code': u'hi', u'name': u'Hindi', u'name_local': u'Hindi'}, u'hr': {u'bidi': False, u'code': u'hr', u'name': u'Croatian', u'name_local': u'Hrvatski'}, u'hsb': {u'bidi': False, u'code': u'hsb', u'name': u'Upper Sorbian', u'name_local': u'hornjoserbsce'}, u'hu': {u'bidi': False, u'code': u'hu', u'name': u'Hungarian', u'name_local': u'Magyar'}, u'ia': {u'bidi': False, u'code': u'ia', u'name': u'Interlingua', u'name_local': u'Interlingua'}, u'id': {u'bidi': False, u'code': u'id', u'name': u'Indonesian', u'name_local': u'Bahasa Indonesia'}, u'io': {u'bidi': False, u'code': u'io', u'name': u'Ido', u'name_local': u'ido'}, u'is': {u'bidi': False, u'code': u'is', u'name': u'Icelandic', u'name_local': u'\xcdslenska'}, u'it': {u'bidi': False, u'code': u'it', u'name': u'Italian', u'name_local': u'italiano'}, u'ja': {u'bidi': False, u'code': u'ja', u'name': u'Japanese', u'name_local': u'\u65e5\u672c\u8a9e'}, u'ka': {u'bidi': False, u'code': u'ka', u'name': u'Georgian', u'name_local': u'\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8'}, 'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430'}, u'kk': {u'bidi': False, u'code': u'kk', u'name': u'Kazakh', u'name_local': u'\u049a\u0430\u0437\u0430\u049b'}, u'km': {u'bidi': False, u'code': u'km', u'name': u'Khmer', u'name_local': u'Khmer'}, u'kn': {u'bidi': False, u'code': u'kn', u'name': u'Kannada', u'name_local': u'Kannada'}, u'ko': {u'bidi': False, u'code': u'ko', u'name': u'Korean', u'name_local': u'\ud55c\uad6d\uc5b4'}, u'lb': {u'bidi': False, u'code': u'lb', u'name': u'Luxembourgish', u'name_local': u'L\xebtzebuergesch'}, u'lt': {u'bidi': False, u'code': u'lt', u'name': u'Lithuanian', u'name_local': u'Lietuvi\u0161kai'}, u'lv': {u'bidi': False, u'code': u'lv', u'name': u'Latvian', u'name_local': u'latvie\u0161u'}, u'mk': {u'bidi': False, u'code': u'mk', u'name': u'Macedonian', u'name_local': u'\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438'}, u'ml': {u'bidi': False, u'code': u'ml', u'name': u'Malayalam', u'name_local': u'Malayalam'}, u'mn': {u'bidi': False, u'code': u'mn', u'name': u'Mongolian', u'name_local': u'Mongolian'}, u'mr': {u'bidi': False, u'code': u'mr', u'name': u'Marathi', u'name_local': u'\u092e\u0930\u093e\u0920\u0940'}, u'my': {u'bidi': False, u'code': u'my', u'name': u'Burmese', u'name_local': u'\u1019\u103c\u1014\u103a\u1019\u102c\u1018\u102c\u101e\u102c'}, u'nb': {u'bidi': False, u'code': u'nb', u'name': u'Norwegian Bokmal', u'name_local': u'norsk (bokm\xe5l)'}, u'ne': {u'bidi': False, u'code': u'ne', u'name': u'Nepali', u'name_local': u'\u0928\u0947\u092a\u093e\u0932\u0940'}, u'nl': {u'bidi': False, u'code': u'nl', u'name': u'Dutch', u'name_local': u'Nederlands'}, u'nn': {u'bidi': False, u'code': u'nn', u'name': u'Norwegian Nynorsk', u'name_local': u'norsk (nynorsk)'}, u'no': {u'bidi': False, u'code': u'no', u'name': u'Norwegian', u'name_local': u'norsk'}, u'os': {u'bidi': False, u'code': u'os', u'name': u'Ossetic', u'name_local': u'\u0418\u0440\u043e\u043d'}, u'pa': {u'bidi': False, u'code': u'pa', u'name': u'Punjabi', u'name_local': u'Punjabi'}, u'pl': {u'bidi': False, u'code': u'pl', u'name': u'Polish', u'name_local': u'polski'}, u'pt': {u'bidi': False, u'code': u'pt', u'name': u'Portuguese', u'name_local': u'Portugu\xeas'}, u'pt-br': {u'bidi': False, u'code': u'pt-br', u'name': u'Brazilian Portuguese', u'name_local': u'Portugu\xeas Brasileiro'}, u'ro': {u'bidi': False, u'code': u'ro', u'name': u'Romanian', u'name_local': u'Rom\xe2n\u0103'}, u'ru': {u'bidi': False, u'code': u'ru', u'name': u'Russian', u'name_local': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439', u'name_translated': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439'}, u'sk': {u'bidi': False, u'code': u'sk', u'name': u'Slovak', u'name_local': u'Slovensky'}, u'sl': {u'bidi': False, u'code': u'sl', u'name': u'Slovenian', u'name_local': u'Sloven\u0161\u010dina'}, u'sq': {u'bidi': False, u'code': u'sq', u'name': u'Albanian', u'name_local': u'shqip'}, u'sr': {u'bidi': False, u'code': u'sr', u'name': u'Serbian', u'name_local': u'\u0441\u0440\u043f\u0441\u043a\u0438'}, u'sr-latn': {u'bidi': False, u'code': u'sr-latn', u'name': u'Serbian Latin', u'name_local': u'srpski (latinica)'}, u'sv': {u'bidi': False, u'code': u'sv', u'name': u'Swedish', u'name_local': u'svenska'}, u'sw': {u'bidi': False, u'code': u'sw', u'name': u'Swahili', u'name_local': u'Kiswahili'}, u'ta': {u'bidi': False, u'code': u'ta', u'name': u'Tamil', u'name_local': u'\u0ba4\u0bae\u0bbf\u0bb4\u0bcd'}, u'te': {u'bidi': False, u'code': u'te', u'name': u'Telugu', u'name_local': u'\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41'}, u'th': {u'bidi': False, u'code': u'th', u'name': u'Thai', u'name_local': u'\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22'}, u'tr': {u'bidi': False, u'code': u'tr', u'name': u'Turkish', u'name_local': u'T\xfcrk\xe7e'}, u'tt': {u'bidi': False, u'code': u'tt', u'name': u'Tatar', u'name_local': u'\u0422\u0430\u0442\u0430\u0440\u0447\u0430'}, u'udm': {u'bidi': False, u'code': u'udm', u'name': u'Udmurt', u'name_local': u'\u0423\u0434\u043c\u0443\u0440\u0442'}, u'uk': {u'bidi': False, u'code': u'uk', u'name': u'Ukrainian', u'name_local': u'\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430'}, u'ur': {u'bidi': True, u'code': u'ur', u'name': u'Urdu', u'name_local': u'\u0627\u0631\u062f\u0648'}, u'vi': {u'bidi': False, u'code': u'vi', u'name': u'Vietnamese', u'name_local': u'Ti\xea\u0301ng Vi\xea\u0323t'}, u'zh-cn': {u'fallback': [u'zh-hans']}, u'zh-hans': {u'bidi': False, u'code': u'zh-hans', u'name': u'Simplified Chinese', u'name_local': u'\u7b80\u4f53\u4e2d\u6587'}, u'zh-hant': {u'bidi': False, u'code': u'zh-hant', u'name': u'Traditional Chinese', u'name_local': u'\u7e41\u9ad4\u4e2d\u6587'}, u'zh-hk': {u'fallback': [u'zh-hant']}, u'zh-mo': {u'fallback': [u'zh-hant']}, u'zh-my': {u'fallback': [u'zh-hans']}, u'zh-sg': {u'fallback': [u'zh-hans']}, u'zh-tw': {u'fallback': [u'zh-hant']}} |
LOCALE_PATHS | ('/home/concept/.virtualenvs/concept/concept.kg/project/locale',) |
LOCAL_APPS | ('apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management') |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'formatters': {'main_formatter': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(levelname)s|%(name)s: %(message)s (%(asctime)s; %(filename)s:%(lineno)d)'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG'}, 'debug_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main_debug.log', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG', 'maxBytes': 5242880}, 'null': {'class': 'logging.NullHandler'}, 'production_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main.log', 'filters': ['require_debug_false'], 'formatter': 'main_formatter', 'level': 'INFO', 'maxBytes': 5242880}}, 'loggers': {'': {'handlers': ['console', 'production_file', 'debug_file'], 'level': 'DEBUG'}, 'django': {'handlers': ['null']}, 'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': True}, 'py.warnings': {'handlers': ['null']}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | Error in formatting: NoReverseMatch: Reverse for 'django.contrib.auth.views.login' not found. 'django.contrib.auth.views.login' is not a valid view function or pattern name. |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'solid_i18n.middleware.SolidLocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.middleware.cache.UpdateCacheMiddleware') |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'ru' |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
REDACTOR_OPTIONS | {'imagePosition': True, 'imageResizable': True, 'lang': 'en', 'plugins': ['source', 'alignment', 'table', 'video', 'fullscreen', 'fontcolor', 'fontsize']} |
ROOT_URLCONF | 'project.urls' |
ROSETTA_STORAGE_CLASS | 'rosetta.storage.SessionRosettaStorage' |
ROSETTA_UWSGI_AUTO_RELOAD | True |
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 | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
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 | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
SETTINGS_MODULE | 'project.settings.settings_local' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SITE_NAME | 'project' |
SITE_ROOT | '/home/concept/.virtualenvs/concept/concept.kg' |
SOLID_I18N_DEFAULT_PREFIX_REDIRECT | True |
SOLID_I18N_USE_REDIRECTS | False |
STATICFILES_DIRS | ('/home/concept/.virtualenvs/concept/concept.kg/staticfiles',) |
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 | '/home/concept/.virtualenvs/concept/concept.kg/assets' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/concept/.virtualenvs/concept/concept.kg/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'apps.base.context_processors.ip_address_processor'], 'loaders': ['admin_tools.template_loaders.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEMPLATE_DEBUG | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THIRD_PARTY_APPS | ('redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Asia/Bishkek' |
UNISENDER_API_KEY | u'********************' |
UNISENDER_LIST_ID | 5363938 |
UNISENDER_LIST_ID_EN | 8755447 |
UNISENDER_LIST_ID_KG | 8755499 |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'project.wsgi.application' |
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.