[Fixed]-Django admin custom view in model properties

1👍

You’ll need to create a custom ModelAdmin for Questions and override the form property, as explained at https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin.form.

In your case, you should get the dynamically created form using ModelAdmin.get_form() and add the report you want to it, using Django’s form framework.

Leave a comment