from django.contrib import admin
from home.models import post,intresting_url,unintresting_url,Category
# Register your models here.
@admin.register(post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['id','title','company','address','validthrough','datePosted','category']

@admin.register(intresting_url)
class InterstingAdmin(admin.ModelAdmin):
    list_display = ['id','url']


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id','url']

@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id','name']

80c0c224fe20dafa6f36fdaefa99b0767bc6b0b0
<mask token>


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']

<mask token>


@admin.register(post)
class PostAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(intresting_url)
class InterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']

<mask token>


@admin.register(post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['id', 'title', 'company', 'address', 'validthrough',
        'datePosted', 'category']


@admin.register(intresting_url)
class InterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']

from django.contrib import admin
from home.models import post, intresting_url, unintresting_url, Category


@admin.register(post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['id', 'title', 'company', 'address', 'validthrough',
        'datePosted', 'category']


@admin.register(intresting_url)
class InterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id', 'url']


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']

from django.contrib import admin
from home.models import post,intresting_url,unintresting_url,Category
# Register your models here.
@admin.register(post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['id','title','company','address','validthrough','datePosted','category']

@admin.register(intresting_url)
class InterstingAdmin(admin.ModelAdmin):
    list_display = ['id','url']


@admin.register(unintresting_url)
class UnInterstingAdmin(admin.ModelAdmin):
    list_display = ['id','url']

@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id','name']
