Commit c6ca27d8 authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[statistics][templatetags] Pre-commit cleanup

parent 2db29148
......@@ -27,18 +27,16 @@
from django import template
from django.conf import settings
from ..views import calculate_totals
register = template.Library()
@register.inclusion_tag('statistics/panels/status.html', takes_context=True)
@register.inclusion_tag("statistics/panels/status.html", takes_context=True)
def status(context, id):
return {
'request': context['request'],
'panel_id': id,
'totals': calculate_totals(),
"request": context["request"],
"panel_id": id,
"totals": calculate_totals(),
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment