Remove leftover print statements

This commit is contained in:
Johannes Schriewer 2020-12-23 01:47:48 +01:00
parent 71f62536c1
commit 6cd4056274
2 changed files with 0 additions and 2 deletions

View file

@ -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'))

View file

@ -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