From 28546434dc963408914a01c468f9edd9814042a5 Mon Sep 17 00:00:00 2001 From: Sajeyks Date: Tue, 6 Oct 2026 12:31:27 +0300 Subject: [PATCH] Use the static template library and drop six in the mailer --- alplora/templates/alplora/index.html | 2 +- alplora/templates/alplora/login.html | 2 +- cms_templates/djangocms_blog/_header_post_detail.html | 2 +- cms_templates/home_digitalglarus.html | 2 +- cms_templates/letscowork.html | 2 +- cms_templates/one_column.html | 2 +- cms_templates/two_columns.html | 2 +- .../cmsplugin_filer_folder/plugins/folder/default.html | 2 +- datacenterlight/templates/datacenterlight/add_ssh_key.html | 2 +- datacenterlight/templates/datacenterlight/base_hosting.html | 2 +- .../templates/datacenterlight/includes/_calculator_form.html | 2 +- .../templates/datacenterlight/includes/_navbar.html | 2 +- datacenterlight/templates/datacenterlight/index.html | 2 +- .../templates/datacenterlight/landing_payment.html | 2 +- datacenterlight/templates/datacenterlight/order_detail.html | 2 +- .../templates/datacenterlight/whydatacenterlight.html | 2 +- digitalglarus/templates/about.html | 2 +- digitalglarus/templates/base_glarus.html | 2 +- digitalglarus/templates/digitalglarus/about.html | 2 +- digitalglarus/templates/digitalglarus/booking.html | 2 +- .../templates/digitalglarus/booking_orders_detail.html | 2 +- .../templates/digitalglarus/booking_orders_list.html | 2 +- digitalglarus/templates/digitalglarus/booking_payment.html | 2 +- digitalglarus/templates/digitalglarus/booking_payment2.html | 2 +- .../templates/digitalglarus/confirm_reset_password.html | 2 +- .../digitalglarus/credit_card_edit_confirmation.html | 2 +- digitalglarus/templates/digitalglarus/edit_credit_card.html | 2 +- .../templates/digitalglarus/emails/booking_cancellation.html | 2 +- .../templates/digitalglarus/emails/booking_cancellation.txt | 2 +- .../emails/booking_cancellation_notification.html | 2 +- .../emails/booking_cancellation_notification.txt | 2 +- .../templates/digitalglarus/emails/booking_order_email.html | 2 +- .../templates/digitalglarus/emails/booking_order_email.txt | 2 +- .../templates/digitalglarus/emails/membership_charge.html | 2 +- .../templates/digitalglarus/emails/membership_charge.txt | 2 +- .../digitalglarus/emails/membership_monthly_charge.html | 2 +- .../digitalglarus/emails/membership_monthly_charge.txt | 2 +- .../templates/digitalglarus/emails/password_reset_email.html | 2 +- .../templates/digitalglarus/emails/password_reset_email.txt | 2 +- digitalglarus/templates/digitalglarus/history.html | 2 +- digitalglarus/templates/digitalglarus/index.html | 2 +- digitalglarus/templates/digitalglarus/login.html | 2 +- digitalglarus/templates/digitalglarus/login_hello.html | 2 +- .../templates/digitalglarus/membership_activated.html | 2 +- .../templates/digitalglarus/membership_deactivated.html | 2 +- .../digitalglarus/membership_deactivated_success.html | 2 +- .../templates/digitalglarus/membership_orders_detail.html | 2 +- .../templates/digitalglarus/membership_orders_list.html | 2 +- .../templates/digitalglarus/membership_payment.html | 2 +- .../templates/digitalglarus/membership_pricing.html | 2 +- digitalglarus/templates/digitalglarus/old_index.html | 2 +- digitalglarus/templates/digitalglarus/reset_password.html | 2 +- digitalglarus/templates/digitalglarus/signup.html | 2 +- digitalglarus/templates/digitalglarus/supportus.html | 2 +- digitalglarus/templates/digitalglarus/terms.html | 4 ++-- .../templates/digitalglarus/user_billing_address.html | 2 +- digitalglarus/templates/index.html | 2 +- digitalglarus/templates/letscowork.html | 2 +- digitalglarus/templates/new_base_glarus.html | 2 +- digitalglarus/templates/new_base_glarus_c.html | 2 +- digitalglarus/templates/support.html | 2 +- digitalglarus/templates/supporters.html | 2 +- hosting/templates/hosting/base.html | 2 +- hosting/templates/hosting/base_short.html | 2 +- hosting/templates/hosting/bill_detail.html | 2 +- hosting/templates/hosting/bill_error.html | 2 +- hosting/templates/hosting/bills.html | 2 +- hosting/templates/hosting/calculator_form.html | 2 +- hosting/templates/hosting/choice_ssh_keys.html | 2 +- hosting/templates/hosting/confirm_reset_password.html | 2 +- hosting/templates/hosting/create_virtual_machine.html | 2 +- hosting/templates/hosting/dashboard.html | 2 +- hosting/templates/hosting/django.html | 2 +- hosting/templates/hosting/emails/vm_charged.html | 2 +- hosting/templates/hosting/emails/vm_charged.txt | 2 +- hosting/templates/hosting/hosting_pricing.html | 2 +- hosting/templates/hosting/includes/_header.html | 2 +- hosting/templates/hosting/includes/_navbar.html | 2 +- hosting/templates/hosting/includes/_navbar_user.html | 2 +- hosting/templates/hosting/includes/_our_infrastructure.html | 2 +- hosting/templates/hosting/includes/_pricing.html | 2 +- hosting/templates/hosting/includes/_your_infrastructure.html | 2 +- hosting/templates/hosting/invoice_detail.html | 2 +- hosting/templates/hosting/invoices.html | 2 +- hosting/templates/hosting/login.html | 2 +- hosting/templates/hosting/nodejs.html | 2 +- hosting/templates/hosting/notifications.html | 2 +- hosting/templates/hosting/order_detail.html | 2 +- hosting/templates/hosting/orders.html | 2 +- hosting/templates/hosting/payment.html | 2 +- hosting/templates/hosting/rails.html | 2 +- hosting/templates/hosting/resend_activation_link.html | 2 +- hosting/templates/hosting/reset_password.html | 2 +- hosting/templates/hosting/settings.html | 2 +- hosting/templates/hosting/signup.html | 2 +- hosting/templates/hosting/signup_validate.html | 2 +- hosting/templates/hosting/user_key.html | 2 +- hosting/templates/hosting/user_keys.html | 2 +- hosting/templates/hosting/virtual_machine_detail.html | 2 +- hosting/templates/hosting/virtual_machines.html | 2 +- membership/templates/login.html | 2 +- nosystemd/templates/nosystemd/confirm_reset_password.html | 2 +- nosystemd/templates/nosystemd/donation.html | 2 +- nosystemd/templates/nosystemd/donation_detail.html | 2 +- nosystemd/templates/nosystemd/donations.html | 2 +- nosystemd/templates/nosystemd/donator_status.html | 2 +- nosystemd/templates/nosystemd/emails/donation_charge.html | 2 +- nosystemd/templates/nosystemd/emails/donation_charge.txt | 2 +- nosystemd/templates/nosystemd/landing.html | 2 +- nosystemd/templates/nosystemd/login.html | 2 +- nosystemd/templates/nosystemd/reset_password.html | 2 +- nosystemd/templates/nosystemd/signup.html | 2 +- templates/cms/digitalglarus/about.html | 2 +- templates/cms/digitalglarus/base.html | 2 +- templates/cms/digitalglarus/index.html | 2 +- templates/cms/digitalglarus/letscowork.html | 2 +- templates/cms/ungleichch/_header_base.html | 2 +- templates/cms/ungleichch/_menu.html | 2 +- templates/cms/ungleichch/base.html | 2 +- ungleich/templates/cms/ungleichch/_header_base.html | 2 +- ungleich/templates/cms/ungleichch/_menu.html | 2 +- ungleich/templates/cms/ungleichch/base_ungleich.html | 2 +- ungleich_page/templates/ungleich_page/404.html | 2 +- ungleich_page/templates/ungleich_page/_header_base.html | 2 +- ungleich_page/templates/ungleich_page/_menu.html | 2 +- utils/mailer.py | 5 ++--- 126 files changed, 128 insertions(+), 129 deletions(-) diff --git a/alplora/templates/alplora/index.html b/alplora/templates/alplora/index.html index ae388459..5c76229a 100644 --- a/alplora/templates/alplora/index.html +++ b/alplora/templates/alplora/index.html @@ -1,4 +1,4 @@ -{% load staticfiles i18n%} +{% load static i18n%} diff --git a/alplora/templates/alplora/login.html b/alplora/templates/alplora/login.html index 2d8d65ec..7e378fdd 100644 --- a/alplora/templates/alplora/login.html +++ b/alplora/templates/alplora/login.html @@ -1,4 +1,4 @@ -{% load staticfiles i18n%} +{% load static i18n%} diff --git a/cms_templates/djangocms_blog/_header_post_detail.html b/cms_templates/djangocms_blog/_header_post_detail.html index fb49e5ca..3c2bfcb5 100644 --- a/cms_templates/djangocms_blog/_header_post_detail.html +++ b/cms_templates/djangocms_blog/_header_post_detail.html @@ -1,4 +1,4 @@ -{% load cms_tags staticfiles %} +{% load cms_tags static %} {% load i18n %} diff --git a/cms_templates/home_digitalglarus.html b/cms_templates/home_digitalglarus.html index 0d965dbe..be0aafe7 100644 --- a/cms_templates/home_digitalglarus.html +++ b/cms_templates/home_digitalglarus.html @@ -1,5 +1,5 @@ {% extends "base_glarus.html" %} -{% load staticfiles cms_tags %} +{% load static cms_tags %} {% block content %} diff --git a/cms_templates/letscowork.html b/cms_templates/letscowork.html index 76a5c0d4..8037ea07 100644 --- a/cms_templates/letscowork.html +++ b/cms_templates/letscowork.html @@ -1,5 +1,5 @@ {% extends "base_glarus.html" %} -{% load staticfiles cms_tags %} +{% load static cms_tags %} {% block title %}crowdfunding{% endblock %} {% block content %} diff --git a/cms_templates/one_column.html b/cms_templates/one_column.html index b6d6495a..c6b2af1f 100644 --- a/cms_templates/one_column.html +++ b/cms_templates/one_column.html @@ -1,5 +1,5 @@ {% extends "base_glarus.html" %} -{% load staticfiles cms_tags %} +{% load static cms_tags %} {% block title %}About{% endblock %} {% block content %} diff --git a/cms_templates/two_columns.html b/cms_templates/two_columns.html index 83f30927..44d27e2d 100644 --- a/cms_templates/two_columns.html +++ b/cms_templates/two_columns.html @@ -1,5 +1,5 @@ {% extends "base_glarus.html" %} -{% load staticfiles cms_tags %} +{% load static cms_tags %} {% block title %}About{% endblock %} {% block content %} diff --git a/cmsplugin_filer_folder/templates/cmsplugin_filer_folder/plugins/folder/default.html b/cmsplugin_filer_folder/templates/cmsplugin_filer_folder/plugins/folder/default.html index b43e97d8..3bb5199b 100644 --- a/cmsplugin_filer_folder/templates/cmsplugin_filer_folder/plugins/folder/default.html +++ b/cmsplugin_filer_folder/templates/cmsplugin_filer_folder/plugins/folder/default.html @@ -1,4 +1,4 @@ -{% load i18n thumbnail sekizai_tags staticfiles %} +{% load i18n thumbnail sekizai_tags static %} {% addtoblock "css" %}{% endaddtoblock "css" %} {% addtoblock "js" %}{% endaddtoblock "js" %} {% addtoblock "js" %} diff --git a/datacenterlight/templates/datacenterlight/add_ssh_key.html b/datacenterlight/templates/datacenterlight/add_ssh_key.html index 44048bad..0eb2ecfa 100644 --- a/datacenterlight/templates/datacenterlight/add_ssh_key.html +++ b/datacenterlight/templates/datacenterlight/add_ssh_key.html @@ -1,5 +1,5 @@ -{% load staticfiles bootstrap3 i18n custom_tags humanize %} +{% load static bootstrap3 i18n custom_tags humanize %} {% block content %} {% block userkey_form %} diff --git a/datacenterlight/templates/datacenterlight/base_hosting.html b/datacenterlight/templates/datacenterlight/base_hosting.html index e50c4975..000f9c45 100644 --- a/datacenterlight/templates/datacenterlight/base_hosting.html +++ b/datacenterlight/templates/datacenterlight/base_hosting.html @@ -1,4 +1,4 @@ -{% load staticfiles i18n cms_tags sekizai_tags %} +{% load static i18n cms_tags sekizai_tags %} {% get_current_language as LANGUAGE_CODE %} diff --git a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html index 2c2b51dd..1b1dad5c 100644 --- a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html +++ b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html @@ -1,4 +1,4 @@ -{% load staticfiles i18n%} +{% load static i18n%} {% if vm_pricing %}