diff --git a/TealCode/main/templates/base.html b/TealCode/main/templates/base.html index 5012c23..ac17e9e 100644 --- a/TealCode/main/templates/base.html +++ b/TealCode/main/templates/base.html @@ -7,7 +7,11 @@ + {% if description %} + + {% else %} + {% endif %} diff --git a/TealCode/main/views.py b/TealCode/main/views.py index 3c687a7..3154343 100644 --- a/TealCode/main/views.py +++ b/TealCode/main/views.py @@ -2,7 +2,6 @@ from django.http.response import HttpResponse from django.shortcuts import render, redirect from .models import Category, Topic from analytics.models import View -from django.views.generic.base import TemplateView def index(req): view = View(ip=get_client_ip(req), home=True)