You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
373 B
15 lines
373 B
from django.contrib import admin
|
|
|
|
from .models import InvoiceHistory, WithDraw
|
|
|
|
|
|
class InvoiceHistoryAdmin(admin.ModelAdmin):
|
|
list_display = ('comment', 'sum', 'user','balance',)
|
|
|
|
|
|
class WithDrawAdmin(admin.ModelAdmin):
|
|
list_display = ('sum','created','user',)
|
|
|
|
|
|
admin.site.register(InvoiceHistory, InvoiceHistoryAdmin)
|
|
admin.site.register(WithDraw, WithDrawAdmin)
|
|
|