I\'m trying to get an attribute of a model to show up in the Django admin change/add page of another model. Here are my models:
class Download(model.Model):
If you don't need to edit it, you can display it as a readonly field:
class DownloadAdmin(admin.ModelAdmin): readonly_fields = ('task_added_at',) def task_added_at(self, obj): return obj.task.added_at