from django.contrib import admin
from Account.models import User,Buyer,Seller

# Register your models here.
class UserAdmin(admin.ModelAdmin):
    fields = ('username', 'email', 'password', 'is_seller', 'is_buyer')
    list_display = ('username', 'email', 'is_seller', 'is_buyer')
    

admin.site.register(User,UserAdmin)
admin.site.register(Buyer)
admin.site.register(Seller)
4f86ea27de9f0f64a87ace7fee59c6485890b2dd
<mask token>


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


<mask token>

<mask token>


class UserAdmin(admin.ModelAdmin):
    fields = 'username', 'email', 'password', 'is_seller', 'is_buyer'
    list_display = 'username', 'email', 'is_seller', 'is_buyer'


<mask token>

<mask token>


class UserAdmin(admin.ModelAdmin):
    fields = 'username', 'email', 'password', 'is_seller', 'is_buyer'
    list_display = 'username', 'email', 'is_seller', 'is_buyer'


admin.site.register(User, UserAdmin)
admin.site.register(Buyer)
admin.site.register(Seller)

from django.contrib import admin
from Account.models import User, Buyer, Seller


class UserAdmin(admin.ModelAdmin):
    fields = 'username', 'email', 'password', 'is_seller', 'is_buyer'
    list_display = 'username', 'email', 'is_seller', 'is_buyer'


admin.site.register(User, UserAdmin)
admin.site.register(Buyer)
admin.site.register(Seller)

from django.contrib import admin
from Account.models import User,Buyer,Seller

# Register your models here.
class UserAdmin(admin.ModelAdmin):
    fields = ('username', 'email', 'password', 'is_seller', 'is_buyer')
    list_display = ('username', 'email', 'is_seller', 'is_buyer')
    

admin.site.register(User,UserAdmin)
admin.site.register(Buyer)
admin.site.register(Seller)