[Answer]-Django admin – Foreign key to display its values (not inlines)

1👍

You can use

  class RecordAdmin(admin.ModelAdmin):
  list_display = ('pre_observation__pre_observation_standard_1', 
                'pre_observation__pre_observation_standard_2', )

  admin.site.register(Record, RecordAdmin)
👤arjun

Leave a comment