Commit 57728b6a authored by Amap's avatar Amap
Browse files

Historique des commandes

parent 7edec790
...@@ -8,7 +8,7 @@ from .models import Panier, Commande, Credit, Paiement, Livraison ...@@ -8,7 +8,7 @@ from .models import Panier, Commande, Credit, Paiement, Livraison
class PanierAdmin(VersionAdmin): class PanierAdmin(VersionAdmin):
list_display = ('prix','nom') list_display = ('prix','nom')
class CommandeAdmin(admin.ModelAdmin): class CommandeAdmin(VersionAdmin):
list_display = ('user', 'quantite', 'prix_unitaire', 'nom', 'livre', 'date') list_display = ('user', 'quantite', 'prix_unitaire', 'nom', 'livre', 'date')
class CreditAdmin(VersionAdmin): class CreditAdmin(VersionAdmin):
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('panier', '0006_livraison_date_modif'),
operations = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment