admin.ModelAdmin.get_fieldsets()

ModelAdmin.get_fieldsets(request, obj=None)

The get_fieldsets method is given the HttpRequest and the obj being edited (or None on an add form) and is expected to return a list of two-tuples, in which each two-tuple represents a <fieldset> on the admin form page, as described above in the ModelAdmin.fieldsets section.

doc_Django
2016-10-09 18:33:43
Comments
Leave a Comment

Please login to continue.