comment create and get view
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user