# Requirements update

* updates requirements.txt
* fixes deprecated usage of certain functions brought by Django6.x
This commit is contained in:
2026-03-01 14:02:33 +01:00
parent 3dd6c6ae8d
commit 46b66eb95d
6 changed files with 63 additions and 59 deletions

View File

@@ -124,7 +124,7 @@ class CompensationTable(BaseTable, TableRenderMixin, TableOrderMixin):
html += self.render_previously_checked_star(
tooltip=tooltip,
)
return format_html(html)
return format_html(html, None)
def render_r(self, value, record: Compensation):
""" Renders the registered column for a compensation
@@ -146,5 +146,5 @@ class CompensationTable(BaseTable, TableRenderMixin, TableOrderMixin):
tooltip=tooltip,
icn_filled=recorded,
)
return format_html(html)
return format_html(html, None)

View File

@@ -95,7 +95,7 @@ class EcoAccountTable(BaseTable, TableRenderMixin, TableOrderMixin):
txt=value,
new_tab=False,
)
return format_html(html)
return format_html(html, None)
def render_av(self, value, record: EcoAccount):
""" Renders the available column for an eco account
@@ -113,7 +113,7 @@ class EcoAccountTable(BaseTable, TableRenderMixin, TableOrderMixin):
value_relative = 0
html = render_to_string("konova/widgets/progressbar.html", {"value": value_relative})
html += f"{number_format(record.deductable_rest, decimal_pos=2)}"
return format_html(html)
return format_html(html, None)
def render_r(self, value, record: EcoAccount):
""" Renders the recorded column for an eco account
@@ -135,4 +135,4 @@ class EcoAccountTable(BaseTable, TableRenderMixin, TableOrderMixin):
tooltip=tooltip,
icn_filled=checked,
)
return format_html(html)
return format_html(html, None)