[Python] Change model class name in django admin site

Discussão em 'Python' iniciado por Stack, Julho 16, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to change a model class name in Django admin interface. I have used class Meat; is there another way? any help would be greatly appreciated

    class Comment(models.Model):
    name = models.ForeignKey(User, null=False, on_delete=models.CASCADE)

    class Meat:
    verbose_name = 'Comment'
    verbose_name_plural = 'User comment settings'

    Continue reading...

Compartilhe esta Página