Reputation: 2948
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: 609
Reputation: 301
{{ model_form._meta.model }}
Upvotes: 2