Commit b963cf3b authored by nekopilar's avatar nekopilar

added replyadmin

parent dde658f8
from django.contrib import admin
from .models import Post
from .models import Post, Reply
class PostAdmin(admin.ModelAdmin):
model = Post
class ReplyAdmin(admin.ModelAdmin):
model = Reply
admin.site.register(Post, PostAdmin)
admin.site.register(Reply, ReplyAdmin)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment