gealogiuya
Some checks failed
Deploy Django Application to Server / deploy (push) Failing after 19s
Telegram Notifications / Telegram Gate (push) Failing after 5s

This commit is contained in:
2026-02-27 14:56:23 +05:00
commit 0229a0595c
118 changed files with 33948 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from django.db import models
from django.utils.translation import gettext_lazy as _
from apps.shared.models import AbstractBaseModel
class Category(AbstractBaseModel):
name = models.CharField(max_length=255, verbose_name=_("Nomi"))
class Meta:
verbose_name = _("Kategoriya")
verbose_name_plural = _("Kategoriyalar")
ordering = ["-created_at"]
def __str__(self) -> str:
return self.name