Commit fef9d6cb authored by Rurik Serzo's avatar Rurik Serzo

created post admin

parent d868aa1d
from django.contrib import admin from django.contrib import admin
# Register your models here. from .models import Post
class PostAdmin(admin.ModelAdmin):
model = Post
admin.site.register(Post, PostAdmin)
\ 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