'None' has no attribute 'seo'
Request Method: | GET |
---|---|
Request URL: | http://bestrah.com/blog/?page=9 |
Django Version: | 3.2.10 |
Exception Type: | UndefinedError |
Exception Value: | 'None' has no attribute 'seo' |
Exception Location: | /var/www/api/venv/desketo/lib/python3.8/site-packages/jinja2/environment.py, line 474, in getattr |
Python Executable: | /usr/bin/python3 |
Python Version: | 3.8.10 |
Python Path: | ['/var/www/api/dynamic_template', '/var/www/api/venv/desketo/lib/python3.8/site-packages', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] |
Server time: | Fri, 29 Mar 2024 07:41:32 +0000 |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(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 | UndefinedError("'None' has no attribute 'seo'") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f59686f1dc0>> |
request | <WSGIRequest: GET '/blog/?page=9'> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function Home at 0x7f59620c2940> |
callback_args | () |
callback_kwargs | {} |
request | <WSGIRequest: GET '/blog/?page=9'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f59686f1dc0> |
wrapped_callback | <function Home at 0x7f59620c2940> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/views/generic/base.py
, line 70, in view
self = cls(**initkwargs)
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
return self.dispatch(request, *args, **kwargs)…
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'dyn_temp_main_app.views.Home'> |
initkwargs | {} |
kwargs | {} |
request | <WSGIRequest: GET '/blog/?page=9'> |
self | <dyn_temp_main_app.views.Home object at 0x7f5961c6b190> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/views/generic/base.py
, line 98, in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)…
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method Home.get of <dyn_temp_main_app.views.Home object at 0x7f5961c6b190>> |
kwargs | {} |
request | <WSGIRequest: GET '/blog/?page=9'> |
self | <dyn_temp_main_app.views.Home object at 0x7f5961c6b190> |
/var/www/api/dynamic_template/dyn_temp_main_app/views.py
, line 3766, in get
'seo_services' : seo_services,
'seo_clinic_parts' : seo_clinic_parts,
'seo_clinic_adminssion' : seo_clinic_adminssion,
# 'response_admission' : response_admission,
# 'order_notsubmit_appointment':order_notsubmit_appointment,
}
return render(request, "dyn_temp_main_app/template-main.html", context)…
def normalize_products(self, all_products):
# Setting final price :
for prod in all_products:
prod['final_price'] = prod['price']
prod['default_image'] = "https://bitsofco.de/content/images/2018/12/broken-1.png"
Variable | Value |
---|---|
ShippingUtils | <class 'dyn_temp_main_app.helpers.shipping.shipping_utils.ShippingUtils'> |
_basket | <dyn_temp_main_app.Basket.Basket object at 0x7f5961c1a9d0> |
about_us | None |
actions | <dyn_temp_main_app.view_actions.ViewActions object at 0x7f5961de4460> |
active_dates | [] |
answer | None |
basket | [] |
basket_count | 0 |
basket_sum | 0 |
basket_sum_discount | 0 |
basket_sum_no_discount | 0 |
bing_webmaster | None |
blog | None |
blog_id | '' |
blogs | [] |
body_classes | '' |
body_tags | <Template 'blogs/index.html'> |
c | 0 |
clinic_active_dates | [] |
clinic_order_appointment | None |
clinic_part | None |
clinic_turn_time | [] |
clinic_turn_time_appointment | None |
code | None |
collection | None |
collection_blog_home | [] |
collection_blog_second_home | [] |
collection_blog_third_home | [] |
collection_eighth_home | [] |
collection_fifth_home | [] |
collection_fourth_home | [] |
collection_home | [] |
collection_ninth_home | [] |
collection_second_home | [] |
collection_seventh_home | [] |
collection_sixth_home | [] |
collection_tenth_home | [] |
collection_third_home | [] |
collections | [] |
contact_us | None |
context | {'Blog': None, 'Collection': None, 'Direction': 'rtl', 'Doctor': None, 'Doctors': [], 'Errors': [], 'Lang': 'fa', 'Messages': [], 'Others': {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می ' 'توانید درآمد غیرفعال کسب ' 'کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان ر… <trimmed 280999 bytes string> |
css_tags | <Template memory:7f5961c1a370> |
doctor | None |
doctor_clinic | None |
doctor_confirm | None |
doctor_reserve | None |
doctors | [] |
doctors_api | [] |
enable_shipping | None |
enamad_api | [{'key': 'ENamad#iframe', 'value': ''}, {'key': 'ENamad#verify', 'value': ''}] |
enamad_iframe | None |
enamad_verify | None |
entry | {'key': 'Seo_Service#bing_webmaster', 'value': ''} |
err | None |
errors | [] |
footer2_menu | None |
footer3_menu | None |
footer4_menu | None |
footer_menu | None |
google_analytics | None |
google_webmaster | None |
handled | None |
head_tags | <Template 'head_tags/head-tags.html'> |
head_tags_appointment | <Template 'head_tags/head_tags_appointment.html'> |
head_tags_blog | <Template 'head_tags/head_tags_blog.html'> |
head_tags_blogs | <Template 'head_tags/head_tags_blogs.html'> |
head_tags_clinic_admission | <Template memory:7f5961c1a460> |
head_tags_clinic_appointment | <Template memory:7f5961c1ae50> |
head_tags_clinic_part | <Template 'head_tags/head_tags_clinic_part.html'> |
head_tags_clinic_parts | <Template 'head_tags/head_tags_clinic_parts.html'> |
head_tags_collection | <Template 'head_tags/head_tags_collection.html'> |
head_tags_doctor | <Template memory:7f5961c6bb20> |
head_tags_doctors | <Template memory:7f5961c6b160> |
head_tags_mainpage | <Template 'head_tags/head_tags_mainpage.html'> |
head_tags_page | <Template 'head_tags/head_tags_page.html'> |
head_tags_product | <Template memory:7f5961b17100> |
head_tags_products | <Template memory:7f5961c6b250> |
head_tags_service | <Template memory:7f5961c6b2e0> |
head_tags_services | <Template memory:7f5961c6ba90> |
jinja_base_template | '/var/www/api/dynamic_template/dyn_temp_main_app/static/assets/dev74/versions' |
js_tags | <Template memory:7f5961c1a3a0> |
jsons | [['main_menu', None], ['footer_menu', None], ['footer2_menu', None], ['footer3_menu', None], ['footer4_menu', None], ['seo_home_page', {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None}], ['enamad_verify', ''], ['enamad_iframe', ''], ['google_analytics', ''], ['google_webmaster', ''], ['bing_webmaster', ''], ['doctors', []], ['payment_method', {'home_delivery': False, 'mellat': False, 'zarinpal': False}], ['owner_appointment', {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'}], ['collection_home', []], ['collection_second_home', []], ['collection_third_home', []], ['collection_fourth_home', []], ['collection_fifth_home', []], ['collection_sixth_home', []], ['collection_seventh_home', []], ['collection_eighth_home', []], ['collection_ninth_home', []], ['collection_tenth_home', []], ['collection_blog_home', []], ['collection_blog_second_home', []], ['collection_blog_third_home', []], ['shop', None], ['setting_appointment', []]] |
lst | {'count': 2, 'next': None, 'previous': None, 'results': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می توانید درآمد ' 'غیرفعال کسب کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان روشی آسان برای کسب درآمد ' 'یاد می شود، بیشتر جریان های درآمد غیرفعال، نتیجه ' 'سخت کار کردن هستند: ایجاد مخاطب، بهینه سازی ' 'تبلیغات پولی، و ارائه یک تجربه عالی و یک محصول ' 'برتر. با این حال، به‌عنوان کسی که صاحب یک ' 'کسب‌وکار است و یا می خواهد صاحب یک کسب و ' 'کار شود، از صرف زمان برای انجام همه این کارها ' 'نترسید و ممکن است قبلاً بخش هایی از این کار ها ' 'را بررسی کرده باشید.</p>\r\n' '<p><br>افزودن جریان‌های درآمد غیرفعال به ' 'زندگی‌تان می‌تواند آزادی، ' 'انعطاف‌پذیری و پول بیشتری به شما ' 'بدهد.</p>\r\n' '<p>امروز، 30 راه برای کسب درآمد غیرفعال را با ' 'مثال ها و نکات مختلف، بررسی کنید.</p>\r\n' '<p>فهرست مطالب (💰 روی آینده مالی خود سرمایه ' 'گذاری کنید)<br>• درآمد غیرفعال ' 'چیست؟<br>• 30 مورد از بهترین ایده های درآمد ' 'غیرفعال برای بدست آوردن ثروت<br>• در مسیر ' 'آزادی مالی<br>• سوالات متداول در مورد درآمد ' 'غیرفعال</p>\r\n' '<p>درآمد غیرفعال چیست؟<br>درآمد غیرفعال به درآمد ' 'فعالی گفته می… <trimmed 172914 bytes string> |
main_menu | None |
max_dev_env | 40 |
menu | [] |
menu_footer2_from_api | [] |
menu_footer3_from_api | [] |
menu_footer4_from_api | [] |
menu_footer_from_api | [] |
menu_from_api | [] |
messages | [] |
order_appointment | [] |
order_submit_appointment | [] |
others | {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می توانید درآمد ' 'غیرفعال کسب کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان روشی آسان برای کسب ' 'درآمد یاد می شود، بیشتر جریان های درآمد ' 'غیرفعال، نتیجه سخت کار کردن هستند: ایجاد ' 'مخاطب، بهینه سازی تبلیغات پولی، و ارائه یک ' 'تجربه عالی و یک محصول برتر. با این حال، ' 'به‌عنوان کسی که صاحب یک کسب‌وکار ' 'است و یا می خواهد صاحب یک کسب و کار شود، از ' 'صرف زمان برای انجام همه این کارها نترسید و ' 'ممکن است قبلاً بخش هایی از این کار ها را ' 'بررسی کرده باشید.</p>\r\n' '<p><br>افزودن جریان‌های درآمد غیرفعال ' 'به زندگی‌تان می‌تواند آزادی، ' … <trimmed 199177 bytes string> |
owner_appointment | {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'} |
owner_appointment_api | [{'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'}] |
page | None |
page_0 | None |
pages | [] |
part_static | '/static/assets/dev74/versions' |
part_theme_base_path | 'dyn_temp_main_app/themes/foxic_dev_74' |
part_theme_version_path | 'dyn_temp_main_app/static/assets/dev74/versions' |
parts | ['', 'blog', ''] |
payment_method | {'home_delivery': False, 'mellat': False, 'zarinpal': False} |
payment_method_api | {'home_delivery': False, 'mellat': False, 'zarinpal': False} |
product | None |
products | [] |
products_category1_home | [] |
products_category2_home | [] |
products_category3_home | [] |
profile | None |
renderer | <dyn_temp_main_app.theme_loader.RenderedData object at 0x7f5961c6b3a0> |
req | <dyn_temp_main_app.http_request.HttpRequest object at 0x7f5962055670> |
request | <WSGIRequest: GET '/blog/?page=9'> |
response | {'count': 0, 'next': None, 'previous': None, 'results': []} |
resualt_search | None |
result | None |
selected_theme | {'folder': 'foxic_dev_74', 'theme_base_path': 'dyn_temp_main_app/themes/foxic_dev_74', 'theme_version_path': 'dyn_temp_main_app/static/assets/dev74/versions', 'title': 'Dev 74'} |
self | <dyn_temp_main_app.views.Home object at 0x7f5961c6b190> |
seo | '' |
seo_appointment | None |
seo_blogs | None |
seo_clinic_adminssion | None |
seo_clinic_parts | None |
seo_doctors | None |
seo_home_page | {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None} |
seo_home_page_api | [{'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None}] |
seo_products | None |
seo_services | None |
seoservices_api | [{'key': 'Seo_Service#google_webmaster', 'value': ''}, {'key': 'Seo_Service#google_analytics', 'value': ''}, {'key': 'Seo_Service#bing_webmaster', 'value': ''}] |
service | None |
service_active_dates | [] |
service_clinic | None |
service_confirm | None |
service_order_appointment | None |
service_order_submit_appointment | [] |
service_reserve | None |
service_turn_time | [] |
service_turn_time_appointment | None |
services | [] |
setting_appointment | [] |
shop | None |
static | '/static/assets/dev74/versions/v2.0.27' |
status_code | None |
template_base_path | '/var/www/api/dynamic_template/dyn_temp_main_app/themes/foxic_dev_74/templates' |
terms_conditions | None |
theme | {'name': 'Theme Desketo - Default (v1)', 'static': '/static/assets/dev74/versions/v2.0.27', 'version': '1.0.14'} |
theme_base_path | '/var/www/api/dynamic_template/dyn_temp_main_app/themes/foxic_dev_74' |
theme_folder | 'foxic_dev_74' |
theme_loader | <dyn_temp_main_app.theme_loader.ThemeLoader object at 0x7f5961c6bdf0> |
theme_name | 'foxic_dev_74' |
title | 'Blog' |
turn_time | [] |
url | '/api/customer/blog-seo/?domain=bestrah.com' |
version_static_folder | '/var/www/api/dynamic_template/dyn_temp_main_app/static/assets/dev74/versions/v2.0.27' |
version_static_folder_build_successfully | '/var/www/api/dynamic_template/dyn_temp_main_app/static/assets/dev74/versions/v2.0.27/success.txt' |
wrapper | <dyn_temp_main_app.http_request_wrapper.HttpRequestWrapper object at 0x7f5961de4850> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/shortcuts.py
, line 19, in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'Blog': None, 'Collection': None, 'Direction': 'rtl', 'Doctor': None, 'Doctors': [], 'Errors': [], 'Lang': 'fa', 'Messages': [], 'Others': {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می ' 'توانید درآمد غیرفعال کسب ' 'کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان ر… <trimmed 280999 bytes string> |
request | <WSGIRequest: GET '/blog/?page=9'> |
status | None |
template_name | 'dyn_temp_main_app/template-main.html' |
using | None |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'Blog': None, 'Collection': None, 'Direction': 'rtl', 'Doctor': None, 'Doctors': [], 'Errors': [], 'Lang': 'fa', 'Messages': [], 'Others': {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می ' 'توانید درآمد غیرفعال کسب ' 'کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان ر… <trimmed 280999 bytes string> |
request | <WSGIRequest: GET '/blog/?page=9'> |
template | <django.template.backends.jinja2.Template object at 0x7f5961de4490> |
template_name | 'dyn_temp_main_app/template-main.html' |
using | None |
/var/www/api/venv/desketo/lib/python3.8/site-packages/django/template/backends/jinja2.py
, line 74, in render
if request is not None:
context['request'] = request
context['csrf_input'] = csrf_input_lazy(request)
context['csrf_token'] = csrf_token_lazy(request)
for context_processor in self.backend.template_context_processors:
context.update(context_processor(request))
try:
return self.template.render(context)…
except jinja2.TemplateSyntaxError as exc:
new = TemplateSyntaxError(exc.args)
new.template_debug = get_exception_info(exc)
raise new from exc
Variable | Value |
---|---|
context | {'Blog': None, 'Collection': None, 'Direction': 'rtl', 'Doctor': None, 'Doctors': [], 'Errors': [], 'Lang': 'fa', 'Messages': [], 'Others': {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می ' 'توانید درآمد غیرفعال کسب ' 'کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان ر… <trimmed 280999 bytes string> |
csrf_input_lazy | <function csrf_input at 0x7f5961e82820> |
csrf_token_lazy | <function get_token at 0x7f5961e9e280> |
request | <WSGIRequest: GET '/blog/?page=9'> |
self | <django.template.backends.jinja2.Template object at 0x7f5961de4490> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/jinja2/environment.py
, line 1291, in render
loop.close()
ctx = self.new_context(dict(*args, **kwargs))
try:
return concat(self.root_render_func(ctx)) # type: ignore
except Exception:
self.environment.handle_exception()…
async def render_async(self, *args: t.Any, **kwargs: t.Any) -> str:
"""This works similar to :meth:`render` but returns a coroutine
that when awaited returns the entire rendered template string. This
requires the async feature to be enabled.
Variable | Value |
---|---|
args | ({'Blog': None, 'Collection': None, 'Direction': 'rtl', 'Doctor': None, 'Doctors': [], 'Errors': [], 'Lang': 'fa', 'Messages': [], 'Others': {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می ' 'توانید درآمد غیرفعال کسب ' 'کنید؟</h2>\r\n… <trimmed 289441 bytes string> |
ctx | <Context {'range': <class 'range'>, 'dict': <class 'dict'>, 'lipsum': <function generate_lorem_ipsum at 0x7f5962375040>, 'cycler': <class 'jinja2.utils.Cycler'>, 'joiner': <class 'jinja2.utils.Joiner'>, 'namespace': <class 'jinja2.utils.Namespace'>, 'Title': 'Blog', 'Direction': 'rtl', 'Lang': 'fa', 'body_classes': '', 'head_tags': <Template 'head_tags/head-tags.html'>, 'head_tags_mainpage': <Template 'head_tags/head_tags_mainpage.html'>, 'head_tags_page': <Template 'head_tags/head_tags_page.html'>, 'head_tags_blog': <Template 'head_tags/head_tags_blog.html'>, 'head_tags_blogs': <Template 'head_tags/head_tags_blogs.html'>, 'head_tags_collection': <Template 'head_tags/head_tags_collection.html'>, 'head_tags_product': <Template memory:7f5961b17100>, 'head_tags_products': <Template memory:7f5961c6b250>, 'head_tags_doctor': <Template memory:7f5961c6bb20>, 'head_tags_doctors': <Template memory:7f5961c6b160>, 'head_tags_sevice': <Template memory:7f5961c6b2e0>, 'head_tags_services': <Template memory:7f5961c6ba90>, 'head_tags_clinic_part': <Template 'head_tags/head_tags_clinic_part.html'>, 'head_tags_clinic_parts': <Template 'head_tags/head_tags_clinic_parts.html'>, 'head_tags_clinic_admission': <Template memory:7f5961c1a460>, 'head_tags_appointment': <Template 'head_tags/head_tags_appointment.html'>, 'head_tags_clinic_appointment': <Template memory:7f5961c1ae50>, 'body_tags': <Template 'blogs/index.html'>, 'css_tags': <Template memory:7f5961c1a370>, 'js_tags': <Template memory:7f5961c1a3a0>, 'main_menu': None, 'footer_menu': None, 'footer2_menu': None, 'footer3_menu': None, 'footer4_menu': None, 'menu': [], 'Doctors': [], 'enamad_verify': None, 'enamad_iframe': None, 'google_analytics': None, 'google_webmaster': None, 'bing_webmaster': None, 'payment_method': {'mellat': False, 'home_delivery': False, 'zarinpal': False}, 'Theme': {'name': 'Theme Desketo - Default (v1)', 'version': '1.0.14', 'static': '/static/assets/dev74/versions/v2.0.27'}, 'Product': None, 'Products': [], 'Errors': [], 'Messages': [], 'jsons': [['main_menu', None], ['footer_menu', None], ['footer2_menu', None], ['footer3_menu', None], ['footer4_menu', None], ['seo_home_page', {'id': 6121, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین پزشکان شیراز افتخار همکاری دارد.', 'url': None, 'other_page': 0}], ['enamad_verify', ''], ['enamad_iframe', ''], ['google_analytics', ''], ['google_webmaster', ''], ['bing_webmaster', ''], ['doctors', []], ['payment_method', {'mellat': False, 'home_delivery': False, 'zarinpal': False}], ['owner_appointment', {'id': 225, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'last_name': 'دسکتو', 'description': None, 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'}], ['collection_home', []], ['collection_second_home', []], ['collection_third_home', []], ['collection_fourth_home', []], ['collection_fifth_home', []], ['collection_sixth_home', []], ['collection_seventh_home', []], ['collection_eighth_home', []], ['collection_ninth_home', []], ['collection_tenth_home', []], ['collection_blog_home', []], ['collection_blog_second_home', []], ['collection_blog_third_home', []], ['shop', None], ['setting_appointment', []]], 'Others': {'shop': {'id': 350, 'page_title': None, 'domain': 'bestrah.com', 'sub_domain': 'dev74', 'mobile': '09128586135', 'phone': None, 'email': 'mfathi128@gmail.com', 'addresses': [{'id': 216, 'legal_name': 'آژانس دیجیتال مارکتینگ بستراه', 'zipcode': None, 'street': None, 'city': 'شیراز', 'state': 'فارس', 'address': 'فارس، شیراز، ملاصدرا، حکیمی غربی، مجتمع پزشکی حکیمی، طبقه 5، واحد 9 و 10', 'country': None, 'phone': None, 'mobile': '09128586135', 'latitude': '0.000000', 'longitude': '0.000000', 'create_at': '2023-10-23T09:12:21.659260+03:30', 'update_at': '2023-10-23T09:12:21.659675+03:30'}], 'city': 'شیراز', 'state': 'ف… <trimmed 105708 bytes string> |
kwargs | {} |
self | <Template 'dyn_temp_main_app/template-main.html'> |
/var/www/api/venv/desketo/lib/python3.8/site-packages/jinja2/environment.py
, line 925, in handle_exception
def handle_exception(self, source: t.Optional[str] = None) -> "te.NoReturn":
"""Exception handling helper. This is used internally to either raise
rewritten exceptions or return a rendered traceback for the template.
"""
from .debug import rewrite_traceback_stack
raise rewrite_traceback_stack(source=source)…
def join_path(self, template: str, parent: str) -> str:
"""Join a template with the parent. By default all the lookups are
relative to the loader root so this method returns the `template`
parameter unchanged, but if the paths should be relative to the
parent template, this function can be used to calculate the real
Variable | Value |
---|---|
rewrite_traceback_stack | <function rewrite_traceback_stack at 0x7f5961df1550> |
self | <jinja2.environment.Environment object at 0x7f5961e23700> |
source | None |
/var/www/api/dynamic_template/dyn_temp_main_app/jinja2/dyn_temp_main_app/template-main.html
, line 15, in top-level template code
<meta http-equiv="X-UA-Compatible" content="ie=edge">
{% include css_tags %}
{% include head_tags %}
{% if Title=="Page" %}
{% include head_tags_page %}
{% elif Title=="Blog" %}
{% include head_tags_blog %}…
{% elif Title=="Collection" %}
{% include head_tags_collection %}
{% elif Title=="Product" %}
{% include head_tags_product %}
{% elif Title=="Products" %}
{% include head_tags_products %}
Variable | Value |
---|---|
Blog | None |
Collection | None |
Direction | 'rtl' |
Doctor | None |
Doctors | [] |
Errors | [] |
Lang | 'fa' |
Messages | [] |
Others | {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می توانید درآمد ' 'غیرفعال کسب کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان روشی آسان برای کسب ' 'درآمد یاد می شود، بیشتر جریان های درآمد ' 'غیرفعال، نتیجه سخت کار کردن هستند: ایجاد ' 'مخاطب، بهینه سازی تبلیغات پولی، و ارائه یک ' 'تجربه عالی و یک محصول برتر. با این حال، ' 'به‌عنوان کسی که صاحب یک کسب‌وکار ' 'است و یا می خواهد صاحب یک کسب و کار شود، از ' 'صرف زمان برای انجام همه این کارها نترسید و ' 'ممکن است قبلاً بخش هایی از این کار ها را ' 'بررسی کرده باشید.</p>\r\n' '<p><br>افزودن جریان‌های درآمد غیرفعال ' 'به زندگی‌تان می‌تواند آزادی، ' … <trimmed 199177 bytes string> |
Page | None |
Product | None |
Products | [] |
Service | None |
Shop | None |
Theme | {'name': 'Theme Desketo - Default (v1)', 'static': '/static/assets/dev74/versions/v2.0.27', 'version': '1.0.14'} |
Title | 'Blog' |
about_us | None |
active_dates | [] |
basket | [] |
basket_count | 0 |
basket_sum | 0 |
basket_sum_discount | 0 |
basket_sum_no_discount | 0 |
bing_webmaster | None |
body_classes | '' |
body_tags | <Template 'blogs/index.html'> |
clinic_active_dates | [] |
clinic_order_appointment | None |
clinic_part | None |
clinic_turn_time | [] |
clinic_turn_time_appointment | None |
contact_us | None |
csrf_input | '<input type="hidden" name="csrfmiddlewaretoken" value="mTvUjQdADPExrZN5rLT2Z6lkIyxkgN0oyNholu4YDjkOPH0T7V7e6e7drlReEM4C">' |
csrf_token | '3dMgiMnjABFIUx3yTKQTpmsCkd44JugUf7yKkqeHA5lZifgmzU45wuev30oY7tk8' |
css_tags | <Template memory:7f5961c1a370> |
cycler | <class 'jinja2.utils.Cycler'> |
dict | <class 'dict'> |
doctor_clinic | None |
doctor_confirm | None |
doctor_reserve | None |
enamad_iframe | None |
enamad_verify | None |
footer2_menu | None |
footer3_menu | None |
footer4_menu | None |
footer_menu | None |
google_analytics | None |
google_webmaster | None |
head_tags | <Template 'head_tags/head-tags.html'> |
head_tags_appointment | <Template 'head_tags/head_tags_appointment.html'> |
head_tags_blog | <Template 'head_tags/head_tags_blog.html'> |
head_tags_blogs | <Template 'head_tags/head_tags_blogs.html'> |
head_tags_clinic_admission | <Template memory:7f5961c1a460> |
head_tags_clinic_appointment | <Template memory:7f5961c1ae50> |
head_tags_clinic_part | <Template 'head_tags/head_tags_clinic_part.html'> |
head_tags_clinic_parts | <Template 'head_tags/head_tags_clinic_parts.html'> |
head_tags_collection | <Template 'head_tags/head_tags_collection.html'> |
head_tags_doctor | <Template memory:7f5961c6bb20> |
head_tags_doctors | <Template memory:7f5961c6b160> |
head_tags_mainpage | <Template 'head_tags/head_tags_mainpage.html'> |
head_tags_page | <Template 'head_tags/head_tags_page.html'> |
head_tags_product | <Template memory:7f5961b17100> |
head_tags_products | <Template memory:7f5961c6b250> |
head_tags_services | <Template memory:7f5961c6ba90> |
head_tags_sevice | <Template memory:7f5961c6b2e0> |
joiner | <class 'jinja2.utils.Joiner'> |
js_tags | <Template memory:7f5961c1a3a0> |
jsons | [['main_menu', None], ['footer_menu', None], ['footer2_menu', None], ['footer3_menu', None], ['footer4_menu', None], ['seo_home_page', {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None}], ['enamad_verify', ''], ['enamad_iframe', ''], ['google_analytics', ''], ['google_webmaster', ''], ['bing_webmaster', ''], ['doctors', []], ['payment_method', {'home_delivery': False, 'mellat': False, 'zarinpal': False}], ['owner_appointment', {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'}], ['collection_home', []], ['collection_second_home', []], ['collection_third_home', []], ['collection_fourth_home', []], ['collection_fifth_home', []], ['collection_sixth_home', []], ['collection_seventh_home', []], ['collection_eighth_home', []], ['collection_ninth_home', []], ['collection_tenth_home', []], ['collection_blog_home', []], ['collection_blog_second_home', []], ['collection_blog_third_home', []], ['shop', None], ['setting_appointment', []]] |
lipsum | <function generate_lorem_ipsum at 0x7f5962375040> |
main_menu | None |
menu | [] |
namespace | <class 'jinja2.utils.Namespace'> |
order_appointment | [] |
order_submit_appointment | [] |
owner_appointment | {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'} |
payment_method | {'home_delivery': False, 'mellat': False, 'zarinpal': False} |
profile | None |
range | <class 'range'> |
request | <WSGIRequest: GET '/blog/?page=9'> |
seo_appointment | None |
seo_blogs | None |
seo_clinic_adminssion | None |
seo_clinic_parts | None |
seo_doctors | None |
seo_home_page | {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None} |
seo_products | None |
seo_services | None |
service_active_dates | [] |
service_clinic | None |
service_confirm | None |
service_order_appointment | None |
service_order_submit_appointment | [] |
service_reserve | None |
service_turn_time | [] |
service_turn_time_appointment | None |
terms_conditions | None |
turn_time | [] |
/var/www/api/dynamic_template/dyn_temp_main_app/themes/foxic_dev_74/templates/head_tags/head_tags_blog.html
, line 1, in top-level template code
<title>{{Blog.seo.page_title}}</title>…
<meta name="description" content="{{Blog.seo.meta_description}}">
<meta name="keywords" content="{% for word in Blog.tags %} {{word.name}} ,{% endfor %}">
<meta property="og:url" content="https://bestrah.com/blog/{{Blog.seo.url}}">
<meta property="og:title" content="{{Blog.seo.page_title}}">
<meta property="og:type" content="article">
Variable | Value |
---|---|
Blog | None |
Collection | None |
Direction | 'rtl' |
Doctor | None |
Doctors | [] |
Errors | [] |
Lang | 'fa' |
Messages | [] |
Others | {'bing_webmaster': '', 'collection_blog_home': [], 'collection_blog_second_home': [], 'collection_blog_third_home': [], 'collection_eighth_home': [], 'collection_fifth_home': [], 'collection_fourth_home': [], 'collection_home': [], 'collection_ninth_home': [], 'collection_second_home': [], 'collection_seventh_home': [], 'collection_sixth_home': [], 'collection_tenth_home': [], 'collection_third_home': [], 'enamad_iframe': '', 'enamad_verify': '', 'google_analytics': '', 'google_webmaster': '', 'latest_blogs': [{'alt': 'عنوانمقالهتست۲', 'author': {'addresses': [], 'create_at': '2022-03-31T09:37:06.013728+04:30', 'description': None, 'doctorspecialtys': [], 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'groups': [], 'id': 225, 'is_active': True, 'is_staff': True, 'is_superuser': True, 'last_login': '2024-03-28T15:44:12.686806+04:30', 'last_name': 'دسکتو', 'mobile': '09128586135', 'national_code': None, 'password': 'pbkdf2_sha256$260000$zvScfNAOfkW8dEt9QUa905$/ZOTXK1ZC+gWWMsQ8UEVFZad05dqRLQxOEzc//vO4H4=', 'permissions': [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 30, 32, 34, 28, 35, 36], 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png', 'refer_seo': None, 'refer_shop': None, 'roles': [], 'slug': 'تیم-تولید-محتوادسکتو-6135', 'tags': [], 'update_at': '2024-03-04T17:02:36.122148+03:30', 'user_permissions': []}, 'description': '<h2>کنجکاو هستید که چگونه می توانید درآمد ' 'غیرفعال کسب کنید؟</h2>\r\n' '<p>اگرچه از آن به عنوان روشی آسان برای کسب ' 'درآمد یاد می شود، بیشتر جریان های درآمد ' 'غیرفعال، نتیجه سخت کار کردن هستند: ایجاد ' 'مخاطب، بهینه سازی تبلیغات پولی، و ارائه یک ' 'تجربه عالی و یک محصول برتر. با این حال، ' 'به‌عنوان کسی که صاحب یک کسب‌وکار ' 'است و یا می خواهد صاحب یک کسب و کار شود، از ' 'صرف زمان برای انجام همه این کارها نترسید و ' 'ممکن است قبلاً بخش هایی از این کار ها را ' 'بررسی کرده باشید.</p>\r\n' '<p><br>افزودن جریان‌های درآمد غیرفعال ' 'به زندگی‌تان می‌تواند آزادی، ' … <trimmed 199177 bytes string> |
Page | None |
Product | None |
Products | [] |
Service | None |
Shop | None |
Theme | {'name': 'Theme Desketo - Default (v1)', 'static': '/static/assets/dev74/versions/v2.0.27', 'version': '1.0.14'} |
Title | 'Blog' |
about_us | None |
active_dates | [] |
basket | [] |
basket_count | 0 |
basket_sum | 0 |
basket_sum_discount | 0 |
basket_sum_no_discount | 0 |
bing_webmaster | None |
body_classes | '' |
body_tags | <Template 'blogs/index.html'> |
clinic_active_dates | [] |
clinic_order_appointment | None |
clinic_part | None |
clinic_turn_time | [] |
clinic_turn_time_appointment | None |
contact_us | None |
csrf_input | '<input type="hidden" name="csrfmiddlewaretoken" value="xqfTeWKHMH5a392RifU76XEF6TKcYCgMJk1ngAB5MbLrrRfFYp8jd5qyPG46mBk0">' |
csrf_token | 'wVKP5hsaRwZTtskyc7xolAgEijJ47uMYIPwj7VjyR0FaRaxmShLAsI2x163YvtQc' |
css_tags | <Template memory:7f5961c1a370> |
cycler | <class 'jinja2.utils.Cycler'> |
dict | <class 'dict'> |
doctor_clinic | None |
doctor_confirm | None |
doctor_reserve | None |
enamad_iframe | None |
enamad_verify | None |
footer2_menu | None |
footer3_menu | None |
footer4_menu | None |
footer_menu | None |
google_analytics | None |
google_webmaster | None |
head_tags | <Template 'head_tags/head-tags.html'> |
head_tags_appointment | <Template 'head_tags/head_tags_appointment.html'> |
head_tags_blog | <Template 'head_tags/head_tags_blog.html'> |
head_tags_blogs | <Template 'head_tags/head_tags_blogs.html'> |
head_tags_clinic_admission | <Template memory:7f5961c1a460> |
head_tags_clinic_appointment | <Template memory:7f5961c1ae50> |
head_tags_clinic_part | <Template 'head_tags/head_tags_clinic_part.html'> |
head_tags_clinic_parts | <Template 'head_tags/head_tags_clinic_parts.html'> |
head_tags_collection | <Template 'head_tags/head_tags_collection.html'> |
head_tags_doctor | <Template memory:7f5961c6bb20> |
head_tags_doctors | <Template memory:7f5961c6b160> |
head_tags_mainpage | <Template 'head_tags/head_tags_mainpage.html'> |
head_tags_page | <Template 'head_tags/head_tags_page.html'> |
head_tags_product | <Template memory:7f5961b17100> |
head_tags_products | <Template memory:7f5961c6b250> |
head_tags_services | <Template memory:7f5961c6ba90> |
head_tags_sevice | <Template memory:7f5961c6b2e0> |
joiner | <class 'jinja2.utils.Joiner'> |
js_tags | <Template memory:7f5961c1a3a0> |
jsons | [['main_menu', None], ['footer_menu', None], ['footer2_menu', None], ['footer3_menu', None], ['footer4_menu', None], ['seo_home_page', {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None}], ['enamad_verify', ''], ['enamad_iframe', ''], ['google_analytics', ''], ['google_webmaster', ''], ['bing_webmaster', ''], ['doctors', []], ['payment_method', {'home_delivery': False, 'mellat': False, 'zarinpal': False}], ['owner_appointment', {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'}], ['collection_home', []], ['collection_second_home', []], ['collection_third_home', []], ['collection_fourth_home', []], ['collection_fifth_home', []], ['collection_sixth_home', []], ['collection_seventh_home', []], ['collection_eighth_home', []], ['collection_ninth_home', []], ['collection_tenth_home', []], ['collection_blog_home', []], ['collection_blog_second_home', []], ['collection_blog_third_home', []], ['shop', None], ['setting_appointment', []]] |
lipsum | <function generate_lorem_ipsum at 0x7f5962375040> |
main_menu | None |
menu | [] |
namespace | <class 'jinja2.utils.Namespace'> |
order_appointment | [] |
order_submit_appointment | [] |
owner_appointment | {'description': None, 'email': 'mfathi@gmail.com', 'first_name': 'تیم تولید محتوا', 'id': 225, 'last_name': 'دسکتو', 'profile_image': 'http://api-shop.desketo.com/users-static-files/shop/users/Screenshot_2024-03-04_170129.png'} |
payment_method | {'home_delivery': False, 'mellat': False, 'zarinpal': False} |
profile | None |
range | <class 'range'> |
request | <WSGIRequest: GET '/blog/?page=9'> |
seo_appointment | None |
seo_blogs | None |
seo_clinic_adminssion | None |
seo_clinic_parts | None |
seo_doctors | None |
seo_home_page | {'id': 6121, 'meta_description': 'آژانس دیجیتال مارکتینگ بستراه به عنوان اولین آژانس ' 'دیجیتال مارکتینگ در شیراز و جنوب کشور فعالیت خود را از ' 'سال ۱۳۸۸ آغاز نمود و اکنون به صورت تخصصی در زمینه ' 'دیجیتال مارکتینگ پزشکی با برترین مراکز پزشکی و همچنین ' 'پزشکان شیراز افتخار همکاری دارد.', 'other_page': 0, 'page_title': 'آژانس دیجیتال مارکتینگ بستراه', 'url': None} |
seo_products | None |
seo_services | None |
service_active_dates | [] |
service_clinic | None |
service_confirm | None |
service_order_appointment | None |
service_order_submit_appointment | [] |
service_reserve | None |
service_turn_time | [] |
service_turn_time_appointment | None |
terms_conditions | None |
turn_time | [] |
/var/www/api/venv/desketo/lib/python3.8/site-packages/jinja2/environment.py
, line 474, in getattr
return self.undefined(obj=obj, name=argument)
def getattr(self, obj: t.Any, attribute: str) -> t.Any:
"""Get an item or attribute of an object but prefer the attribute.
Unlike :meth:`getitem` the attribute *must* be a string.
"""
try:
return getattr(obj, attribute)…
except AttributeError:
pass
try:
return obj[attribute]
except (TypeError, LookupError, AttributeError):
return self.undefined(obj=obj, name=attribute)
Variable | Value |
---|---|
attribute | 'page_title' |
obj | Undefined |
self | <jinja2.environment.Environment object at 0x7f5961fb3c10> |
AnonymousUser
Variable | Value |
---|---|
page | '9' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/api' |
CONTEXT_PREFIX | '' |
CSRF_COOKIE | 'BOlzpJquI2Jt3fU3ks7sED4rodcEQJ7lNI73rnhSIwpKrX7R0ClELLQk70wyeIbz' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/var/www/api' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_AR_REAL_COUNTRY | 'US' |
HTTP_AR_REAL_IP | '3.227.251.194' |
HTTP_AR_SID | '6231' |
HTTP_CDN_LOOP | 'arvancloud; count=1' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'bestrah.com' |
HTTP_TRUE_CLIENT_IP | '3.227.251.194' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_COUNTRY_CODE | 'US' |
HTTP_X_FORWARDED_FOR | '3.227.251.194' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.227.251.194' |
HTTP_X_REQUEST_ID | '6e55a00a5d837dfcf0a1db1ae42cccdb' |
HTTP_X_SID | '6231' |
PATH_INFO | '/blog/' |
PATH_TRANSLATED | '/var/www/api/dynamic_template/dynamic_template/wsgi.py/blog/' |
QUERY_STRING | 'page=9' |
REMOTE_ADDR | '185.215.232.175' |
REMOTE_PORT | '7584' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/blog/?page=9' |
SCRIPT_FILENAME | '/var/www/api/dynamic_template/dynamic_template/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '185.226.117.156' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'bestrah.com' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | 'Apache/2.4.41 (Ubuntu)' |
UNIQUE_ID | 'ZgZwqi9UnNAoXq9-8xLE0gAAE-o' |
apache.version | (2, 4, 41) |
mod_wsgi.application_group | 'ubuntu-g1-small2-fr-desk.novalocal|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711698090850585' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '80' |
mod_wsgi.path_info | '/blog/' |
mod_wsgi.process_group | 'dynamic_template' |
mod_wsgi.queue_start | '1711698090850344' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'ZgZwqi9UnNAoXq9-8xLE0gAAE-o' |
mod_wsgi.request_start | '1711698090849988' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711698090850779' |
mod_wsgi.thread_id | 12 |
mod_wsgi.thread_requests | 721 |
mod_wsgi.total_requests | 4167 |
mod_wsgi.version | (4, 6, 8) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | <class 'mod_wsgi.FileWrapper'> |
wsgi.input | <mod_wsgi.Input object at 0x7f5962024f80> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
dynamic_template.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/var/www/api/dynamic_template') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | '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.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'dynamic_template', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'dyn_temp_main_app', 'dyn_temp_api', 'rest_framework'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_DIR | PosixPath('/var/www/api/dynamic_template/dynamic_template') |
ROOT_URLCONF | 'dynamic_template.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 86400 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | None |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | '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.JSONSerializer' |
SETTINGS_MODULE | 'dynamic_template.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [PosixPath('/var/www/api/dynamic_template/dynamic_template/jinjatemplates')]}, {'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
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 | 'dynamic_template.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | '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.