Merge branch 'master' into api

This commit is contained in:
Paweł Jastrzębski
2022-01-01 19:56:55 +01:00
4 changed files with 5 additions and 10 deletions

View File

@@ -45,11 +45,6 @@ class DateRangeMixin:
"start": now.replace(day=1),
"end": now,
},
{
"name": "Last month",
"start": now.replace(day=1, month=now.month - 1),
"end": now.replace(day=1, month=now.month) - timezone.timedelta(days=1),
},
{
"name": "This year",
"start": now.replace(day=1, month=1),

View File

@@ -22,7 +22,7 @@ from django.contrib.messages import constants as messages
load_dotenv()
# Increment on new releases
VERSION = "0.11.0"
VERSION = "0.12.0"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))