from django.contrib import admin
from .models import Article
# Register your models here.


@admin.register(Article)
class ArticleModel(admin.ModelAdmin):
    list_filter = ('subject', 'date_of_publish', 'state')
    list_display = ('subject', 'date_of_publish', 'state')
    date_hierarchy = ('date_of_publish')

15f11fae7dbededb6aaf3292c8e211a9b86c605d
<mask token>

<mask token>


@admin.register(Article)
class ArticleModel(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>

<mask token>


@admin.register(Article)
class ArticleModel(admin.ModelAdmin):
    list_filter = 'subject', 'date_of_publish', 'state'
    list_display = 'subject', 'date_of_publish', 'state'
    date_hierarchy = 'date_of_publish'

from django.contrib import admin
from .models import Article


@admin.register(Article)
class ArticleModel(admin.ModelAdmin):
    list_filter = 'subject', 'date_of_publish', 'state'
    list_display = 'subject', 'date_of_publish', 'state'
    date_hierarchy = 'date_of_publish'

from django.contrib import admin
from .models import Article
# Register your models here.


@admin.register(Article)
class ArticleModel(admin.ModelAdmin):
    list_filter = ('subject', 'date_of_publish', 'state')
    list_display = ('subject', 'date_of_publish', 'state')
    date_hierarchy = ('date_of_publish')
