<gh_stars>0
from django.contrib import admin
from .models import News
# Register your models here.
@admin.register(News)
class AdminNews(admin.ModelAdmin):
    list_display = ('title','date','source',)
    list_filter = ('date',)

from django.contrib import admin
from .models import News
# Register your models here.
@admin.register(News)
class AdminNews(admin.ModelAdmin):
    list_display = ('title','date','source',)
    list_filter = ('date',)
# Register your models here.