0

I have two models, something like this:

class Category(models.Model):
    title = models.CharField(max_length=32)
    date_created = models.DateTimeField(auto_now_add=True)


class Post(models.Model):
    title = models.CharField(max_length=64)
    text = models.TextField()
    parent = models.ForeignKey(Category, on_delete=models.CASCADE)

Please tell me, is it possible to display these models in the standard Django admin panel like this:

enter image description here

perhaps there is some extension to implement verbose output?

virvaldium
  • 226
  • 3
  • 13

0 Answers0