From 066e7486aba5add495239d1743abaf7ac540a1e8 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sun, 3 May 2020 20:54:58 +0200 Subject: [PATCH] [Reformat] sort imports --- aleksis/apps/chronos/preferences.py | 5 +---- aleksis/apps/chronos/templatetags/week_helpers.py | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/aleksis/apps/chronos/preferences.py b/aleksis/apps/chronos/preferences.py index 10906276..cddfb3f0 100644 --- a/aleksis/apps/chronos/preferences.py +++ b/aleksis/apps/chronos/preferences.py @@ -3,10 +3,7 @@ from django.utils.translation import gettext as _ from dynamic_preferences.preferences import Section from dynamic_preferences.types import BooleanPreference, IntegerPreference -from aleksis.core.registries import ( - person_preferences_registry, - site_preferences_registry, -) +from aleksis.core.registries import person_preferences_registry, site_preferences_registry chronos = Section("chronos", verbose_name=_("Chronos")) diff --git a/aleksis/apps/chronos/templatetags/week_helpers.py b/aleksis/apps/chronos/templatetags/week_helpers.py index 054d3f9e..acfb3a3a 100644 --- a/aleksis/apps/chronos/templatetags/week_helpers.py +++ b/aleksis/apps/chronos/templatetags/week_helpers.py @@ -4,11 +4,7 @@ from typing import Optional, Union from django import template from django.db.models.query import QuerySet -from aleksis.apps.chronos.util.date import ( - CalendarWeek, - week_period_to_date, - week_weekday_to_date, -) +from aleksis.apps.chronos.util.date import CalendarWeek, week_period_to_date, week_weekday_to_date register = template.Library() -- GitLab