admin.ModelAdmin.get_fields()

ModelAdmin.get_fields(request, obj=None) [source]

The get_fields method is given the HttpRequest and the obj being edited (or None on an add form) and is expected to return a list of fields, as described above in the ModelAdmin.fields section.

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

Please login to continue.