2021-03-07 18:15:29 +01:00
|
|
|
from django.contrib import admin
|
2021-03-09 22:03:17 +01:00
|
|
|
from .models import Post, Comment
|
|
|
|
|
|
|
|
@admin.register(Post)
|
|
|
|
class PostAdmin(admin.ModelAdmin):
|
|
|
|
pass
|
|
|
|
|
|
|
|
@admin.register(Comment)
|
|
|
|
class CommentAdmin(admin.ModelAdmin):
|
|
|
|
pass
|
2021-03-07 18:15:29 +01:00
|
|
|
|