示例#1
0
文件: admin.py 项目: jurdin32/ecShop
class AdminClientes(admin.ModelAdmin):
    list_display = Attr(Clientes)
    list_display_links = Attr(Clientes)
    inlines = [inLineDirecciones, inLineTelefonos]
示例#2
0
文件: admin.py 项目: jurdin32/ecShop
class AdminPagos(admin.ModelAdmin):
    list_display = Attr(Pagos)
    list_display_links = Attr(Pagos)
示例#3
0
class AdminProvincia(admin.ModelAdmin):
    list_display_links = Attr(Pais)
    list_display = Attr(Pais)
    inlines = [InLineCiudad]
示例#4
0
class AdminIcono(admin.ModelAdmin):
    list_display_links = Attr(Iconos)
    list_display = Attr(Iconos) + ["miniatura"]
示例#5
0
class AdminCalificacionProductos(admin.ModelAdmin):
    list_display = Attr(CalificarProductos)
    list_display_links = Attr(CalificarProductos)
示例#6
0
文件: admin.py 项目: jurdin32/ecShop
class AdminTiendas(admin.ModelAdmin):
    list_display = Attr(Tiendas)
    list_display_links = Attr(Tiendas)
    readonly_fields = ["hashes"]
示例#7
0
文件: admin.py 项目: jurdin32/ecShop
class AdminProductos(admin.ModelAdmin):
    list_display_links = Attr(Productos)
    list_display = ["miniatura"] + Attr(Productos)
    inlines = [InlineFotosProducto]
    readonly_fields = ["puntuacion"]
示例#8
0
文件: admin.py 项目: jurdin32/ecShop
class AdminCompras(admin.ModelAdmin):
    list_display_links = Attr(Compras)
    list_display = Attr(Compras)
示例#9
0
文件: admin.py 项目: jurdin32/ecShop
class AdminMarcas(admin.ModelAdmin):
    list_display_links = Attr(Marcas)
    list_display = Attr(Marcas) + ["miniatura"]
示例#10
0
文件: admin.py 项目: jurdin32/ecShop
class AdminAdds(admin.ModelAdmin):
    list_display = Attr(Adds) + ["miniatura"]
    list_display_links = Attr(Adds)
示例#11
0
文件: admin.py 项目: jurdin32/ecShop
class AdminCategorias(admin.ModelAdmin):
    list_display_links = Attr(Categorias)
    list_display = Attr(Categorias) + ["miniatura"]
示例#12
0
class AdminSlider(admin.ModelAdmin):
    list_display = Attr(Slider)
    list_display_links = Attr(Slider)
示例#13
0
class AdminPopup(admin.ModelAdmin):
    list_display = Attr(Popup)
    list_display_links = Attr(Popup)
示例#14
0
文件: admin.py 项目: jurdin32/ecShop
class AdminListaDeseos(admin.ModelAdmin):
    list_display = Attr(ListaDeseos)
    list_display_links = Attr(ListaDeseos)
示例#15
0
文件: admin.py 项目: jurdin32/ecShop
class AdminKardex(admin.ModelAdmin):
    list_display = Attr(Kardex)
    list_display_links = Attr(Kardex)
示例#16
0
文件: admin.py 项目: jurdin32/ecShop
class AdminCarrito(admin.ModelAdmin):
    list_display = Attr(Carrito)
    list_display_links = Attr(Carrito)
示例#17
0
文件: admin.py 项目: jurdin32/ecShop
class AdminTiendaCategoria(admin.ModelAdmin):
    list_display = Attr(TiendaCategoria) + ["id_Categoria"]
    list_display_links = Attr(TiendaCategoria)
示例#18
0
文件: admin.py 项目: jurdin32/ecShop
class AdminDetalleCarrito(admin.ModelAdmin):
    list_display = Attr(DetallesCarrito)
    list_display_links = Attr(DetallesCarrito)
示例#19
0
class AdminColorInterfaz(admin.ModelAdmin):
    list_display_links = Attr(ColorInterfaz)
    list_display = Attr(ColorInterfaz)+["colores"]