from django.contrib import admin
from profuser.models import UserInfo, Refery, Viplati

#Фильтры
class ViplatiAdmin(admin.ModelAdmin):
	list_filter = ('ub_date', 'sum')
	list_display = ('user', 'sum', 'sys_viplat', 'ub_date', 'odobren')

class UserInfoAdmin(admin.ModelAdmin):
	#list_filter = ('nick', 'user')
	list_display = ('user', 'rating', 'schet_lich')
	
admin.site.register(Refery)
admin.site.register(Viplati, ViplatiAdmin)
admin.site.register(UserInfo, UserInfoAdmin)

372394daf9af240e9200bb4ffa3070041d4c92c6
<mask token>


class ViplatiAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


class UserInfoAdmin(admin.ModelAdmin):
    list_display = 'user', 'rating', 'schet_lich'


<mask token>

<mask token>


class ViplatiAdmin(admin.ModelAdmin):
    list_filter = 'ub_date', 'sum'
    list_display = 'user', 'sum', 'sys_viplat', 'ub_date', 'odobren'


class UserInfoAdmin(admin.ModelAdmin):
    list_display = 'user', 'rating', 'schet_lich'


<mask token>

<mask token>


class ViplatiAdmin(admin.ModelAdmin):
    list_filter = 'ub_date', 'sum'
    list_display = 'user', 'sum', 'sys_viplat', 'ub_date', 'odobren'


class UserInfoAdmin(admin.ModelAdmin):
    list_display = 'user', 'rating', 'schet_lich'


admin.site.register(Refery)
admin.site.register(Viplati, ViplatiAdmin)
admin.site.register(UserInfo, UserInfoAdmin)

from django.contrib import admin
from profuser.models import UserInfo, Refery, Viplati


class ViplatiAdmin(admin.ModelAdmin):
    list_filter = 'ub_date', 'sum'
    list_display = 'user', 'sum', 'sys_viplat', 'ub_date', 'odobren'


class UserInfoAdmin(admin.ModelAdmin):
    list_display = 'user', 'rating', 'schet_lich'


admin.site.register(Refery)
admin.site.register(Viplati, ViplatiAdmin)
admin.site.register(UserInfo, UserInfoAdmin)

from django.contrib import admin
from profuser.models import UserInfo, Refery, Viplati

#Фильтры
class ViplatiAdmin(admin.ModelAdmin):
	list_filter = ('ub_date', 'sum')
	list_display = ('user', 'sum', 'sys_viplat', 'ub_date', 'odobren')

class UserInfoAdmin(admin.ModelAdmin):
	#list_filter = ('nick', 'user')
	list_display = ('user', 'rating', 'schet_lich')
	
admin.site.register(Refery)
admin.site.register(Viplati, ViplatiAdmin)
admin.site.register(UserInfo, UserInfoAdmin)
