refactor: move month_year_picker to common and make it more generic

This commit is contained in:
Herculino Trotta
2024-10-29 13:41:04 -03:00
parent 6dc02210af
commit fda823ccd5
7 changed files with 91 additions and 16 deletions
-5
View File
@@ -19,9 +19,4 @@ urlpatterns = [
views.monthly_summary,
name="monthly_summary",
),
path(
"available_dates/",
views.month_year_picker,
name="available_dates",
),
]
@@ -2,10 +2,6 @@ from decimal import Decimal
from django.contrib.auth.decorators import login_required
from django.db.models import (
Case,
When,
Value,
IntegerField,
Sum,
Q,
)
@@ -1,2 +0,0 @@
from .ui import *
from .main import *