Remove leftover print statements
This commit is contained in:
parent
71f62536c1
commit
6cd4056274
2 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ class IndexView(View):
|
|||
def get(self, request):
|
||||
settings = Settings.objects.first()
|
||||
if settings.default_container is not None:
|
||||
print(settings.default_container.url)
|
||||
return redirect(settings.default_container.url)
|
||||
else:
|
||||
return redirect(reverse('workshop-list'))
|
||||
|
|
|
@ -7,5 +7,4 @@ class CanBeIndexMixin:
|
|||
def get_context_data(self, **kwargs: Any) -> Dict[str, Any]:
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['is_index'] = Settings.objects.first().default_container_id == self.object.id
|
||||
print(context)
|
||||
return context
|
||||
|
|
Loading…
Reference in a new issue