Skip to content

Commit

Permalink
feat: исправлена опечатка.
Browse files Browse the repository at this point in the history
  • Loading branch information
menma331 committed Mar 8, 2024
1 parent 6e613c7 commit 7f70608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/products/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.contrib import admin
from django.utils.safestring import mark_safe, SafeString

from common.admin import ModelaAdminWithImage
from common.admin import ModelAdminWithImage
from .models import products, providers
from .models import categories

Expand Down Expand Up @@ -146,7 +146,7 @@ def list_images(self, obj: Product) -> Union[str, SafeString]:

# region -------------------------- CATEGORY ADMIN -----------------------------------
@admin.register(categories.Category)
class CategoryAdmin(ModelaAdminWithImage):
class CategoryAdmin(ModelAdminWithImage):
"""
Модель админа категории.
Expand Down

0 comments on commit 7f70608

Please sign in to comment.