Even though a field is marked as 'editable=False' in the model, I would like the admin page to display it. Currently it hides the field altogether.. How can this be achieved ?
'editable=False'
Use Readonly Fields. Like so (for django >= 1.2):
class MyModelAdmin(admin.ModelAdmin): readonly_fields=('first',)
2.1m questions
2.1m answers
60 comments
57.0k users