<|file_name|>admin.py<|end_file_name|><｜fim▁begin｜>from django.contrib import admin

from .models import BackgroundImages, Widget


class WidgetAdmin(admin.ModelAdmin):
    list_display = ('name', 'link', 'is_featured')
    ordering = ('-id',)


class BackgroundAdmin(admin.ModelAdmin):
    <|fim_middle|>



admin.site.register(Widget, WidgetAdmin)
admin.site.register(BackgroundImages, BackgroundAdmin)
<｜fim▁end｜>
    list_display = ('name', 'created_at')
    ordering = ('-id',)