SGL avec une premiere implementation de SSO

This commit is contained in:
2026-08-03 14:31:48 +00:00
parent 76b9422d4c
commit 1e477287da
358 changed files with 798 additions and 745 deletions

View File

@@ -1,3 +1,13 @@
from django.contrib import admin # noqa: F401
from .models import Categorie, Produit
# Register your models here.
@admin.register(Categorie)
class CategorieAdmin(admin.ModelAdmin):
list_display = ('categorie',)
search_fields = ('categorie',)
@admin.register(Produit)
class ProduitAdmin(admin.ModelAdmin):
list_display = ('libelle', 'quantite_stock', 'conditionnement', 'seuil_pre_rupture', 'categorie')
list_filter = ('categorie', 'conditionnement')
search_fields = ('libelle',)

Some files were not shown because too many files have changed in this diff Show More