clean unused templates

added .env file to git because of the reason :)
This commit is contained in:
2025-07-30 19:39:39 +03:00
parent 2d0d33d525
commit 135da0ade1
35 changed files with 150 additions and 5150 deletions
+7 -7
View File
@@ -12,12 +12,12 @@ class ContainersListView(ListView):
model = Container
context_object_name = 'objects'
paginate_by = 30 # Number of containers per page
base_template = 'employee-base.html'
# base_template = 'employee-base.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['base_template'] = self.base_template
return context
# def get_context_data(self, **kwargs):
# context = super().get_context_data(**kwargs)
# context['base_template'] = self.base_template
# return context
def get_queryset(self):
queryset = super().get_queryset()
@@ -35,11 +35,11 @@ class ReportContainersUnpaidListView(ListView):
model = Container
context_object_name = 'objects'
paginate_by = 30 # Number of payments per page
base_template = 'employee-base.html'
# base_template = 'employee-base.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['base_template'] = self.base_template
# context['base_template'] = self.base_template
context['companies'] = CompanyModel.objects.all().order_by('name')
return context