from django.contrib import admin
from .models import User,Post,Personal,Fav
from django.contrib.auth.models import User

# Register your models here.



@admin.register(Post)
class AdminPost(admin.ModelAdmin):
    list_display=['id','user','title','body']

@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display=['firstname','lastname']





21dfb4f55980122a03964a7ad83891cfac8a876c
<mask token>


@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display = ['firstname', 'lastname']

<mask token>


@admin.register(Post)
class AdminPost(admin.ModelAdmin):
    <mask token>


@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display = ['firstname', 'lastname']

<mask token>


@admin.register(Post)
class AdminPost(admin.ModelAdmin):
    list_display = ['id', 'user', 'title', 'body']


@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display = ['firstname', 'lastname']

from django.contrib import admin
from .models import User, Post, Personal, Fav
from django.contrib.auth.models import User


@admin.register(Post)
class AdminPost(admin.ModelAdmin):
    list_display = ['id', 'user', 'title', 'body']


@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display = ['firstname', 'lastname']

from django.contrib import admin
from .models import User,Post,Personal,Fav
from django.contrib.auth.models import User

# Register your models here.



@admin.register(Post)
class AdminPost(admin.ModelAdmin):
    list_display=['id','user','title','body']

@admin.register(Personal)
class AdminPersonal(admin.ModelAdmin):
    list_display=['firstname','lastname']




