Remove unnecessary configuration directive

This commit is contained in:
2022-07-21 13:50:41 +01:00
parent c5e811878b
commit db87a138f2
3 changed files with 8 additions and 9 deletions

View File

@@ -23,8 +23,6 @@ class Home(View):
def get(self, request):
blocks = ContentBlock.objects.filter(page="home").order_by("position")
print("BLOCKS", blocks)
print("ITER", [x.position for x in blocks])
context = {"blocks": blocks}
return render(request, self.template_name, context)
@@ -34,7 +32,6 @@ class Billing(LoginRequiredMixin, View):
def get(self, request):
context = {"plans": Plan.objects.all(), "user_plans": request.user.plans.all()}
return render(request, self.template_name, context)