0

I search to retrieve form data (in case of change view) in a ModelAdmin class custom method :

Here what i want to be able to do :

class MyModelAdmin(admin.ModelAdmin):
    def custom_method(self):
        pprint(self.data['myfield'])

I can't change custom_method prototype.

Thanks for your help.

fabien-michel
  • 1,873
  • 19
  • 38

0 Answers0