comment create and get view

This commit is contained in:
Parsa Nazer
2024-12-12 18:07:17 +03:30
parent f1659f4289
commit 30f5ca97f1
9 changed files with 207 additions and 5 deletions
+12 -1
View File
@@ -1,3 +1,14 @@
from django.contrib import admin
from .models import *
from unfold.admin import ModelAdmin
# Register your models here.
@admin.register(Product)
class ProductAdmin(ModelAdmin):
pass
@admin.register(CommentModel)
class CommentAdmin(ModelAdmin):
pass