Renamed the "accounting.report.period.periods" module to "accounting.report.period.shortcuts", to be clear.
This commit is contained in:
parent
5ebb89a6d5
commit
ec257a4b57
@ -25,7 +25,7 @@ from datetime import date
|
|||||||
|
|
||||||
from accounting.models import Transaction
|
from accounting.models import Transaction
|
||||||
from .period import Period
|
from .period import Period
|
||||||
from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
|
from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
|
||||||
LastYear, Today, Yesterday, AllTime, TemplatePeriod, YearPeriod
|
LastYear, Today, Yesterday, AllTime, TemplatePeriod, YearPeriod
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ import typing as t
|
|||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
from .period import Period
|
from .period import Period
|
||||||
from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
|
from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
|
||||||
LastYear, Today, Yesterday, AllTime
|
LastYear, Today, Yesterday, AllTime
|
||||||
|
|
||||||
DATE_SPEC_RE: str = r"(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?"
|
DATE_SPEC_RE: str = r"(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?"
|
||||||
|
Loading…
Reference in New Issue
Block a user