1👍
✅
The Laws
object is not passed as data
, but as object
(and also as laws
), so you render this with:
<p style="color: black;">{{ object.judgements }}</p>
Note: normally a Django model is given a singular name, so
Law
instead of.Laws
Source:stackexchange.com