Please explain different name of colection in admin panel?! :O

Hi,
so i am going step by step django tutorial and i see that it changes the name, please explain, thank you

profiles->profiless

models.py

from django.db import models

# Create your models here.


class profiles(models.Model):
    name_txt = models.CharField(max_length=200)
    group = models.CharField(max_length=200)

    def __str__(self):
        return self.name_txt

ulrs.py

from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path('profiles/', include('profiles.urls')),
    path('admin/', admin.site.urls),
]

But when i clic Profiless

it show profiles
Screenshot from 2021-04-12 00-00-27

See the Model Meta options docs for verbose_name_plural.

1 Like

Thank you,
now its good :slight_smile: