Renamed the "accounting.report.period.periods" module to "accounting.report.period.shortcuts", to be clear.

This commit is contained in:
依瑪貓 2023-03-09 20:13:15 +08:00
parent 5ebb89a6d5
commit ec257a4b57
3 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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}))?)?"