From 2f80394a309e01f4a77dc4b1094b7185033c6757 Mon Sep 17 00:00:00 2001 From: luxagraf <sng@luxagraf.net> Date: Wed, 5 Feb 2020 21:11:57 -0500 Subject: fixed some bugs in lttr --- app/lttr/models.py | 1 + app/lttr/templates/lttr/confirm_activate.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lttr/models.py b/app/lttr/models.py index 4ab6030..33a6735 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -11,6 +11,7 @@ from django.utils.crypto import get_random_string from taggit.managers import TaggableManager +from utils.util import render_images, parse_video, markdown_to_html from taxonomy.models import TaggedItems from photos.models import LuxImage, LuxImageSize diff --git a/app/lttr/templates/lttr/confirm_activate.html b/app/lttr/templates/lttr/confirm_activate.html index d67ee1b..f16c4ee 100644 --- a/app/lttr/templates/lttr/confirm_activate.html +++ b/app/lttr/templates/lttr/confirm_activate.html @@ -11,7 +11,7 @@ <main role="main" id="essay-archive" class="essay-archive archive-list"> <div class="essay-intro"> <h2>You're confirmed, thanks for joining.</h2> - <p>If you'd like you can <a href="/lttr/">visit the archives</a> of past mailings.</p> + <p>If you'd like you can <a href="{% url 'lttr:list'%}">visit the archives</a> of past mailings.</p> </div> </main> {%endblock%} -- cgit v1.2.3