diff --git a/.gitignore b/.gitignore index a394e85..122fe02 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,11 @@ .ruff_cache/ .coverage +__pycache__/*.pyc +db.sqlite3 +venv/ +media/ +staticfiles/ +.env +migrations/ +*.pyc db.sqlite3 -__pycache__/*.pyc \ No newline at end of file diff --git a/SGL/__init__.py:Zone.Identifier b/SGL/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__init__.py:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/__init__.cpython-310.pyc b/SGL/__pycache__/__init__.cpython-310.pyc index 08bb9ac..e52329a 100644 Binary files a/SGL/__pycache__/__init__.cpython-310.pyc and b/SGL/__pycache__/__init__.cpython-310.pyc differ diff --git a/SGL/__pycache__/__init__.cpython-310.pyc:Zone.Identifier b/SGL/__pycache__/__init__.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/__init__.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/__init__.cpython-313.pyc:Zone.Identifier b/SGL/__pycache__/__init__.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/__init__.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/settings.cpython-310.pyc b/SGL/__pycache__/settings.cpython-310.pyc index a13e9eb..ac8bfd9 100644 Binary files a/SGL/__pycache__/settings.cpython-310.pyc and b/SGL/__pycache__/settings.cpython-310.pyc differ diff --git a/SGL/__pycache__/settings.cpython-310.pyc:Zone.Identifier b/SGL/__pycache__/settings.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/settings.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/settings.cpython-313.pyc:Zone.Identifier b/SGL/__pycache__/settings.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/settings.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/urls.cpython-310.pyc b/SGL/__pycache__/urls.cpython-310.pyc index 4ce8ae8..f23de2a 100644 Binary files a/SGL/__pycache__/urls.cpython-310.pyc and b/SGL/__pycache__/urls.cpython-310.pyc differ diff --git a/SGL/__pycache__/urls.cpython-310.pyc:Zone.Identifier b/SGL/__pycache__/urls.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/urls.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/urls.cpython-313.pyc:Zone.Identifier b/SGL/__pycache__/urls.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/urls.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/views.cpython-310.pyc b/SGL/__pycache__/views.cpython-310.pyc index 0c78597..2e1a5b2 100644 Binary files a/SGL/__pycache__/views.cpython-310.pyc and b/SGL/__pycache__/views.cpython-310.pyc differ diff --git a/SGL/__pycache__/views.cpython-310.pyc:Zone.Identifier b/SGL/__pycache__/views.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/views.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/views.cpython-313.pyc:Zone.Identifier b/SGL/__pycache__/views.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/views.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/wsgi.cpython-310.pyc b/SGL/__pycache__/wsgi.cpython-310.pyc index 9b653ca..e784d0f 100644 Binary files a/SGL/__pycache__/wsgi.cpython-310.pyc and b/SGL/__pycache__/wsgi.cpython-310.pyc differ diff --git a/SGL/__pycache__/wsgi.cpython-310.pyc:Zone.Identifier b/SGL/__pycache__/wsgi.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/wsgi.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/__pycache__/wsgi.cpython-313.pyc:Zone.Identifier b/SGL/__pycache__/wsgi.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/__pycache__/wsgi.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/SGL/asgi.py:Zone.Identifier b/SGL/asgi.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/asgi.py:Zone.Identifier and /dev/null differ diff --git a/SGL/settings.py b/SGL/settings.py index a2e3768..c627a86 100644 --- a/SGL/settings.py +++ b/SGL/settings.py @@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/5.2/ref/settings/ from pathlib import Path from os.path import join +from decouple import config # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -21,13 +22,12 @@ BASE_DIR = Path(__file__).resolve().parent.parent # See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = "django-insecure-3mmf81^pt+k6-^dj$n2&*kvf6m09n5i%*+ajv70(ynaxifj5fg" +SECRET_KEY = config("SECRET_KEY") # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True - -ALLOWED_HOSTS = [] +DEBUG = config("DEBUG", cast=bool) +ALLOWED_HOSTS = config("ALLOWED_HOSTS", default=[]).split(",") # Application definition @@ -44,6 +44,18 @@ INSTALLED_APPS = [ "authentification", ] +# LOGIN_URL = '/client/' +LOGIN_URL = 'simple-sso-login' + +SIMPLE_SSO_SECRET = config("SIMPLE_SSO_SECRET") +SIMPLE_SSO_KEY = config("SIMPLE_SSO_KEY") +SIMPLE_SSO_SERVER = config("SIMPLE_SSO_SERVER") +#SSO_LOGOUT_URL = + +AUTHENTICATION_BACKENDS = ( + 'django.contrib.auth.backends.ModelBackend', +) + MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", @@ -52,6 +64,8 @@ MIDDLEWARE = [ "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", + + #'simple_sso.sso_client.middleware.PostAuthenticationMiddleware', ] ROOT_URLCONF = "SGL.urls" @@ -78,13 +92,16 @@ WSGI_APPLICATION = "SGL.wsgi.application" # https://docs.djangoproject.com/en/5.2/ref/settings/#databases DATABASES = { - "default": { - "ENGINE": "django.db.backends.sqlite3", - "NAME": BASE_DIR / "db.sqlite3", + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': config("DB_NAME"), + 'USER': config("DB_USER"), + 'PASSWORD': config("DB_PASSWORD"), + 'HOST': config("DB_HOST"), + 'PORT': config("DB_PORT", default=3306, cast=int), } } - # Password validation # https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators @@ -134,14 +151,12 @@ MEDIA_URL = "/media/" MEDIA_ROOT = BASE_DIR / "media" # Gestion de l'envoi des mails -EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" -EMAIL_HOST = "ssl0.ovh.net" -EMAIL_PORT = 465 -EMAIL_USE_SSL = False -EMAIL_USE_TLS = False -EMAIL_HOST_USER = "support.it@cerfig.org" -EMAIL_HOST_PASSWORD = "Cerfig2025" -DEFAULT_FROM_EMAIL = EMAIL_HOST_USER -EMAIL_TIMEOUT = 10 - -# ALLOWED_HOSTS = ['support.cerfig.org', '41.223.50.187', 'localhost', '127.0.0.1'] +# EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" +# EMAIL_HOST = "ssl0.ovh.net" +# EMAIL_PORT = 465 +# EMAIL_USE_SSL = False +# EMAIL_USE_TLS = False +# EMAIL_HOST_USER = "support.it@cerfig.org" +# EMAIL_HOST_PASSWORD = "Cerfig2025" +# DEFAULT_FROM_EMAIL = EMAIL_HOST_USER +# EMAIL_TIMEOUT = 10 diff --git a/SGL/settings.py:Zone.Identifier b/SGL/settings.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/settings.py:Zone.Identifier and /dev/null differ diff --git a/SGL/sso.py b/SGL/sso.py new file mode 100644 index 0000000..a688eaa --- /dev/null +++ b/SGL/sso.py @@ -0,0 +1,34 @@ +# SGL/sso.py +from authentification.models import Profile, Departement +from simple_sso.sso_client.client import Client +from django.contrib.auth import get_user_model +from django.contrib.auth.models import Group + +User = get_user_model() + +class SGLClient(Client): + def build_user(self, user_data): + """Crée le User et son Profile avec les infos reçues du serveur.""" + user_data_copy = user_data.copy() + user_data.pop("departement") + user_data.pop("chef_departement") + user_data.pop("groups") + + user = super().build_user(user_data) + departement = Departement.objects.get_or_create( + nom_departement=user_data_copy.get("departement", "") + )[0] + + Profile.objects.update_or_create( + user=user, + defaults={ + "departement": departement, + "chef_departement": user_data_copy.get("chef_departement", ""), + } + ) + + for group_name in user_data_copy.get("groups", []): + group, _ = Group.objects.get_or_create(name=group_name) + user.groups.add(group) + + return user diff --git a/SGL/templates/BASE.html b/SGL/templates/BASE.html index c33f25c..ce30b89 100644 --- a/SGL/templates/BASE.html +++ b/SGL/templates/BASE.html @@ -14,95 +14,11 @@
-
-
- - {% if user|has_group:"Administration" %} - - - Tableau de bord - - {% endif %} - - {% if user|has_group:"Employe" %} - - - Gestion des produits - - {% endif %} - - {% if user|has_group:"Administration" %} - - - Gestion des fournisseurs - - {% endif %} - - {% if user|has_group:"Employe" %} - - - Gestion des véhicules - - {% endif %} - - - Deconnexion - -
-
- - - +
+ {% include "parts/menu_application.html" %} + {% include "parts/navigation-ordinateur.html" %} + {% comment %} {% include "parts/navigation-mobile.html" %} {% endcomment %} +
{% block "contenu" %} {% endblock %}
diff --git a/SGL/templates/BASE.html:Zone.Identifier b/SGL/templates/BASE.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/templates/BASE.html:Zone.Identifier and /dev/null differ diff --git a/SGL/templates/emails/email_template.html:Zone.Identifier b/SGL/templates/emails/email_template.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/templates/emails/email_template.html:Zone.Identifier and /dev/null differ diff --git a/SGL/templates/emails/téléchargement.png:Zone.Identifier b/SGL/templates/emails/téléchargement.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/templates/emails/téléchargement.png:Zone.Identifier and /dev/null differ diff --git a/SGL/templates/index.html b/SGL/templates/index.html index 254269a..87fb111 100644 --- a/SGL/templates/index.html +++ b/SGL/templates/index.html @@ -44,161 +44,10 @@
- - - - - - - - - - - - - - +{% include "parts/modal_stock_rupture.html" %}- +{% include "parts/modal_liste_demandes.html" %}- +{% include "parts/modal_liste_commandes.html" %}- +{% include "parts/modal_equipement_a_rendre.html" %} {% endblock %} diff --git a/SGL/templates/index.html:Zone.Identifier b/SGL/templates/index.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/templates/index.html:Zone.Identifier and /dev/null differ diff --git a/SGL/templates/parts/menu_application.html b/SGL/templates/parts/menu_application.html new file mode 100644 index 0000000..46b6ab4 --- /dev/null +++ b/SGL/templates/parts/menu_application.html @@ -0,0 +1,8 @@ +
+ + SIRH + + + SGL + +
diff --git a/SGL/templates/parts/modal_equipement_a_rendre.html b/SGL/templates/parts/modal_equipement_a_rendre.html new file mode 100644 index 0000000..444d807 --- /dev/null +++ b/SGL/templates/parts/modal_equipement_a_rendre.html @@ -0,0 +1,22 @@ + + diff --git a/SGL/templates/parts/modal_liste_commandes.html b/SGL/templates/parts/modal_liste_commandes.html new file mode 100644 index 0000000..d4ef619 --- /dev/null +++ b/SGL/templates/parts/modal_liste_commandes.html @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/SGL/templates/parts/modal_liste_demandes.html b/SGL/templates/parts/modal_liste_demandes.html new file mode 100644 index 0000000..4ac3f47 --- /dev/null +++ b/SGL/templates/parts/modal_liste_demandes.html @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/SGL/templates/parts/modal_stock_rupture.html b/SGL/templates/parts/modal_stock_rupture.html new file mode 100644 index 0000000..f990ed6 --- /dev/null +++ b/SGL/templates/parts/modal_stock_rupture.html @@ -0,0 +1,15 @@ + + + diff --git a/SGL/templates/parts/navigation-mobile.html b/SGL/templates/parts/navigation-mobile.html new file mode 100644 index 0000000..3dfc105 --- /dev/null +++ b/SGL/templates/parts/navigation-mobile.html @@ -0,0 +1,51 @@ +{% load tags_personnaliser %} + +
+ +
\ No newline at end of file diff --git a/SGL/templates/parts/navigation-ordinateur.html b/SGL/templates/parts/navigation-ordinateur.html new file mode 100644 index 0000000..73b2b5b --- /dev/null +++ b/SGL/templates/parts/navigation-ordinateur.html @@ -0,0 +1,31 @@ +{% load tags_personnaliser %} + +
+ {% if user|has_group:"ressource_humaine" or user|has_group:"direction" %} + + + Tableau de bord + + {% endif %} + + + + Gestion des produits + + + {% if user|has_group:"ressource_humaine" or user|has_group:"direction" or user|has_group:"logistique" %} + + + Gestion des fournisseurs + + {% endif %} + + + + Gestion des véhicules + + + + Deconnexion + +
diff --git a/SGL/urls.py b/SGL/urls.py index 87b32fa..725eddb 100644 --- a/SGL/urls.py +++ b/SGL/urls.py @@ -21,10 +21,18 @@ from django.contrib import admin from django.urls import path, include from django.conf import settings -from django.conf.urls.static import static + +# from simple_sso.sso_client.client import Client +from .sso import SGLClient from . import views +my_client_1 = SGLClient( + settings.SIMPLE_SSO_SERVER, + settings.SIMPLE_SSO_KEY, + settings.SIMPLE_SSO_SECRET +) + urlpatterns = [ path( "", @@ -81,4 +89,6 @@ urlpatterns = [ views.produit_a_rendre_update, name="update-equipement-a-rendre", ), -] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + path("client/", include(my_client_1.get_urls())), +] +# + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/SGL/urls.py:Zone.Identifier b/SGL/urls.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/urls.py:Zone.Identifier and /dev/null differ diff --git a/SGL/views.py b/SGL/views.py index e3e5bcb..79cb4ce 100644 --- a/SGL/views.py +++ b/SGL/views.py @@ -6,14 +6,12 @@ Principales fonctionnalités couvertes : 3- Affichage des demandes en cours et validations des dites demandes. """ +import json from django.shortcuts import render, redirect from django.http import JsonResponse from gestion_produit.models import Commander, Demander, Produit -# from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required -import json - from gestion_produit.views import calcul_stock_produit @@ -53,7 +51,7 @@ def dashboard_quantite_produit(): } -@login_required(login_url="authentification:login") +@login_required def index(request): """Retournez la page d'accueil du dashboard. @@ -68,10 +66,10 @@ def index(request): La réponse HTTP contenant la page d'accueil du dashboard. """ - if request.user.groups.filter(name="Chauffeur").exists(): + if request.user.groups.filter(name="chauffeur").exists(): return redirect("gestion_vehicule:index") - if not request.user.groups.filter(name="Administration").exists(): + if not request.user.groups.filter(name="direction").exists(): return redirect("gestion_produit:index") commandes_en_cours = Commander.objects.filter(livrer=False) @@ -97,7 +95,7 @@ def index(request): }, ) -@login_required(login_url="login") +@login_required def produit_a_rendre(_request): """Retournez la liste des équipements à rendre. @@ -132,7 +130,7 @@ def produit_a_rendre(_request): return JsonResponse(liste_equipement, safe=False) -@login_required(login_url="login") +@login_required def produit_a_rendre_update(request): """Mettez à jour le statut des équipements à rendre. @@ -165,7 +163,7 @@ def produit_a_rendre_update(request): {"status": "success", "message": "Produits mis à jour"} ) -@login_required(login_url="login") +@login_required def liste_produit_rupture(request): """Vue pour obtenir la liste des produits en fonction de leur type. @@ -202,7 +200,7 @@ def liste_produit_rupture(request): return JsonResponse(donnees_charger, safe=False) -@login_required(login_url="login") +@login_required def liste_produit_commander(request): """Listez des produits commandés non encore livrés. @@ -238,7 +236,7 @@ def liste_produit_commander(request): return JsonResponse(ma_liste_commandes, safe=False) -@login_required(login_url="login") +@login_required def enregistrer_livraison_produit(request): """Enregistrez la livraison d'un produit commandé. @@ -280,7 +278,7 @@ def enregistrer_livraison_produit(request): ) -@login_required(login_url="login") +@login_required def liste_demandes(request): """Listez des demandes en cours de validation. diff --git a/SGL/views.py:Zone.Identifier b/SGL/views.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/views.py:Zone.Identifier and /dev/null differ diff --git a/SGL/wsgi.py:Zone.Identifier b/SGL/wsgi.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/SGL/wsgi.py:Zone.Identifier and /dev/null differ diff --git a/authentification/__init__.py:Zone.Identifier b/authentification/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/__init__.py:Zone.Identifier and /dev/null differ diff --git a/authentification/__pycache__/__init__.cpython-310.pyc b/authentification/__pycache__/__init__.cpython-310.pyc index 59bbc19..1a70bc6 100644 Binary files a/authentification/__pycache__/__init__.cpython-310.pyc and b/authentification/__pycache__/__init__.cpython-310.pyc differ diff --git a/authentification/__pycache__/admin.cpython-310.pyc b/authentification/__pycache__/admin.cpython-310.pyc index f405846..2e63d94 100644 Binary files a/authentification/__pycache__/admin.cpython-310.pyc and b/authentification/__pycache__/admin.cpython-310.pyc differ diff --git a/authentification/__pycache__/apps.cpython-310.pyc b/authentification/__pycache__/apps.cpython-310.pyc index b40788a..80fb2d1 100644 Binary files a/authentification/__pycache__/apps.cpython-310.pyc and b/authentification/__pycache__/apps.cpython-310.pyc differ diff --git a/authentification/__pycache__/models.cpython-310.pyc b/authentification/__pycache__/models.cpython-310.pyc index b44afed..72b7f9f 100644 Binary files a/authentification/__pycache__/models.cpython-310.pyc and b/authentification/__pycache__/models.cpython-310.pyc differ diff --git a/authentification/__pycache__/urls.cpython-310.pyc b/authentification/__pycache__/urls.cpython-310.pyc index d0bd64f..1bb6920 100644 Binary files a/authentification/__pycache__/urls.cpython-310.pyc and b/authentification/__pycache__/urls.cpython-310.pyc differ diff --git a/authentification/__pycache__/views.cpython-310.pyc b/authentification/__pycache__/views.cpython-310.pyc index ccfc794..04ee038 100644 Binary files a/authentification/__pycache__/views.cpython-310.pyc and b/authentification/__pycache__/views.cpython-310.pyc differ diff --git a/authentification/admin.py:Zone.Identifier b/authentification/admin.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/admin.py:Zone.Identifier and /dev/null differ diff --git a/authentification/apps.py b/authentification/apps.py index d71f4e3..505b48c 100644 --- a/authentification/apps.py +++ b/authentification/apps.py @@ -3,4 +3,4 @@ from django.apps import AppConfig class AuthentificationConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" - name = "authentification" + name = "authentification" \ No newline at end of file diff --git a/authentification/apps.py:Zone.Identifier b/authentification/apps.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/apps.py:Zone.Identifier and /dev/null differ diff --git a/authentification/migrations/__pycache__/0001_initial.cpython-310.pyc b/authentification/migrations/__pycache__/0001_initial.cpython-310.pyc index 969ae78..4cce212 100644 Binary files a/authentification/migrations/__pycache__/0001_initial.cpython-310.pyc and b/authentification/migrations/__pycache__/0001_initial.cpython-310.pyc differ diff --git a/authentification/migrations/__pycache__/__init__.cpython-310.pyc b/authentification/migrations/__pycache__/__init__.cpython-310.pyc index 3da86f0..29bec79 100644 Binary files a/authentification/migrations/__pycache__/__init__.cpython-310.pyc and b/authentification/migrations/__pycache__/__init__.cpython-310.pyc differ diff --git a/authentification/models.py b/authentification/models.py index 59c6531..08c67b7 100644 --- a/authentification/models.py +++ b/authentification/models.py @@ -3,8 +3,6 @@ from django.db import models from django.contrib.auth.models import User - -# Create your models here. class Departement(models.Model): """Modèle représentant un département.""" @@ -14,7 +12,6 @@ class Departement(models.Model): """Retourne une représentation en chaîne de caractères du dép.""" return self.nom_departement - class Profile(models.Model): """Modèle représentant le profil utilisateur. diff --git a/authentification/models.py:Zone.Identifier b/authentification/models.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/models.py:Zone.Identifier and /dev/null differ diff --git a/authentification/templatetags/__pycache__/__init__.cpython-310.pyc b/authentification/templatetags/__pycache__/__init__.cpython-310.pyc index 449d462..cbb1f2c 100644 Binary files a/authentification/templatetags/__pycache__/__init__.cpython-310.pyc and b/authentification/templatetags/__pycache__/__init__.cpython-310.pyc differ diff --git a/authentification/templatetags/__pycache__/tags_personnaliser.cpython-310.pyc b/authentification/templatetags/__pycache__/tags_personnaliser.cpython-310.pyc index e267942..6a0bc15 100644 Binary files a/authentification/templatetags/__pycache__/tags_personnaliser.cpython-310.pyc and b/authentification/templatetags/__pycache__/tags_personnaliser.cpython-310.pyc differ diff --git a/authentification/templatetags/tags_personnaliser.py b/authentification/templatetags/tags_personnaliser.py index 3765663..febc62d 100644 --- a/authentification/templatetags/tags_personnaliser.py +++ b/authentification/templatetags/tags_personnaliser.py @@ -5,7 +5,6 @@ la gestion de l'accès des utilisateurs aux différentes pages. """ from django import template -# from authentification.models import Profile register = template.Library() @@ -13,24 +12,3 @@ register = template.Library() def has_group(user, group_name): """Vérifiez si un utilisateur appartient à un groupe spécifique.""" return user.groups.filter(name=group_name).exists() - - -# On recupère l'utilisateur et le produit -## Si l'utilisateur n'est pas le chef d'un département, afficher simplement ses -# demandes -## Si l'utilisateur est un chef de département -### Afficher la liste de ses demandes -### Verifier pour chaque demande que l'utilisateur appartient à son departement -#### Si oui, afficher le produit -#### Si non, ne pas afficher le produit - - -# @register.filter -# def affichage_demande(user, demande): -# if user.profile.chef_departement: -# chef_profile = Profile.objects.get(id=user.profile) -# departement = chef_profile.departement -# ids_profils_departement = Profile.objects.filter(departement=departement)["id"] - -# return demande.user_id in ids_profils_departement -# return user.profile.id == demande.user_id diff --git a/authentification/tests.py:Zone.Identifier b/authentification/tests.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/tests.py:Zone.Identifier and /dev/null differ diff --git a/authentification/urls.py:Zone.Identifier b/authentification/urls.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/urls.py:Zone.Identifier and /dev/null differ diff --git a/authentification/views.py b/authentification/views.py index eb8a2cb..34961ac 100644 --- a/authentification/views.py +++ b/authentification/views.py @@ -1,32 +1,18 @@ """Vues pour l'authentification des utilisateurs.""" -from django.shortcuts import render, redirect -from django.contrib.auth import authenticate, login, logout -from django.contrib import messages +from django.contrib.auth import logout +from django.shortcuts import redirect +from django.urls import reverse_lazy -from SGL.views import index +from django.conf import settings def connexion(request): - """Gérez la connexion des utilisateurs.""" - if request.method == "POST": - username = request.POST["username"] - password = request.POST["password"] - - user = authenticate(username=username, password=password) - - if user is not None: - login(request, user) - return redirect(index) - messages.error(request, "Nom d'utilisateur ou mot de passe incorrect.") - - return render( - request, - "authentification/login.html", - ) + """Redirige vers le serveur SSO pour l'authentification.""" + return redirect(reverse_lazy("simple-sso-login")) def deconnexion(request): """Gérez la déconnexion des utilisateurs.""" logout(request) - return redirect("authentification:login") + return redirect(settings.SSO_LOGOUT_URL) \ No newline at end of file diff --git a/authentification/views.py:Zone.Identifier b/authentification/views.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/authentification/views.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/__init__.py:Zone.Identifier b/gestion_fournisseur/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/__init__.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/__pycache__/__init__.cpython-310.pyc b/gestion_fournisseur/__pycache__/__init__.cpython-310.pyc index 4a047fd..557b766 100644 Binary files a/gestion_fournisseur/__pycache__/__init__.cpython-310.pyc and b/gestion_fournisseur/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/admin.cpython-310.pyc b/gestion_fournisseur/__pycache__/admin.cpython-310.pyc index e0ef450..e945baf 100644 Binary files a/gestion_fournisseur/__pycache__/admin.cpython-310.pyc and b/gestion_fournisseur/__pycache__/admin.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/apps.cpython-310.pyc b/gestion_fournisseur/__pycache__/apps.cpython-310.pyc index fe89cf8..a8eca9d 100644 Binary files a/gestion_fournisseur/__pycache__/apps.cpython-310.pyc and b/gestion_fournisseur/__pycache__/apps.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/forms.cpython-310.pyc b/gestion_fournisseur/__pycache__/forms.cpython-310.pyc index cc927b3..a9e9ff4 100644 Binary files a/gestion_fournisseur/__pycache__/forms.cpython-310.pyc and b/gestion_fournisseur/__pycache__/forms.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/models.cpython-310.pyc b/gestion_fournisseur/__pycache__/models.cpython-310.pyc index 30d2abb..f6f3bc6 100644 Binary files a/gestion_fournisseur/__pycache__/models.cpython-310.pyc and b/gestion_fournisseur/__pycache__/models.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/urls.cpython-310.pyc b/gestion_fournisseur/__pycache__/urls.cpython-310.pyc index 3b78d04..793aa3d 100644 Binary files a/gestion_fournisseur/__pycache__/urls.cpython-310.pyc and b/gestion_fournisseur/__pycache__/urls.cpython-310.pyc differ diff --git a/gestion_fournisseur/__pycache__/views.cpython-310.pyc b/gestion_fournisseur/__pycache__/views.cpython-310.pyc index 5dd927b..dc017d0 100644 Binary files a/gestion_fournisseur/__pycache__/views.cpython-310.pyc and b/gestion_fournisseur/__pycache__/views.cpython-310.pyc differ diff --git a/gestion_fournisseur/admin.py:Zone.Identifier b/gestion_fournisseur/admin.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/admin.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/apps.py:Zone.Identifier b/gestion_fournisseur/apps.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/apps.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/forms.py:Zone.Identifier b/gestion_fournisseur/forms.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/forms.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/migrations/__pycache__/__init__.cpython-310.pyc b/gestion_fournisseur/migrations/__pycache__/__init__.cpython-310.pyc index 2e007aa..734ccb2 100644 Binary files a/gestion_fournisseur/migrations/__pycache__/__init__.cpython-310.pyc and b/gestion_fournisseur/migrations/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_fournisseur/models.py:Zone.Identifier b/gestion_fournisseur/models.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/models.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/templates/gestion_fournisseur/index.html b/gestion_fournisseur/templates/gestion_fournisseur/index.html index c5e7d3d..53aa628 100644 --- a/gestion_fournisseur/templates/gestion_fournisseur/index.html +++ b/gestion_fournisseur/templates/gestion_fournisseur/index.html @@ -9,7 +9,7 @@

LISTE DES FOURNISSEURS

- {% if user|has_group:"Logisticien" %} + {% if user|has_group:"logistique" %} -
- -
-
- +{% include "gestion_fournisseur/parts/modal_enregistrement_nouveau_fournisseur.html" %} + {% endblock %} {% block "js" %} diff --git a/gestion_fournisseur/templates/gestion_fournisseur/parts/modal_enregistrement_nouveau_fournisseur.html b/gestion_fournisseur/templates/gestion_fournisseur/parts/modal_enregistrement_nouveau_fournisseur.html new file mode 100644 index 0000000..89f397e --- /dev/null +++ b/gestion_fournisseur/templates/gestion_fournisseur/parts/modal_enregistrement_nouveau_fournisseur.html @@ -0,0 +1,21 @@ + + \ No newline at end of file diff --git a/gestion_fournisseur/tests.py:Zone.Identifier b/gestion_fournisseur/tests.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/tests.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/urls.py:Zone.Identifier b/gestion_fournisseur/urls.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/urls.py:Zone.Identifier and /dev/null differ diff --git a/gestion_fournisseur/views.py:Zone.Identifier b/gestion_fournisseur/views.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_fournisseur/views.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/__init__.py:Zone.Identifier b/gestion_produit/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/__init__.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/__pycache__/__init__.cpython-310.pyc b/gestion_produit/__pycache__/__init__.cpython-310.pyc index d49e21b..ea27388 100644 Binary files a/gestion_produit/__pycache__/__init__.cpython-310.pyc and b/gestion_produit/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/admin.cpython-310.pyc b/gestion_produit/__pycache__/admin.cpython-310.pyc index 903aff5..67b65a2 100644 Binary files a/gestion_produit/__pycache__/admin.cpython-310.pyc and b/gestion_produit/__pycache__/admin.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/apps.cpython-310.pyc b/gestion_produit/__pycache__/apps.cpython-310.pyc index 6882965..f2ba960 100644 Binary files a/gestion_produit/__pycache__/apps.cpython-310.pyc and b/gestion_produit/__pycache__/apps.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/forms.cpython-310.pyc b/gestion_produit/__pycache__/forms.cpython-310.pyc index 132fd14..25ee999 100644 Binary files a/gestion_produit/__pycache__/forms.cpython-310.pyc and b/gestion_produit/__pycache__/forms.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/models.cpython-310.pyc b/gestion_produit/__pycache__/models.cpython-310.pyc index e0c9bfd..06460d4 100644 Binary files a/gestion_produit/__pycache__/models.cpython-310.pyc and b/gestion_produit/__pycache__/models.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/urls.cpython-310.pyc b/gestion_produit/__pycache__/urls.cpython-310.pyc index db3ece8..a44b3c1 100644 Binary files a/gestion_produit/__pycache__/urls.cpython-310.pyc and b/gestion_produit/__pycache__/urls.cpython-310.pyc differ diff --git a/gestion_produit/__pycache__/views.cpython-310.pyc b/gestion_produit/__pycache__/views.cpython-310.pyc index 28f968c..f2d0622 100644 Binary files a/gestion_produit/__pycache__/views.cpython-310.pyc and b/gestion_produit/__pycache__/views.cpython-310.pyc differ diff --git a/gestion_produit/admin.py b/gestion_produit/admin.py index cced46a..0136bff 100644 --- a/gestion_produit/admin.py +++ b/gestion_produit/admin.py @@ -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',) diff --git a/gestion_produit/admin.py:Zone.Identifier b/gestion_produit/admin.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/admin.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/apps.py:Zone.Identifier b/gestion_produit/apps.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/apps.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/forms.py:Zone.Identifier b/gestion_produit/forms.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/forms.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0001_initial.py:Zone.Identifier b/gestion_produit/migrations/0001_initial.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0001_initial.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0002_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0002_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0002_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0003_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0003_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0003_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0004_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0004_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0004_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0005_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0005_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0005_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0006_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0006_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0006_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0007_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0007_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0007_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0008_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0008_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0008_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0009_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0009_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0009_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0010_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0010_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0010_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0011_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0011_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0011_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0012_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0012_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0012_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0013_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0013_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0013_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0014_demander_user_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0014_demander_user_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0014_demander_user_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0015_remove_produit_seuil_rupture_and_more.py:Zone.Identifier b/gestion_produit/migrations/0015_remove_produit_seuil_rupture_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0015_remove_produit_seuil_rupture_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0016_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0016_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0016_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0017_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0017_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0017_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0018_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0018_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0018_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0019_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0019_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0019_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0020_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0020_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0020_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0021_commander_prix_achat_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0021_commander_prix_achat_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0021_commander_prix_achat_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0022_fournisseur_nifp_fournisseur_rccm_and_more.py:Zone.Identifier b/gestion_produit/migrations/0022_fournisseur_nifp_fournisseur_rccm_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0022_fournisseur_nifp_fournisseur_rccm_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0023_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0023_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0023_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0024_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0024_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0024_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0025_remove_demander_datedemande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0025_remove_demander_datedemande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0025_remove_demander_datedemande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0026_remove_demander_datedemiseadisposouhaite_and_more.py:Zone.Identifier b/gestion_produit/migrations/0026_remove_demander_datedemiseadisposouhaite_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0026_remove_demander_datedemiseadisposouhaite_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/0027_alter_commander_date_commande_and_more.py:Zone.Identifier b/gestion_produit/migrations/0027_alter_commander_date_commande_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/0027_alter_commander_date_commande_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__init__.py:Zone.Identifier b/gestion_produit/migrations/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__init__.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc index 18bb85b..6766e38 100644 Binary files a/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc index 24fe2f7..d1471b7 100644 Binary files a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0002_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0002_commander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0002_commander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0002_commander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc index 67b9958..ca62a8d 100644 Binary files a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0003_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc index d43226b..2e0475c 100644 Binary files a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0004_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0004_demander_valider_par_chef_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0004_demander_valider_par_chef_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0004_demander_valider_par_chef_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc index eef12e6..c5821b0 100644 Binary files a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0005_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0005_demander_quantite_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0005_demander_quantite_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0005_demander_quantite_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc index 3e98a93..99d18ed 100644 Binary files a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0006_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0006_demander_motif_refus_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0006_demander_motif_refus_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0006_demander_motif_refus_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc index b17079f..62207fa 100644 Binary files a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0007_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0007_demander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0007_demander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0007_demander_livrer_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-310.pyc index c21c17d..d2ad0c0 100644 Binary files a/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0008_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-310.pyc index d3e458b..8f9d5be 100644 Binary files a/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0009_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc index ff786ef..5c83fbc 100644 Binary files a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0010_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-310.pyc index 057529c..443d72d 100644 Binary files a/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0011_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc index 006a18c..0e8d57e 100644 Binary files a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0012_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc index 23ff873..397b187 100644 Binary files a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0013_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc index 425ec6c..f5d1f9d 100644 Binary files a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0014_demander_user_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc index 6830907..59e5603 100644 Binary files a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0015_remove_produit_seuil_rupture_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc index 798e9cc..3deeb47 100644 Binary files a/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0016_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc index 06b329f..adf169b 100644 Binary files a/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0017_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-310.pyc index e332f86..9433785 100644 Binary files a/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0018_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc index 8c30435..cc9b8e7 100644 Binary files a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0019_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc index 7f71cf9..b3efa1e 100644 Binary files a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0020_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc index a650cc3..b6df393 100644 Binary files a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0021_commander_prix_achat_alter_commander_date_commande_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc index b29ed25..de46e24 100644 Binary files a/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/0022_fournisseur_nifp_fournisseur_rccm_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/0023_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0023_alter_commander_date_commande_and_more.cpython-310.pyc index 163857b..8775a84 100644 Binary files a/gestion_produit/migrations/__pycache__/0023_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0023_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0024_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0024_alter_commander_date_commande_and_more.cpython-310.pyc index 5a5614c..ba517ed 100644 Binary files a/gestion_produit/migrations/__pycache__/0024_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0024_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0025_remove_demander_datedemande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0025_remove_demander_datedemande_and_more.cpython-310.pyc index f97f6dd..019e20a 100644 Binary files a/gestion_produit/migrations/__pycache__/0025_remove_demander_datedemande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0025_remove_demander_datedemande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0026_remove_demander_datedemiseadisposouhaite_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0026_remove_demander_datedemiseadisposouhaite_and_more.cpython-310.pyc index e1eb910..41dacdc 100644 Binary files a/gestion_produit/migrations/__pycache__/0026_remove_demander_datedemiseadisposouhaite_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0026_remove_demander_datedemiseadisposouhaite_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/0027_alter_commander_date_commande_and_more.cpython-310.pyc b/gestion_produit/migrations/__pycache__/0027_alter_commander_date_commande_and_more.cpython-310.pyc index c6ea0f9..dfebff0 100644 Binary files a/gestion_produit/migrations/__pycache__/0027_alter_commander_date_commande_and_more.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/0027_alter_commander_date_commande_and_more.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc b/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc index c01622a..2d328fc 100644 Binary files a/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc and b/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier b/gestion_produit/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/models.py:Zone.Identifier b/gestion_produit/models.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/models.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/templates/gestion_produit/index.html b/gestion_produit/templates/gestion_produit/index.html index 1d4382f..b07a5e8 100644 --- a/gestion_produit/templates/gestion_produit/index.html +++ b/gestion_produit/templates/gestion_produit/index.html @@ -44,7 +44,7 @@

LISTE DES PRODUITS

- {% if user|has_group:"Logisticien" %} + {% if user|has_group:"logistique" %} Rapport de mouvement de stock @@ -79,7 +79,7 @@
{{ produit.libelle }}
- {% if user|has_group:"Logisticien" %} + {% if user|has_group:"logistique" %}

Quantite en stock: {{ produit.stockActuel }}

@@ -129,243 +129,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - +{% include "gestion_produit/parts/modal_demander.html" %} +{% include "gestion_produit/parts/modal_commander.html" %} +{% include "gestion_produit/parts/modal_creation_categorie.html" %} +{% include "gestion_produit/parts/modal_creation_produit.html" %} +{% include "gestion_produit/parts/modal_details_demandes.html" %} +{% include "gestion_produit/parts/modal_liste_de_toutes_les_demandes.html" %} +{% include "gestion_produit/parts/modal_mes_demandes.html" %} +{% include "gestion_produit/parts/modal_modification_informations_produits.html" %} {% endblock %} diff --git a/gestion_produit/templates/gestion_produit/index.html:Zone.Identifier b/gestion_produit/templates/gestion_produit/index.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/templates/gestion_produit/index.html:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/templates/gestion_produit/mouvement_stock.html:Zone.Identifier b/gestion_produit/templates/gestion_produit/mouvement_stock.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/templates/gestion_produit/mouvement_stock.html:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/templates/gestion_produit/parts/modal_commander.html b/gestion_produit/templates/gestion_produit/parts/modal_commander.html new file mode 100644 index 0000000..1e2e34c --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_commander.html @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_creation_categorie.html b/gestion_produit/templates/gestion_produit/parts/modal_creation_categorie.html new file mode 100644 index 0000000..bc556b7 --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_creation_categorie.html @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_creation_produit.html b/gestion_produit/templates/gestion_produit/parts/modal_creation_produit.html new file mode 100644 index 0000000..b421689 --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_creation_produit.html @@ -0,0 +1,21 @@ + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_demander.html b/gestion_produit/templates/gestion_produit/parts/modal_demander.html new file mode 100644 index 0000000..457cd4a --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_demander.html @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_details_demandes.html b/gestion_produit/templates/gestion_produit/parts/modal_details_demandes.html new file mode 100644 index 0000000..d69f42a --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_details_demandes.html @@ -0,0 +1,43 @@ + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_liste_de_toutes_les_demandes.html b/gestion_produit/templates/gestion_produit/parts/modal_liste_de_toutes_les_demandes.html new file mode 100644 index 0000000..8fd609c --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_liste_de_toutes_les_demandes.html @@ -0,0 +1,14 @@ + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_mes_demandes.html b/gestion_produit/templates/gestion_produit/parts/modal_mes_demandes.html new file mode 100644 index 0000000..234ce96 --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_mes_demandes.html @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/gestion_produit/templates/gestion_produit/parts/modal_modification_informations_produits.html b/gestion_produit/templates/gestion_produit/parts/modal_modification_informations_produits.html new file mode 100644 index 0000000..d73a375 --- /dev/null +++ b/gestion_produit/templates/gestion_produit/parts/modal_modification_informations_produits.html @@ -0,0 +1,47 @@ + + \ No newline at end of file diff --git a/gestion_produit/tests.py:Zone.Identifier b/gestion_produit/tests.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/tests.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/urls.py:Zone.Identifier b/gestion_produit/urls.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/urls.py:Zone.Identifier and /dev/null differ diff --git a/gestion_produit/views.py b/gestion_produit/views.py index 607cc44..5019d69 100644 --- a/gestion_produit/views.py +++ b/gestion_produit/views.py @@ -3,6 +3,7 @@ from django.shortcuts import render, redirect from django.core.paginator import Paginator from django.db.models import Sum +from authentification.models import Profile # from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required @@ -50,8 +51,9 @@ def gestion_affichage_demande( Ensemble des demandes filtrées selon les critères spécifiés. """ + profile = Profile.objects.get(user=request.user) mes_demandes = Demander.objects.filter( - valider_par_chef=option_validation_chef, user=request.user.profile + valider_par_chef=option_validation_chef, user=profile ) demandes_departement = None @@ -74,7 +76,7 @@ def gestion_affichage_demande( ) -@login_required(login_url="login") +@login_required def index(request): """Gérer le rendu de la page d'accueil de la gestion des produits. @@ -139,7 +141,7 @@ def liste_categories(_request): return JsonResponse(mes_categories, safe=False) -@login_required(login_url="login") +@login_required def enregistrer_produit(request): """Enregistrez un nouveau produit à partir des données POST. @@ -170,7 +172,7 @@ def enregistrer_produit(request): return redirect("gestion_produit:index") -@login_required(login_url="login") +@login_required def detail_produit(request, id_produit): """Renvoyez les détails d'un produit spécifique au format JSON. @@ -208,7 +210,7 @@ def detail_produit(request, id_produit): return JsonResponse(produit) -@login_required(login_url="login") +@login_required def enregistrer_modification_produit(request): """Enregistrez les modifications apportées au produit à partir des données POST. @@ -241,7 +243,7 @@ def enregistrer_modification_produit(request): return redirect("gestion_produit:index") -@login_required(login_url="login") +@login_required def enregistrer_commande(request): """Enregistrez une nouvelle commande de produit.""" if request.method == "POST": @@ -251,7 +253,7 @@ def enregistrer_commande(request): return redirect("gestion_produit:index") -@login_required(login_url="login") +@login_required def enregistrer_demande(request): """Enregistrez une nouvelle demande de produit.""" if request.method == "POST": @@ -265,7 +267,7 @@ def enregistrer_demande(request): ma_demande.save() return redirect("gestion_produit:index") -@login_required(login_url="login") +@login_required def liste_demandes(request): """Retournez la liste des demandes de produits au format JSON.""" liste_demandes = gestion_affichage_demande( @@ -287,7 +289,7 @@ def liste_demandes(request): return JsonResponse(les_demandes, safe=False) -@login_required(login_url="login") +@login_required def detail_demande(request, id_demande): """Renvoyez les détails d'une demande spécifique de produit.""" detail_demande = Demander.objects.get(id=id_demande) @@ -303,7 +305,7 @@ def detail_demande(request, id_demande): return JsonResponse(demande) -@login_required(login_url="login") +@login_required def update_statut(request): """Met à jour le statut d'une demande de produit. @@ -369,7 +371,7 @@ def update_statut(request): {"success": False, "message": "Méthode non autorisée"}, status=405 ) -@login_required(login_url="login") +@login_required def recuperer_liste_produit(request): """Récupèrez et renvoyez la liste des produits paginés. @@ -396,7 +398,7 @@ def recuperer_liste_produit(request): {"page_obj": page_obj} ) -@login_required(login_url="login") +@login_required def enregistrer_categorie(request): """Enregistrez une nouvelle catégorie de produit. @@ -422,7 +424,7 @@ def enregistrer_categorie(request): return JsonResponse({"success": False}) return None -@login_required(login_url="login") +@login_required def recuperer_fournisseur_par_categorie(_request, id_produit): """Récupèrez les fournisseurs associés à la catégorie d'un produit donné. @@ -501,7 +503,7 @@ def calcul_stock_produit(produit): "stockActuel": stock_actuel, } -@login_required(login_url="login") +@login_required def mouvement_stock(request): """Retournez la page de mouvement de stock. @@ -518,7 +520,7 @@ def mouvement_stock(request): """ return render(request, "gestion_produit/mouvement_stock.html") -@login_required(login_url="login") +@login_required def rapport_mouvement_stock(request): """Générez un rapport de mouvement de stock basé sur les filtres donnés. diff --git a/gestion_produit/views.py:Zone.Identifier b/gestion_produit/views.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_produit/views.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__init__.py:Zone.Identifier b/gestion_vehicule/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__init__.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/__init__.cpython-310.pyc b/gestion_vehicule/__pycache__/__init__.cpython-310.pyc index d50bbba..17fc19c 100644 Binary files a/gestion_vehicule/__pycache__/__init__.cpython-310.pyc and b/gestion_vehicule/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/__init__.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/__init__.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/__init__.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/__init__.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/__init__.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/__init__.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/admin.cpython-310.pyc b/gestion_vehicule/__pycache__/admin.cpython-310.pyc index aa6b50d..3f64625 100644 Binary files a/gestion_vehicule/__pycache__/admin.cpython-310.pyc and b/gestion_vehicule/__pycache__/admin.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/admin.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/admin.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/admin.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/admin.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/admin.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/admin.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/apps.cpython-310.pyc b/gestion_vehicule/__pycache__/apps.cpython-310.pyc index eb97204..55e3555 100644 Binary files a/gestion_vehicule/__pycache__/apps.cpython-310.pyc and b/gestion_vehicule/__pycache__/apps.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/apps.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/apps.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/apps.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/apps.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/apps.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/apps.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/forms.cpython-310.pyc b/gestion_vehicule/__pycache__/forms.cpython-310.pyc index 8b3b9e0..2992cd5 100644 Binary files a/gestion_vehicule/__pycache__/forms.cpython-310.pyc and b/gestion_vehicule/__pycache__/forms.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/forms.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/forms.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/forms.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/forms.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/forms.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/forms.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/models.cpython-310.pyc b/gestion_vehicule/__pycache__/models.cpython-310.pyc index 82b010d..9bcf5ef 100644 Binary files a/gestion_vehicule/__pycache__/models.cpython-310.pyc and b/gestion_vehicule/__pycache__/models.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/models.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/models.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/models.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/models.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/models.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/models.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/tests.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/tests.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/tests.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/urls.cpython-310.pyc b/gestion_vehicule/__pycache__/urls.cpython-310.pyc index 22da592..e839395 100644 Binary files a/gestion_vehicule/__pycache__/urls.cpython-310.pyc and b/gestion_vehicule/__pycache__/urls.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/urls.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/urls.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/urls.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/urls.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/urls.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/urls.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/views.cpython-310.pyc b/gestion_vehicule/__pycache__/views.cpython-310.pyc index e68b6e8..16523ab 100644 Binary files a/gestion_vehicule/__pycache__/views.cpython-310.pyc and b/gestion_vehicule/__pycache__/views.cpython-310.pyc differ diff --git a/gestion_vehicule/__pycache__/views.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/views.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/views.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/__pycache__/views.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/__pycache__/views.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/__pycache__/views.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/admin.py:Zone.Identifier b/gestion_vehicule/admin.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/admin.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/apps.py:Zone.Identifier b/gestion_vehicule/apps.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/apps.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/forms.py:Zone.Identifier b/gestion_vehicule/forms.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/forms.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0001_initial.py:Zone.Identifier b/gestion_vehicule/migrations/0001_initial.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0001_initial.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0002_alter_demandevehicule_date_heure_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0002_alter_demandevehicule_date_heure_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0002_alter_demandevehicule_date_heure_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0003_alter_demandevehicule_validation.py:Zone.Identifier b/gestion_vehicule/migrations/0003_alter_demandevehicule_validation.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0003_alter_demandevehicule_validation.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0004_demandevehicule_motif_refus.py:Zone.Identifier b/gestion_vehicule/migrations/0004_demandevehicule_motif_refus.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0004_demandevehicule_motif_refus.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0005_demandevehicule_course_terminer_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0005_demandevehicule_course_terminer_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0005_demandevehicule_course_terminer_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.py:Zone.Identifier b/gestion_vehicule/migrations/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0007_alter_carnetbord_km_fin_mois.py:Zone.Identifier b/gestion_vehicule/migrations/0007_alter_carnetbord_km_fin_mois.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0007_alter_carnetbord_km_fin_mois.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0008_demandevehicule_chauffeur_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0008_demandevehicule_chauffeur_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0008_demandevehicule_chauffeur_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0009_remove_carnetbord_km_debut_mois_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0009_remove_carnetbord_km_debut_mois_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0009_remove_carnetbord_km_debut_mois_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0010_carnetcarburant_course_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0010_carnetcarburant_course_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0010_carnetcarburant_course_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0011_remove_carnetcarburant_vehicule.py:Zone.Identifier b/gestion_vehicule/migrations/0011_remove_carnetcarburant_vehicule.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0011_remove_carnetcarburant_vehicule.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0012_alter_carnetbord_vehicule.py:Zone.Identifier b/gestion_vehicule/migrations/0012_alter_carnetbord_vehicule.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0012_alter_carnetbord_vehicule.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/0013_alter_carnetbord_km_arrive_and_more.py:Zone.Identifier b/gestion_vehicule/migrations/0013_alter_carnetbord_km_arrive_and_more.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/0013_alter_carnetbord_km_arrive_and_more.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__init__.py:Zone.Identifier b/gestion_vehicule/migrations/__init__.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__init__.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc index bcd13c6..aa9f151 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0001_initial.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc index 6240b38..d407c82 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0002_alter_demandevehicule_date_heure_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc index f144d15..b666e96 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0003_alter_demandevehicule_validation.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc index 524ca30..087ce57 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0004_demandevehicule_motif_refus.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc index 192c0fd..719a0dc 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0005_demandevehicule_course_terminer_and_more.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0006_alter_demandevehicule_heure_course_termine.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0006_alter_demandevehicule_heure_course_termine.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0006_alter_demandevehicule_heure_course_termine.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc index c62f1e5..67eebc8 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/0006_remove_carnetbord_id_alter_carnetbord_mois_concerne.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/0007_alter_carnetbord_km_fin_mois.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0007_alter_carnetbord_km_fin_mois.cpython-310.pyc index 938f5bf..473c1e8 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0007_alter_carnetbord_km_fin_mois.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0007_alter_carnetbord_km_fin_mois.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0008_demandevehicule_chauffeur_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0008_demandevehicule_chauffeur_and_more.cpython-310.pyc index 2ca2ca5..7187f79 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0008_demandevehicule_chauffeur_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0008_demandevehicule_chauffeur_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0009_remove_carnetbord_km_debut_mois_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0009_remove_carnetbord_km_debut_mois_and_more.cpython-310.pyc index 46fee7a..11e806f 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0009_remove_carnetbord_km_debut_mois_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0009_remove_carnetbord_km_debut_mois_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0010_carnetcarburant_course_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0010_carnetcarburant_course_and_more.cpython-310.pyc index 1567f9d..2a2d7ed 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0010_carnetcarburant_course_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0010_carnetcarburant_course_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0011_remove_carnetcarburant_vehicule.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0011_remove_carnetcarburant_vehicule.cpython-310.pyc index a28ef12..b27b30f 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0011_remove_carnetcarburant_vehicule.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0011_remove_carnetcarburant_vehicule.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0012_alter_carnetbord_vehicule.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0012_alter_carnetbord_vehicule.cpython-310.pyc index c01d25b..be7dc55 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0012_alter_carnetbord_vehicule.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0012_alter_carnetbord_vehicule.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/0013_alter_carnetbord_km_arrive_and_more.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/0013_alter_carnetbord_km_arrive_and_more.cpython-310.pyc index 647a85d..3d8dccf 100644 Binary files a/gestion_vehicule/migrations/__pycache__/0013_alter_carnetbord_km_arrive_and_more.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/0013_alter_carnetbord_km_arrive_and_more.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc b/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc index fc9ca40..457db38 100644 Binary files a/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc and b/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc differ diff --git a/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/__init__.cpython-310.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier b/gestion_vehicule/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/migrations/__pycache__/__init__.cpython-313.pyc:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/models.py:Zone.Identifier b/gestion_vehicule/models.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/models.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/carnet_carburant.html:Zone.Identifier b/gestion_vehicule/templates/gestion_vehicule/carnet_carburant.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/templates/gestion_vehicule/carnet_carburant.html:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/carnet_sortie_vehicule.html:Zone.Identifier b/gestion_vehicule/templates/gestion_vehicule/carnet_sortie_vehicule.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/templates/gestion_vehicule/carnet_sortie_vehicule.html:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/detail_course.html:Zone.Identifier b/gestion_vehicule/templates/gestion_vehicule/detail_course.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/templates/gestion_vehicule/detail_course.html:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/detail_vehicule.html:Zone.Identifier b/gestion_vehicule/templates/gestion_vehicule/detail_vehicule.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/templates/gestion_vehicule/detail_vehicule.html:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/index.html b/gestion_vehicule/templates/gestion_vehicule/index.html index 50320cf..cf07da2 100644 --- a/gestion_vehicule/templates/gestion_vehicule/index.html +++ b/gestion_vehicule/templates/gestion_vehicule/index.html @@ -8,7 +8,7 @@

PARC AUTOMOBILE

- {% if user|has_group:"Logisticien" %} + {% if user|has_group:"logistique" %} {% endif %}
@@ -25,7 +25,7 @@
{{ vehicule.immatriculation }}
- {% if user|has_group:"Logisticien" %} + {% if user|has_group:"logistique" %} Voir {% endif %}
@@ -38,13 +38,13 @@

LISTE DES DEMANDES

- {% if user|has_group:"Employe" %} + {% comment %} {% if user|has_group:"Employe" %} {% endcomment %} - {% endif %} + {% comment %} {% endif %} {% endcomment %}
-{% if user|has_group:"Employe" %} +{% comment %} {% if user|has_group:"Employe" %} {% endcomment %}
- - - - - - - - - +{% include "gestion_vehicule/parts/modal_enregistrement_vehicule.html" %} +{% include "gestion_vehicule/parts/modal_enregistrement_demande.html" %} +{% include "gestion_vehicule/parts/modal_confirmer_sortie_voiture.html" %} {% endblock %} {% block "js" %} diff --git a/gestion_vehicule/templates/gestion_vehicule/index.html:Zone.Identifier b/gestion_vehicule/templates/gestion_vehicule/index.html:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/templates/gestion_vehicule/index.html:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/templates/gestion_vehicule/parts/modal_confirmer_sortie_voiture.html b/gestion_vehicule/templates/gestion_vehicule/parts/modal_confirmer_sortie_voiture.html new file mode 100644 index 0000000..7d6d661 --- /dev/null +++ b/gestion_vehicule/templates/gestion_vehicule/parts/modal_confirmer_sortie_voiture.html @@ -0,0 +1,77 @@ + + diff --git a/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_demande.html b/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_demande.html new file mode 100644 index 0000000..cd3762d --- /dev/null +++ b/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_demande.html @@ -0,0 +1,22 @@ + + diff --git a/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_vehicule.html b/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_vehicule.html new file mode 100644 index 0000000..8ae3d3e --- /dev/null +++ b/gestion_vehicule/templates/gestion_vehicule/parts/modal_enregistrement_vehicule.html @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/gestion_vehicule/tests.py:Zone.Identifier b/gestion_vehicule/tests.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/tests.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/urls.py:Zone.Identifier b/gestion_vehicule/urls.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/urls.py:Zone.Identifier and /dev/null differ diff --git a/gestion_vehicule/views.py b/gestion_vehicule/views.py index d441642..3d2a0d6 100644 --- a/gestion_vehicule/views.py +++ b/gestion_vehicule/views.py @@ -1,12 +1,12 @@ """Views pour la gestion des véhicules.""" -from pyexpat.errors import messages from django.shortcuts import render, redirect from django.http import JsonResponse from authentification.models import Profile from django.contrib.auth.models import Group from django.contrib.auth.decorators import login_required +from django.contrib import messages from . import forms from . import models @@ -132,7 +132,7 @@ def liste_demande(request): """ liste_demande_vehicule = [] - if request.user.groups.filter(name="Chauffeur").exists(): + if request.user.groups.filter(name="chauffeur").exists(): liste_demande_vehicule = models.DemandeVehicule.objects.filter( chauffeur__user_id=request.user.id ) @@ -144,16 +144,20 @@ def liste_demande(request): {"id": vehicule.id, "immatriculation": vehicule.immatriculation} for vehicule in models.Vehicule.objects.filter(disponible=True) ] - chauffeur_group = Group.objects.get(name="Chauffeur") - chauffeurs = [ - { - "chauffeur_id": chauffeur.user.id, - "chauffeur_name": ( - f"{chauffeur.user.first_name} {chauffeur.user.last_name}" - ), - } - for chauffeur in Profile.objects.filter(user__groups=chauffeur_group) - ] + + try: + chauffeur_group = Group.objects.get(name="chauffeur") + chauffeurs = [ + { + "chauffeur_id": chauffeur.user.id, + "chauffeur_name": ( + f"{chauffeur.user.first_name} {chauffeur.user.last_name}" + ), + } + for chauffeur in Profile.objects.filter(user__groups=chauffeur_group) + ] + except Group.DoesNotExist: + chauffeurs = [] demandes_en_cours = [ { @@ -182,6 +186,8 @@ def liste_demande(request): for demande in liste_demande_vehicule ] + + return JsonResponse(demandes_en_cours, safe=False) @login_required(login_url="login") diff --git a/gestion_vehicule/views.py:Zone.Identifier b/gestion_vehicule/views.py:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/gestion_vehicule/views.py:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/nifp/Equipe_3_Fria_centre_Menage.pdf:Zone.Identifier b/media/fournisseur/nifp/Equipe_3_Fria_centre_Menage.pdf:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/nifp/Equipe_3_Fria_centre_Menage.pdf:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/nifp/IMG-20260102-WA0003.jpg:Zone.Identifier b/media/fournisseur/nifp/IMG-20260102-WA0003.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/nifp/IMG-20260102-WA0003.jpg:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/nifp/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier b/media/fournisseur/nifp/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/nifp/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/rccm/IMG-20260101-WA0004.jpg:Zone.Identifier b/media/fournisseur/rccm/IMG-20260101-WA0004.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/rccm/IMG-20260101-WA0004.jpg:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/rccm/Programme-Master-Finance-Digitale-DIT.pdf:Zone.Identifier b/media/fournisseur/rccm/Programme-Master-Finance-Digitale-DIT.pdf:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/rccm/Programme-Master-Finance-Digitale-DIT.pdf:Zone.Identifier and /dev/null differ diff --git a/media/fournisseur/rccm/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier b/media/fournisseur/rccm/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/fournisseur/rccm/RAPPORT_DANALYSE_DU_10.12.2024.pdf:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/ChatGPT_Image_1_janv._2026_22_53_05.png:Zone.Identifier b/media/produit_image/ChatGPT_Image_1_janv._2026_22_53_05.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/ChatGPT_Image_1_janv._2026_22_53_05.png:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/ChatGPT_Image_2_janv._2026_08_40_22.png:Zone.Identifier b/media/produit_image/ChatGPT_Image_2_janv._2026_08_40_22.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/ChatGPT_Image_2_janv._2026_08_40_22.png:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/Dr_youla.png:Zone.Identifier b/media/produit_image/Dr_youla.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/Dr_youla.png:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR.jpg:Zone.Identifier b/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_RKxGJa0.jpg:Zone.Identifier b/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_RKxGJa0.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_RKxGJa0.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_k6t6gJ7.jpg:Zone.Identifier b/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_k6t6gJ7.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_k6t6gJ7.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_nGBZs9l.jpg:Zone.Identifier b/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_nGBZs9l.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_nGBZs9l.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_ngW1veO.jpg:Zone.Identifier b/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_ngW1veO.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/LOGO_AFRICAM_PREACTS_GUINEE_FR_ngW1veO.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/Rplot.png:Zone.Identifier b/media/produit_image/Rplot.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/Rplot.png:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/anasp.jpg:Zone.Identifier b/media/produit_image/anasp.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/anasp.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/bilan_exploration.png:Zone.Identifier b/media/produit_image/bilan_exploration.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/bilan_exploration.png:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd.jpg:Zone.Identifier b/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_9idXmSP.jpg:Zone.Identifier b/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_9idXmSP.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_9idXmSP.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_Pa9vHK7.jpg:Zone.Identifier b/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_Pa9vHK7.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_Pa9vHK7.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_qrNf5vF.jpg:Zone.Identifier b/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_qrNf5vF.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/exemple-de-rapport-lien-pdf-laboratoire-mgd_qrNf5vF.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/gamal.jpg:Zone.Identifier b/media/produit_image/gamal.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/gamal.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo.ico:Zone.Identifier b/media/produit_image/logo.ico:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo.ico:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo.jpg:Zone.Identifier b/media/produit_image/logo.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_3Ufp6I9.jpg:Zone.Identifier b/media/produit_image/logo_3Ufp6I9.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_3Ufp6I9.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_8sK9e1R.jpg:Zone.Identifier b/media/produit_image/logo_8sK9e1R.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_8sK9e1R.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_KeooBek.ico:Zone.Identifier b/media/produit_image/logo_KeooBek.ico:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_KeooBek.ico:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_M489mjN.jpg:Zone.Identifier b/media/produit_image/logo_M489mjN.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_M489mjN.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_cmYUgKP.jpg:Zone.Identifier b/media/produit_image/logo_cmYUgKP.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_cmYUgKP.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_doq5TsE.jpg:Zone.Identifier b/media/produit_image/logo_doq5TsE.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_doq5TsE.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/logo_fHPzfwp.ico:Zone.Identifier b/media/produit_image/logo_fHPzfwp.ico:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/logo_fHPzfwp.ico:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/téléchargement.jpg:Zone.Identifier b/media/produit_image/téléchargement.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/téléchargement.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/téléchargement_11nr3Zb.jpg:Zone.Identifier b/media/produit_image/téléchargement_11nr3Zb.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/téléchargement_11nr3Zb.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/téléchargement_BmsEqGY.jpg:Zone.Identifier b/media/produit_image/téléchargement_BmsEqGY.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/téléchargement_BmsEqGY.jpg:Zone.Identifier and /dev/null differ diff --git a/media/produit_image/téléchargement_EwmRaDh.jpg:Zone.Identifier b/media/produit_image/téléchargement_EwmRaDh.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/produit_image/téléchargement_EwmRaDh.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/Dr_youla.png:Zone.Identifier b/media/vehicule_image/Dr_youla.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/Dr_youla.png:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/logo.ico:Zone.Identifier b/media/vehicule_image/logo.ico:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/logo.ico:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement.jpg:Zone.Identifier b/media/vehicule_image/téléchargement.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_0am1A2J.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_0am1A2J.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_0am1A2J.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_6pPxAX4.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_6pPxAX4.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_6pPxAX4.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_87hzfmh.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_87hzfmh.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_87hzfmh.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_8FFpOHu.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_8FFpOHu.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_8FFpOHu.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_LpXAquO.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_LpXAquO.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_LpXAquO.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_VsOO72y.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_VsOO72y.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_VsOO72y.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_Z9fTDJk.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_Z9fTDJk.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_Z9fTDJk.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_h9sCIg4.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_h9sCIg4.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_h9sCIg4.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_kTZyDoZ.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_kTZyDoZ.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_kTZyDoZ.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_nbQMCJB.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_nbQMCJB.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_nbQMCJB.jpg:Zone.Identifier and /dev/null differ diff --git a/media/vehicule_image/téléchargement_yp1otbv.jpg:Zone.Identifier b/media/vehicule_image/téléchargement_yp1otbv.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/media/vehicule_image/téléchargement_yp1otbv.jpg:Zone.Identifier and /dev/null differ diff --git a/requirements.txt b/requirements.txt index 36afb4d..86f2cf0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ Django==5.2.10 pillow==12.1.0 sqlparse==0.5.5 typing_extensions==4.15.0 +django-simple-sso diff --git a/static/css/base.css:Zone.Identifier b/static/css/base.css:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/css/base.css:Zone.Identifier and /dev/null differ diff --git a/static/css/bootstrap.min.css:Zone.Identifier b/static/css/bootstrap.min.css:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/css/bootstrap.min.css:Zone.Identifier and /dev/null differ diff --git a/static/css/cadran_image.css:Zone.Identifier b/static/css/cadran_image.css:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/css/cadran_image.css:Zone.Identifier and /dev/null differ diff --git a/static/css/tabulator_bootstrap5.min.css:Zone.Identifier b/static/css/tabulator_bootstrap5.min.css:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/css/tabulator_bootstrap5.min.css:Zone.Identifier and /dev/null differ diff --git a/static/images/exemple-produit.jpg:Zone.Identifier b/static/images/exemple-produit.jpg:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/images/exemple-produit.jpg:Zone.Identifier and /dev/null differ diff --git a/static/images/stock-bon.png:Zone.Identifier b/static/images/stock-bon.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/images/stock-bon.png:Zone.Identifier and /dev/null differ diff --git a/static/images/stock-prerupture.png:Zone.Identifier b/static/images/stock-prerupture.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/images/stock-prerupture.png:Zone.Identifier and /dev/null differ diff --git a/static/images/stock-rupture.png:Zone.Identifier b/static/images/stock-rupture.png:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/images/stock-rupture.png:Zone.Identifier and /dev/null differ diff --git a/static/js/bootstrap.min.js:Zone.Identifier b/static/js/bootstrap.min.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/bootstrap.min.js:Zone.Identifier and /dev/null differ diff --git a/static/js/carnet_carburant.js:Zone.Identifier b/static/js/carnet_carburant.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/carnet_carburant.js:Zone.Identifier and /dev/null differ diff --git a/static/js/carnet_sortie_vehicule.js:Zone.Identifier b/static/js/carnet_sortie_vehicule.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/carnet_sortie_vehicule.js:Zone.Identifier and /dev/null differ diff --git a/static/js/detail_course.js:Zone.Identifier b/static/js/detail_course.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/detail_course.js:Zone.Identifier and /dev/null differ diff --git a/static/js/detail_gestion_vehicule.js:Zone.Identifier b/static/js/detail_gestion_vehicule.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/detail_gestion_vehicule.js:Zone.Identifier and /dev/null differ diff --git a/static/js/details_fournisseur.js:Zone.Identifier b/static/js/details_fournisseur.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/details_fournisseur.js:Zone.Identifier and /dev/null differ diff --git a/static/js/gestion_fournisseur_index.js:Zone.Identifier b/static/js/gestion_fournisseur_index.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/gestion_fournisseur_index.js:Zone.Identifier and /dev/null differ diff --git a/static/js/gestion_produit.js:Zone.Identifier b/static/js/gestion_produit.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/gestion_produit.js:Zone.Identifier and /dev/null differ diff --git a/static/js/gestion_vehicule.js:Zone.Identifier b/static/js/gestion_vehicule.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/gestion_vehicule.js:Zone.Identifier and /dev/null differ diff --git a/static/js/index.js:Zone.Identifier b/static/js/index.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/index.js:Zone.Identifier and /dev/null differ diff --git a/static/js/mouvement_stock.js:Zone.Identifier b/static/js/mouvement_stock.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/mouvement_stock.js:Zone.Identifier and /dev/null differ diff --git a/static/js/tabulator.min.js:Zone.Identifier b/static/js/tabulator.min.js:Zone.Identifier deleted file mode 100644 index d6c1ec6..0000000 Binary files a/static/js/tabulator.min.js:Zone.Identifier and /dev/null differ