from django.contrib import admin
from .models import Offer, Perk, Funding, Spent
class OfferAdmin(admin.ModelAdmin):
model = Offer
from django.contrib import admin
from .models import Offer, Perk, Funding, Spent
class OfferAdmin(admin.ModelAdmin):
model = Offer
- list_display = ['title', 'author', 'target', 'sum', 'is_win', 'start', 'end', 'due']
+ list_display = ['title', 'author', 'target', 'sum', 'is_win', 'start', 'end']
- list_display = ['name', 'price', 'end_date', 'offer']
+ list_display = ['name', 'long_name', 'price', 'end_date', 'offer']