How display 2 model tables on 1 admin page

I have a general error model and "child models" I want to display all the tables of child models on the error page. Example:

#models.py

class Errors(models.Model):
    class Meta:
        verbose_name = "Errors"

class Error1(models.Model):
    error1 = models.TextField(('Error1'), blank=True, null=True)

class Error2(models.Model):
    error2 = models.TextField(('Error2'), blank=True, null=True)

class Error3(models.Model):
    error3 = models.TextField(('Error3'), blank=True, null=True)

#admin.py

@admin.register(Errors)
class ErrorsAdmin(admin.ModelAdmin):
    change_list_template = 'admin/errors/errors.html'
    ...
Back to Top