from django.contrib import admin
from .models import *


class TpyeInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'ttitle']


class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 15
    list_display = ['id', 'gtitle', 'gprice', 'gclick', 'gkucun', 'gtype']


admin.site.register(TypeInfo, TpyeInfoAdmin)
admin.site.register(GoodInfo, GoodsInfoAdmin)

2ee0be1ba62dc26289e656a690c0bfea4e1936e4
<mask token>


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


<mask token>

<mask token>


class TpyeInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'ttitle']


class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 15
    list_display = ['id', 'gtitle', 'gprice', 'gclick', 'gkucun', 'gtype']


<mask token>

<mask token>


class TpyeInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'ttitle']


class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 15
    list_display = ['id', 'gtitle', 'gprice', 'gclick', 'gkucun', 'gtype']


admin.site.register(TypeInfo, TpyeInfoAdmin)
admin.site.register(GoodInfo, GoodsInfoAdmin)

from django.contrib import admin
from .models import *


class TpyeInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'ttitle']


class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 15
    list_display = ['id', 'gtitle', 'gprice', 'gclick', 'gkucun', 'gtype']


admin.site.register(TypeInfo, TpyeInfoAdmin)
admin.site.register(GoodInfo, GoodsInfoAdmin)
