[Fixed]-Reverse ForeignKey lookup between two apps in template

1👍

No; object here is an instance of UserProfile, which has no direct relationship with Track. You need to go via User, which does.

{% for track in object.user.tracks.all %}

Leave a comment