diff --git a/src/accounting/report/period/chooser.py b/src/accounting/report/period/chooser.py index 18ec81a..54c8614 100644 --- a/src/accounting/report/period/chooser.py +++ b/src/accounting/report/period/chooser.py @@ -25,7 +25,7 @@ from datetime import date from accounting.models import Transaction from .period import Period -from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \ +from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \ LastYear, Today, Yesterday, AllTime, TemplatePeriod, YearPeriod diff --git a/src/accounting/report/period/parser.py b/src/accounting/report/period/parser.py index d2acc00..23a34c1 100644 --- a/src/accounting/report/period/parser.py +++ b/src/accounting/report/period/parser.py @@ -23,7 +23,7 @@ import typing as t from datetime import date from .period import Period -from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \ +from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \ LastYear, Today, Yesterday, AllTime DATE_SPEC_RE: str = r"(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?" diff --git a/src/accounting/report/period/periods.py b/src/accounting/report/period/shortcuts.py similarity index 100% rename from src/accounting/report/period/periods.py rename to src/accounting/report/period/shortcuts.py