clean unused templates
added .env file to git because of the reason :)
This commit is contained in:
@@ -80,7 +80,7 @@ from containers.models import Container
|
||||
class ContainerDetails(ListView):
|
||||
template_name = 'common/container-details.html'
|
||||
model = Container
|
||||
base_template = 'employee-base.html'
|
||||
# base_template = 'employee-base.html'
|
||||
context_object_name = 'objects'
|
||||
paginate_by = 10
|
||||
|
||||
@@ -95,7 +95,7 @@ class ContainerDetails(ListView):
|
||||
|
||||
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['form'] = ContainerSearchForm(
|
||||
initial={'container_number': self.request.session.get('container_number')}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user