Пример #1
0
class AdminClientes(admin.ModelAdmin):
    list_display = Attr(Clientes)
    list_display_links = Attr(Clientes)
    inlines = [inLineDirecciones, inLineTelefonos]
Пример #2
0
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
class AdminTiendas(admin.ModelAdmin):
    list_display = Attr(Tiendas)
    list_display_links = Attr(Tiendas)
    readonly_fields = ["hashes"]
Пример #7
0
class AdminProductos(admin.ModelAdmin):
    list_display_links = Attr(Productos)
    list_display = ["miniatura"] + Attr(Productos)
    inlines = [InlineFotosProducto]
    readonly_fields = ["puntuacion"]
Пример #8
0
class AdminCompras(admin.ModelAdmin):
    list_display_links = Attr(Compras)
    list_display = Attr(Compras)
Пример #9
0
class AdminMarcas(admin.ModelAdmin):
    list_display_links = Attr(Marcas)
    list_display = Attr(Marcas) + ["miniatura"]
Пример #10
0
class AdminAdds(admin.ModelAdmin):
    list_display = Attr(Adds) + ["miniatura"]
    list_display_links = Attr(Adds)
Пример #11
0
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
class AdminListaDeseos(admin.ModelAdmin):
    list_display = Attr(ListaDeseos)
    list_display_links = Attr(ListaDeseos)
Пример #15
0
class AdminKardex(admin.ModelAdmin):
    list_display = Attr(Kardex)
    list_display_links = Attr(Kardex)
Пример #16
0
class AdminCarrito(admin.ModelAdmin):
    list_display = Attr(Carrito)
    list_display_links = Attr(Carrito)
Пример #17
0
class AdminTiendaCategoria(admin.ModelAdmin):
    list_display = Attr(TiendaCategoria) + ["id_Categoria"]
    list_display_links = Attr(TiendaCategoria)
Пример #18
0
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"]