Django admin: How to display a field that is marked as editable=False in the model?

28 Sep · by Tim Kamanin · 1 min read

Use Readonly Fields, example:

class MyModelAdmin(admin.ModelAdmin):
  readonly_fields=('first',)

Comments

Required for comment verification