Markdown не отображается на моей веб-странице Django/HTML

Я уже преобразовал страницу Markdown, но она не отображается.

Вот как выглядит моя страница, когда я пытаюсь ввести любой контент в формате markdown: enter image description here

ПРОСМОТРОВ:

from django.shortcuts import render
from markdown2 import Markdown
from . import util


def index(request):
    return render(request, "encyclopedia/index.html", {
        "entries": util.list_entries()
    })

def entry(request, entry):
    markdowner = Markdown()
    entrypage = util.get_entry(entry)
    if entrypage is None:
        return render(request, "encyclopedia/NonExisting.html", {
            "entrytitle": entry
        })
    else:
        return render(request, "encyclopedia/entry.html", {
            "entry": markdowner.convert(entrypage),
            "entrytitle": entry
        }
        )

УРЛЫ:

    from xml.etree.ElementInclude import include
from django.urls import path

from . import views

urlpatterns = [
    path("", views.index, name="index"),
    path("wiki/<str:entry>/", views.entry, name="entry")
]

и кнопка Edit на изображении тоже не работает. enter image description here

Вернуться на верх