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',)
1.4m articles
1.4m replys
5 comments
57.0k users