8 lines
222 B
Python
8 lines
222 B
Python
from django.contrib import admin
|
|
from buyer.models import Card
|
|
|
|
class CardAdmin(admin.ModelAdmin):
|
|
list_display = ["number", "purchased", "delivered"]
|
|
ordering = ["delivered"]
|
|
|
|
admin.site.register(Card, CardAdmin)
|