[Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Request Method: | GET |
---|---|
Request URL: | https://concept.kg/en/tours/education/to_pdf/220/ |
Django Version: | 1.11.2 |
Exception Type: | SSLError |
Exception Value: | [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error |
Exception Location: | /usr/lib/python2.7/ssl.py in do_handshake, line 405 |
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: | Fri, 29 Mar 2024 11:18:31 +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 | SSLError(1, '_ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error') |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0>> |
request | <WSGIRequest: GET '/en/tours/education/to_pdf/220/'> |
/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 '/en/tours/education/to_pdf/220/'> |
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 0x7f010d4b4b18> |
callback_args | () |
callback_kwargs | {'pk': u'220'} |
e | SSLError(1, '_ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/en/tours/education/to_pdf/220/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=tour.views.education_to_pdf, args=(), kwargs={'pk': u'220'}, 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 0x7f010d4b4b18> |
/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 0x7f010d4b4b18> |
callback_args | () |
callback_kwargs | {'pk': u'220'} |
e | SSLError(1, '_ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/en/tours/education/to_pdf/220/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=tour.views.education_to_pdf, args=(), kwargs={'pk': u'220'}, 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 0x7f010d4b4b18> |
/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: <h2>Проживание.</h2> <p>Колледж Queen Ethelburga's College предоставляет одни из лучших в Европе условия для проживания школьников. Родители заслуженно сравнивают его с 5-звездочным отелем. В инфраструктуру кампусов за последние 10 лет вложено свыше 100 млн фунтов стерлингов. Все учащиеся размещаются в 5 пансионатах: 1 для девочек, 2 для мальчиков и 2 для смешанного проживания студентов Sixth Form.</p> <p><img src="https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg" alt="" class="content-img__right" style="margin: 0px 0px 0px 20px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; float: right; width: 240px; color: rgb(90, 90, 90); font-family: Arial, Helvetica, sans-serif;"></p> <p>Школьникиразмещаются по 2–4 человека в номерах, оборудованных телевизором, телефоном, игровыми приставками. В каждой комнате есть встроенный санузел. На общей территории располагаются:</p> <p><span style="font-size: 13px;">полностью оснащенные кухни с мощными посудомоечными, стиральными и сушильными машинами, гладильными досками и прессами;</span></p> <p><span style="font-size: 13px;">игровые зоны с компьютерами, приставками, бильярдными столами;</span></p> <p><span style="font-size: 13px;">комнаты отдыха с удобной кожаной мебелью и большими телевизорами.</span></p> <p>Студенты Sixth Form живут в комфортабельных комнатах по 2–3 человека. Для каждого из них оборудовано собственное рабочее место с большим письменным столом, принтером, сканером и копиром, стеклянными полками для учебников, магнитной доской. Все имущество можно легко разместить в эргономичных шкафах. Для ухода за одеждой есть гладильная доска с утюгом и прессом для брюк. Студенты получают полностью заправленную оргтехнику, а в дальнейшем пополняют расходные материалы самостоятельно.</p> <p>В каждом номере есть своя кухня, а также душевая с туалетом. Санузлы отделаны плиткой из травертина и оснащены полотенцесушителем, феном, телефоном. На кухнях имеются СВЧ-печи, посудомоечные и стиральные машины с сушкой, маленькие холодильники, чайники, тостеры, а также вся необходимая посуда и мебель.</p> <p>После напряженной учебы студенты отдыхают в общих комнатах с комфортабельными кожаными диванами, кофейными столиками, широкоформатными LED Smart TV, DVD и игровыми приставками. Система спутникового телевидения позволяет просматривать 200 каналов.</p> <p>Для поддержания комфортного микроклимата в комнатах установлены кондиционеры и вентиляторы. В пансионатах можно свободно подключиться к Wi-Fi, позвонить на городские и международные номера, воспользоваться голосовой почтой для общения с родными и друзьями.</p> <p>Особое внимание уделяется вопросам безопасности. Двери и входные ворота запираются на электронные замки. В окнах установлены двойные стеклопакеты. В ванных лежат противоскользящие коврики. Для хранения ценных вещей предусмотрены индивидуальные сейфы. Во всех помещениях находятся датчики дыма. Территория кампуса отлично освещается и находится под круглосуточным видеонаблюдением. Каждый триместр в колледже проводятся занятия по технике безопасности, чтобы все студенты знали алгоритм действий при наступлении чрезвычайной ситуации.</p> <h2>Питание. </h2> <p>Учащиеся живут в школе на полном пансионе. Дети 3 раза в день получают качественное сбалансированное питание. Столовая рассчитана на единовременное обслуживание 500 человек. Пищу готовят профессионалы высокого класса. Среди поваров работают специалисты из России или Азии, поэтому в меню периодически появляются блюда национальной кухни, например пельмени или блинчики. Для приготовления еды используются только свежие продукты. Многие их них выращены в этой местности: брокколи, цветная капуста, помидоры, редис, салат. Сотрудники колледжа подсчитали, что за год ученики съедают свыше 500 корзин клубники и башню бутербродов, по высоте сопоставимую с Йоркским собором (около 160 м).</p>>]> |
comments | <QuerySet []> |
photo | <EducationTourSliderPhoto: /media/tours/edu/slider/UK-wallpaper-19.jpg> |
pk | u'220' |
request | <WSGIRequest: GET '/en/tours/education/to_pdf/220/'> |
show_prices_terms | False |
template | 'tour/education_pdf.html' |
tour | <Education: Обучение в Великобритании - Queen Ethelburga's College> |
/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: <h2>Проживание.</h2> <p>Колледж Queen Ethelburga's College предоставляет одни из лучших в Европе условия для проживания школьников. Родители заслуженно сравнивают его с 5-звездочным отелем. В инфраструктуру кампусов за последние 10 лет вложено свыше 100 млн фунтов стерлингов. Все учащиеся размещаются в 5 пансионатах: 1 для девочек, 2 для мальчиков и 2 для смешанного проживания студентов Sixth Form.</p> <p><img src="https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg" alt="" class="content-img__right" style="margin: 0px 0px 0px 20px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; float: right; width: 240px; color: rgb(90, 90, 90); font-family: Arial, Helvetica, sans-serif;"></p> <p>Школьникиразмещаются по 2–4 человека в номерах, оборудованных телевизором, телефоном, игровыми приставками. В каждой комнате есть встроенный санузел. На общей территории располагаются:</p> <p><span style="font-size: 13px;">полностью оснащенные кухни с мощными посудомоечными, стиральными и сушильными машинами, гладильными досками и прессами;</span></p> <p><span style="font-size: 13px;">игровые зоны с компьютерами, приставками, бильярдными столами;</span></p> <p><span style="font-size: 13px;">комнаты отдыха с удобной кожаной мебелью и большими телевизорами.</span></p> <p>Студенты Sixth Form живут в комфортабельных комнатах по 2–3 человека. Для каждого из них оборудовано собственное рабочее место с большим письменным столом, принтером, сканером и копиром, стеклянными полками для учебников, магнитной доской. Все имущество можно легко разместить в эргономичных шкафах. Для ухода за одеждой есть гладильная доска с утюгом и прессом для брюк. Студенты получают полностью заправленную оргтехнику, а в дальнейшем пополняют расходные материалы самостоятельно.</p> <p>В каждом номере есть своя кухня, а также душевая с туалетом. Санузлы отделаны плиткой из травертина и оснащены полотенцесушителем, феном, телефоном. На кухнях имеются СВЧ-печи, посудомоечные и стиральные машины с сушкой, маленькие холодильники, чайники, тостеры, а также вся необходимая посуда и мебель.</p> <p>После напряженной учебы студенты отдыхают в общих комнатах с комфортабельными кожаными диванами, кофейными столиками, широкоформатными LED Smart TV, DVD и игровыми приставками. Система спутникового телевидения позволяет просматривать 200 каналов.</p> <p>Для поддержания комфортного микроклимата в комнатах установлены кондиционеры и вентиляторы. В пансионатах можно свободно подключиться к Wi-Fi, позвонить на городские и международные номера, воспользоваться голосовой почтой для общения с родными и друзьями.</p> <p>Особое внимание уделяется вопросам безопасности. Двери и входные ворота запираются на электронные замки. В окнах установлены двойные стеклопакеты. В ванных лежат противоскользящие коврики. Для хранения ценных вещей предусмотрены индивидуальные сейфы. Во всех помещениях находятся датчики дыма. Территория кампуса отлично освещается и находится под круглосуточным видеонаблюдением. Каждый триместр в колледже проводятся занятия по технике безопасности, чтобы все студенты знали алгоритм действий при наступлении чрезвычайной ситуации.</p> <h2>Питание. </h2> <p>Учащиеся живут в школе на полном пансионе. Дети 3 раза в день получают качественное сбалансированное питание. Столовая рассчитана на единовременное обслуживание 500 человек. Пищу готовят профессионалы высокого класса. Среди поваров работают специалисты из России или Азии, поэтому в меню периодически появляются блюда национальной кухни, например пельмени или блинчики. Для приготовления еды используются только свежие продукты. Многие их них выращены в этой местности: брокколи, цветная капуста, помидоры, редис, салат. Сотрудники колледжа подсчитали, что за год ученики съедают свыше 500 корзин клубники и башню бутербродов, по высоте сопоставимую с Йоркским собором (около 160 м).</p>>]>, 'comments': <QuerySet []>, 'logo': '/static/img/header-top/kyrgyz-conc... <trimmed 4385 bytes string> |
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>\u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0432 \u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u0438 - Queen Ethelburga's College</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/UK-wallpaper-19.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">\u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0432 \u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u0438 - Queen Ethelburga's College</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Direction:</span> \u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f</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>GCSE - 1 - 2 \u0433\u043e\u0434\u0430</p>\r\n<p>A-level - 1 - 2 \u0433\u043e\u0434\u0430</p>\r\n<p>Foundation - 1 \u0433\u043e\u0434</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">Price:</span> from 3976465 KGS ($57554)</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Organizing any complexity of tours to Issyk-Kul, Son-Kul, around Kyrgyzstan and Central Asia. We guarantee you high quality of service and individual approach!:</span></p>\n <div style="text-align: left"><p>\u041a\u043e\u043b\u043b\u0435\u0434\u0436 Queen Ethelburga \u0441\u043b\u0430\u0432\u0438\u0442\u0441\u044f \u0432\u044b\u0441\u043e\u0447\u0430\u0439\u0448\u0438\u043c\u0438 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430\u043c\u0438 \u0438 \u043e\u0431\u0448\u0438\u0440\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u04... <trimmed 53615 bytes string> |
result | <cStringIO.StringO object at 0x7f010619e6f8> |
template | <django.template.backends.django.Template object at 0x7f010709b350> |
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 0x7f010709b610> |
debug | 0 |
default_css | None |
dest | <cStringIO.StringO object at 0x7f010619e6f8> |
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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</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/UK-wallpaper-19.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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Direction:</span> \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8f</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>GCSE - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>A-level - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>Foundation - 1 \xd0\xb3\xd0\xbe\xd0\xb4</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">Price:</span> from 3976465 KGS ($57554)</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Organizing any complexity of tours to Issyk-Kul, Son-Kul, around Kyrgyzstan and Central Asia. We guarantee you high quality of service and individual approach!:</span></p>\n <div style="text-align: left"><p>\xd0\x9a\xd0\xbe\xd0\xbb\xd0\xbb\xd0\xb5\xd0\xb4\xd0\xb6 Queen Ethelburga \xd1\x81\xd0\xbb\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x81\xd1\x8f \xd0\xb2\xd1\x8b\xd1\x81\xd0\xbe\xd1\x87\xd0\xb0\xd0\xb9\xd1\x88\xd0\xb8\xd0\xbc\xd0\xb8 \xd0\xb... <trimmed 68542 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 0x7f010709b610> |
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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</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/UK-wallpaper-19.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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Direction:</span> \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8f</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>GCSE - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>A-level - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>Foundation - 1 \xd0\xb3\xd0\xbe\xd0\xb4</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">Price:</span> from 3976465 KGS ($57554)</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Organizing any complexity of tours to Issyk-Kul, Son-Kul, around Kyrgyzstan and Central Asia. We guarantee you high quality of service and individual approach!:</span></p>\n <div style="text-align: left"><p>\xd0\x9a\xd0\xbe\xd0\xbb\xd0\xbb\xd0\xb5\xd0\xb4\xd0\xb6 Queen Ethelburga \xd1\x81\xd0\xbb\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x81\xd1\x8f \xd0\xb2\xd1\x8b\xd1\x81\xd0\xbe\xd1\x87\xd0\xb0\xd0\xb9\xd1\x88\xd0\xb8\xd0\xbc\xd0\xb8 \xd0\xb... <trimmed 68542 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 0x7f010709b610> |
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 0x7f0106bf27a0> |
encoding | 'UTF-8' |
parser | <html5lib.html5parser.HTMLParser object at 0x7f0105b36c50> |
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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</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/UK-wallpaper-19.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\x9e\xd0\xb1\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd0\xb8 - Queen Ethelburga's College</h2>\n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Direction:</span> \xd0\x92\xd0\xb5\xd0\xbb\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8f</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>GCSE - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>A-level - 1 - 2 \xd0\xb3\xd0\xbe\xd0\xb4\xd0\xb0</p>\r\n<p>Foundation - 1 \xd0\xb3\xd0\xbe\xd0\xb4</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">Price:</span> from 3976465 KGS ($57554)</p>\n </div>\n </div>\n \n <div class="row">\n <div class="col-md-4 col-xs-12">\n <p><span class="bold">Organizing any complexity of tours to Issyk-Kul, Son-Kul, around Kyrgyzstan and Central Asia. We guarantee you high quality of service and individual approach!:</span></p>\n <div style="text-align: left"><p>\xd0\x9a\xd0\xbe\xd0\xbb\xd0\xbb\xd0\xb5\xd0\xb4\xd0\xb6 Queen Ethelburga \xd1\x81\xd0\xbb\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x81\xd1\x8f \xd0\xb2\xd1\x8b\xd1\x81\xd0\xbe\xd1\x87\xd0\xb0\xd0\xb9\xd1\x88\xd0\xb8\xd0\xbc\xd0\xb8 \xd0\xb... <trimmed 68542 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 0x7f010709b610> |
kw | {'margin-bottom': 0, 'margin-left': 0, 'margin-right': 0, 'margin-top': 0} |
node | <DOM Element: html at 0x7f010687f1b8> |
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 0x7f010709b610> |
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 0x7f010667f638> |
node | <DOM Element: html at 0x7f010687f1b8> |
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 0x7f010709b610> |
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 0x7f010dc22ef0> |
kw | {'margin-bottom': 0, 'margin-left': 0, 'margin-right': 0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f010667f4d0> |
node | <DOM Element: body at 0x7f010667f638> |
obj | <xhtml2pdf.tags.pisaTagBODY instance at 0x7f0105cbaea8> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: section at 0x7f0105a7add0> |
node | <DOM Element: div at 0x7f010667f4d0> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0105943248> |
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 0x7f010709b610> |
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 0x7f0105a7a638> |
node | <DOM Element: section at 0x7f0105a7add0> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f01069cc7a0> |
node | <DOM Element: div at 0x7f0105a7a638> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106ee79e0> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f0105ff7710> |
node | <DOM Element: div at 0x7f01069cc7a0> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106cf66c8> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f0106f63e60> |
node | <DOM Element: div at 0x7f0105ff7710> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f01059408c0> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f0105f9acb0> |
node | <DOM Element: div at 0x7f0106f63e60> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0105940680> |
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 0x7f010709b610> |
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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 0.0, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: ol at 0x7f0105f9a878> |
node | <DOM Element: div at 0x7f0105f9acb0> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f010c20f170> |
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 | {'id': None, 'type': '1'} |
context | <xhtml2pdf.context.pisaContext object at 0x7f010709b610> |
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.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=15.75, letterSpacing='normal', link=None, listStyleImage=None, listStyleType='decimal', 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.pisaTagOL at 0x7f010d9747a0> |
kw | {'margin-bottom': 0, 'margin-left': 15.75, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: li at 0x7f0105f9a1b8> |
node | <DOM Element: ol at 0x7f0105f9a878> |
obj | <xhtml2pdf.tags.pisaTagOL instance at 0x7f01060e41b8> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'ol'] |
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 | {'id': None} |
context | <xhtml2pdf.context.pisaContext object at 0x7f010709b610> |
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.0, bulletText=[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='open sans_00', bulletIndent=0.0, bulletText=None, firstLineIndent=0, fontName='open sans_00', fontSize=10.5, greek=0, height=None, insideStaticFrame=0, italic=0, keepWithNext=False, leading=15.75, leadingSource=u'150%', leadingSpace=0, leftIndent=15.75, letterSpacing='normal', link=None, listStyleImage=None, listStyleType='decimal', 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=u'1.', textColor=Color(0,0,0,1), underline=0, vAlign=None, whiteSpace='normal', width=u'100%', wordWrap=None, zoom=1.0)], 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=15.75, letterSpacing='normal', link=None, listStyleImage=None, listStyleType='decimal', 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.pisaTagLI at 0x7f010d974808> |
kw | {'margin-bottom': 0, 'margin-left': 15.75, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: div at 0x7f0105f9a2d8> |
node | <DOM Element: li at 0x7f0105f9a1b8> |
obj | <xhtml2pdf.tags.pisaTagLI instance at 0x7f01060e4b90> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'ol', u'li'] |
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 0x7f010709b610> |
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.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=15.75, letterSpacing='normal', link=None, listStyleImage=None, listStyleType='decimal', 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 0x7f010d974460> |
kw | {'margin-bottom': 0, 'margin-left': 15.75, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: p at 0x7f0106cde6c8> |
node | <DOM Element: div at 0x7f0105f9a2d8> |
obj | <xhtml2pdf.tags.pisaTagDIV instance at 0x7f0106e62830> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'ol', u'li', 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 0x7f010709b610> |
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=15.75, 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=15.75, letterSpacing='normal', link=None, listStyleImage=None, listStyleType='decimal', 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 0x7f010d9743f8> |
kw | {'margin-bottom': 0, 'margin-left': 15.75, 'margin-right': 0.0, 'margin-top': 0} |
nnode | <DOM Element: img at 0x7f0106cde908> |
node | <DOM Element: p at 0x7f0106cde6c8> |
obj | <xhtml2pdf.tags.pisaTagP instance at 0x7f0106d3b680> |
pageBreakAfter | False |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'ol', u'li', 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 0x7f010709b610> |
kw | {'margin-bottom': 0, 'margin-left': 15.75, 'margin-right': 0.0, 'margin-top': 0} |
node | <DOM Element: img at 0x7f0106cde908> |
path | [u'html', u'body', u'div', u'section', u'div', u'div', u'div', u'div', u'div', u'ol', u'li', 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 0x7f0106d3b758> |
attrs | {'alt': '', 'class': 'content-img__right', 'src': 'https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg', 'style': 'margin: 0px 0px 0px 20px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; float: right; width: 240px; color: rgb(90, 90, 90); font-family: Arial, Helvetica, sans-serif;'} |
block | 0 |
c | <xhtml2pdf.context.pisaContext object at 0x7f010709b610> |
dfl | 23 |
k | 'src' |
nattrs | {'src': None} |
nv | 'https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.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 | 'https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg' |
relative | None |
self | <xhtml2pdf.context.pisaContext object at 0x7f010709b610> |
/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 | ('https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg', '/home/concept/.virtualenvs/concept/concept.kg') |
kw | {} |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/xhtml2pdf/util.py
in __init__
# Using HTTPLIB
server, path = urllib.splithost(uri[uri.find("//"):])
if uri.startswith("https://"):
conn = httplib.HTTPSConnection(server)
else:
conn = httplib.HTTPConnection(server)
conn.request("GET", path)...
r1 = conn.getresponse()
# log.debug("HTTP %r %r %r %r", server, path, uri, r1)
if (r1.status, r1.reason) == (200, "OK"):
self.mimetype = r1.getheader("Content-Type", '').split(";")[0]
self.uri = uri
if r1.getheader("content-encoding") == "gzip":
Variable | Value |
---|---|
basepath | '/home/concept/.virtualenvs/concept/concept.kg' |
conn | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
path | '/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg' |
self | <xhtml2pdf.util.pisaFileObject instance at 0x7f0106d3b518> |
server | 'www.estudy.ru' |
uri | 'https://www.estudy.ru/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg' |
urlParts | ParseResult(scheme='https', netloc='www.estudy.ru', path='/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg', params='', query='', fragment='') |
/usr/lib/python2.7/httplib.py
in request
self.__state = _CS_REQ_SENT
else:
raise CannotSendHeader()
self._send_output(message_body)
def request(self, method, url, body=None, headers={}):
"""Send a complete request to the server."""
self._send_request(method, url, body, headers)...
def _set_content_length(self, body):
# Set the content-length based on the body.
thelen = None
try:
thelen = str(len(body))
Variable | Value |
---|---|
body | None |
headers | {} |
method | 'GET' |
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
url | '/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg' |
/usr/lib/python2.7/httplib.py
in _send_request
self.putrequest(method, url, **skips)
if body is not None and 'content-length' not in header_names:
self._set_content_length(body)
for hdr, value in headers.iteritems():
self.putheader(hdr, value)
self.endheaders(body)...
def getresponse(self, buffering=False):
"Get the response from the server."
# if a prior response has been completed, then forget about it.
if self.__response and self.__response.isclosed():
Variable | Value |
---|---|
body | None |
header_names | {} |
headers | {} |
method | 'GET' |
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
skips | {} |
url | '/upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg' |
/usr/lib/python2.7/httplib.py
in endheaders
the same packet as the message headers if it is string, otherwise it is
sent as a separate packet.
"""
if self.__state == _CS_REQ_STARTED:
self.__state = _CS_REQ_SENT
else:
raise CannotSendHeader()
self._send_output(message_body)...
def request(self, method, url, body=None, headers={}):
"""Send a complete request to the server."""
self._send_request(method, url, body, headers)
def _set_content_length(self, body):
Variable | Value |
---|---|
message_body | None |
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
/usr/lib/python2.7/httplib.py
in _send_output
del self._buffer[:]
# If msg and message_body are sent in a single send() call,
# it will avoid performance problems caused by the interaction
# between delayed ack and the Nagle algorithm.
if isinstance(message_body, str):
msg += message_body
message_body = None
self.send(msg)...
if message_body is not None:
#message_body was not a string (i.e. it is a file) and
#we must run the risk of Nagle
self.send(message_body)
def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
Variable | Value |
---|---|
message_body | None |
msg | 'GET /upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg HTTP/1.1\r\nHost: www.estudy.ru\r\nAccept-Encoding: identity\r\n\r\n' |
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
/usr/lib/python2.7/httplib.py
in send
self.__response = None
self.__state = _CS_IDLE
def send(self, data):
"""Send `data' to the server."""
if self.sock is None:
if self.auto_open:
self.connect()...
else:
raise NotConnected()
if self.debuglevel > 0:
print "send:", repr(data)
blocksize = 8192
Variable | Value |
---|---|
data | 'GET /upload/images/countries/england/secondary-education/schools/so-ed-schools/queen-ethelburgas-college_3.jpg HTTP/1.1\r\nHost: www.estudy.ru\r\nAccept-Encoding: identity\r\n\r\n' |
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
/usr/lib/python2.7/httplib.py
in connect
"Connect to a host on a given (SSL) port."
sock = socket.create_connection((self.host, self.port),
self.timeout, self.source_address)
if self._tunnel_host:
self.sock = sock
self._tunnel()
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)...
__all__.append("HTTPSConnection")
class HTTPS(HTTP):
"""Compatibility with 1.5 httplib interface
Variable | Value |
---|---|
self | <httplib.HTTPSConnection instance at 0x7f01059432d8> |
sock | <socket._socketobject object at 0x7f0105bed910> |
/usr/lib/python2.7/ssl.py
in wrap_socket
suppress_ragged_eofs=True, ciphers=None):
return SSLSocket(sock, keyfile=keyfile, certfile=certfile,
server_side=server_side, cert_reqs=cert_reqs,
ssl_version=ssl_version, ca_certs=ca_certs,
do_handshake_on_connect=do_handshake_on_connect,
suppress_ragged_eofs=suppress_ragged_eofs,
ciphers=ciphers)...
# some utility functions
def cert_time_to_seconds(cert_time):
Variable | Value |
---|---|
ca_certs | None |
cert_reqs | 0 |
certfile | None |
ciphers | None |
do_handshake_on_connect | True |
keyfile | None |
server_side | False |
sock | <socket._socketobject object at 0x7f0105bed910> |
ssl_version | 2 |
suppress_ragged_eofs | True |
/usr/lib/python2.7/ssl.py
in __init__
# yes, create the SSL object
self._connected = True
self._sslobj = _ssl.sslwrap(self._sock, server_side,
keyfile, certfile,
cert_reqs, ssl_version, ca_certs,
ciphers)
if do_handshake_on_connect:
self.do_handshake()...
self.keyfile = keyfile
self.certfile = certfile
self.cert_reqs = cert_reqs
self.ssl_version = ssl_version
self.ca_certs = ca_certs
self.ciphers = ciphers
Variable | Value |
---|---|
attr | 'sendto' |
ca_certs | None |
cert_reqs | 0 |
certfile | None |
ciphers | 'DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2' |
do_handshake_on_connect | True |
keyfile | None |
self | <ssl.SSLSocket object at 0x7f0106bd0140> |
server_side | False |
sock | <socket._socketobject object at 0x7f0105bed910> |
ssl_version | 2 |
suppress_ragged_eofs | True |
/usr/lib/python2.7/ssl.py
in do_handshake
else:
self._makefile_refs -= 1
def do_handshake(self):
"""Perform a TLS/SSL handshake."""
self._sslobj.do_handshake()...
def _real_connect(self, addr, return_errno):
# Here we assume that the socket is client-side, and not
# connected at the time of the call. We connect it, then wrap it.
if self._connected:
raise ValueError("attempt to connect already-connected SSLSocket!")
Variable | Value |
---|---|
self | <ssl.SSLSocket object at 0x7f0106bd0140> |
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'/en/tours/education/to_pdf/220/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.88.179.12' |
REMOTE_PORT | '48298' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/en/tours/education/to_pdf/220/' |
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 0x7f010672f3d8> |
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'Kyrgyz'}} |
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'English'}, 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'Kyrgyz'}, 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'Russian'}, 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.