21๐
โ
Looks like I found a means to do this using this syntax.
{% extends "admin/change_form.html" %}
{% block after_field_sets %}{{ block.super }}
Print my model here {{ original }}
Print foreignkey related records of my model:
{% for item in original.items_set.all %} {{ item }} {% endfor %}
{% endblock %}
Sorry to answer so soon, but thanks to anyone who started researching. Perhaps someone will find this helpful. If you see a better way to do this, feel free to comment.
๐คJoe J
- Static files won't load when out of debug in Django
- Running collectstatic on server : AttributeError: 'PosixPath' object has no attribute 'startswith'
- Paypal monthly subscription plan settings for first day of the month and making monthly recurring payment โ django python
Source:stackexchange.com