[Fixed]-Override default display of Custom field in Django admin site

1👍

Never mind, I have found the answer here:

https://stackoverflow.com/a/11942954/3870344

Basically, we need to create the custom form, and in the form override the display value by calling: self.initial['some_field'] = some_encoding_method(self.instance.some_field)

Cheers!

Leave a comment