Reputation: 2938
I have a form that edits a model. In the template though I would like to access the model. Is this possible and how can I accomplish this?
Upvotes: 1
Views: 607
Reputation: 301
{{ model_form._meta.model }}
Upvotes: 2