Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #617 by using mark_safe in combination with format_html
I have no experience with Django, so all I'm really going off of is this stackoverflow https://stackoverflow.com/a/64498319 which cited this bit of Django documentation: https://docs.djangoproject.com/en/3.1/ref/utils/#django.utils.html.format_html After using this method, I no longer get the 500 error or KeyError exception, and can browse the local server and interact with the single entry in it (the problematic URL in #617 with curly braces). Whether this is the "right" method or not, I have no idea. But it is at least a start.
- Loading branch information