diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10a233e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +db.sqlite3 +venv/* +media/* \ No newline at end of file diff --git a/SIRH/__pycache__/__init__.cpython-312.pyc b/SIRH/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..ed69fcf Binary files /dev/null and b/SIRH/__pycache__/__init__.cpython-312.pyc differ diff --git a/SIRH/__pycache__/settings.cpython-312.pyc b/SIRH/__pycache__/settings.cpython-312.pyc new file mode 100644 index 0000000..9626795 Binary files /dev/null and b/SIRH/__pycache__/settings.cpython-312.pyc differ diff --git a/SIRH/__pycache__/urls.cpython-312.pyc b/SIRH/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000..f7fbb04 Binary files /dev/null and b/SIRH/__pycache__/urls.cpython-312.pyc differ diff --git a/SIRH/__pycache__/views.cpython-312.pyc b/SIRH/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000..21272c6 Binary files /dev/null and b/SIRH/__pycache__/views.cpython-312.pyc differ diff --git a/SIRH/__pycache__/wsgi.cpython-312.pyc b/SIRH/__pycache__/wsgi.cpython-312.pyc new file mode 100644 index 0000000..c0a33c3 Binary files /dev/null and b/SIRH/__pycache__/wsgi.cpython-312.pyc differ diff --git a/SIRH/settings.py b/SIRH/settings.py index ff8c4c9..a2267cb 100644 --- a/SIRH/settings.py +++ b/SIRH/settings.py @@ -79,14 +79,21 @@ WSGI_APPLICATION = 'SIRH.wsgi.application' # Database # https://docs.djangoproject.com/en/5.2/ref/settings/#databases +# DATABASES = { +# 'default': { +# 'ENGINE': 'django.db.backends.mysql', +# 'NAME': 'sirh', +# 'USER': 'sirh', +# 'PASSWORD': 'sirh-cerfig', +# 'HOST': 'localhost', +# 'PORT': '3306', +# } +# } + DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.mysql', - 'NAME': 'sirh', - 'USER': 'sirh', - 'PASSWORD': 'sirh-cerfig', - 'HOST': 'localhost', # Or the server IP - 'PORT': '3306', # Default MySQL port + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } diff --git a/fonction_utilitaire/__pycache__/fonctions_utilitaire.cpython-312.pyc b/fonction_utilitaire/__pycache__/fonctions_utilitaire.cpython-312.pyc new file mode 100644 index 0000000..3e037d4 Binary files /dev/null and b/fonction_utilitaire/__pycache__/fonctions_utilitaire.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/__init__.cpython-312.pyc b/gestion_conge/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..624169f Binary files /dev/null and b/gestion_conge/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/admin.cpython-312.pyc b/gestion_conge/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..5563e5d Binary files /dev/null and b/gestion_conge/__pycache__/admin.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/apps.cpython-312.pyc b/gestion_conge/__pycache__/apps.cpython-312.pyc new file mode 100644 index 0000000..01b4170 Binary files /dev/null and b/gestion_conge/__pycache__/apps.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/forms.cpython-312.pyc b/gestion_conge/__pycache__/forms.cpython-312.pyc new file mode 100644 index 0000000..2bc7e19 Binary files /dev/null and b/gestion_conge/__pycache__/forms.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/models.cpython-312.pyc b/gestion_conge/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..daf953a Binary files /dev/null and b/gestion_conge/__pycache__/models.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/urls.cpython-312.pyc b/gestion_conge/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000..70e6b22 Binary files /dev/null and b/gestion_conge/__pycache__/urls.cpython-312.pyc differ diff --git a/gestion_conge/__pycache__/views.cpython-312.pyc b/gestion_conge/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000..a025256 Binary files /dev/null and b/gestion_conge/__pycache__/views.cpython-312.pyc differ diff --git a/gestion_conge/migrations/__pycache__/0001_initial.cpython-312.pyc b/gestion_conge/migrations/__pycache__/0001_initial.cpython-312.pyc new file mode 100644 index 0000000..01f7119 Binary files /dev/null and b/gestion_conge/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/gestion_conge/migrations/__pycache__/__init__.cpython-312.pyc b/gestion_conge/migrations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..5c5fd24 Binary files /dev/null and b/gestion_conge/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/__init__.cpython-312.pyc b/gestion_employe/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..2a0cb68 Binary files /dev/null and b/gestion_employe/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/admin.cpython-312.pyc b/gestion_employe/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..e0ae98a Binary files /dev/null and b/gestion_employe/__pycache__/admin.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/forms.cpython-312.pyc b/gestion_employe/__pycache__/forms.cpython-312.pyc new file mode 100644 index 0000000..16ad728 Binary files /dev/null and b/gestion_employe/__pycache__/forms.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/models.cpython-312.pyc b/gestion_employe/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..e3ece7e Binary files /dev/null and b/gestion_employe/__pycache__/models.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/urls.cpython-312.pyc b/gestion_employe/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000..618a5d8 Binary files /dev/null and b/gestion_employe/__pycache__/urls.cpython-312.pyc differ diff --git a/gestion_employe/__pycache__/views.cpython-312.pyc b/gestion_employe/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000..6754690 Binary files /dev/null and b/gestion_employe/__pycache__/views.cpython-312.pyc differ diff --git a/gestion_employe/migrations/0002_alter_contrat_type_contrat.py b/gestion_employe/migrations/0002_alter_contrat_type_contrat.py new file mode 100644 index 0000000..4fd9717 --- /dev/null +++ b/gestion_employe/migrations/0002_alter_contrat_type_contrat.py @@ -0,0 +1,18 @@ +# Generated by Django 6.0.4 on 2026-04-29 10:42 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gestion_employe', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='contrat', + name='type_contrat', + field=models.CharField(choices=[('contrat_duree_determinee', 'Contrat à Durée Déterminée'), ('contrat_duree_indeterminee', 'Contrat à Durée Indéterminée'), ('contrat_prestation', 'Contrat de Prestation de Service'), ('contrat_stage', 'Contrat de Stage'), ('convention_bourse_entretien', "Convention de bourse d'entretien")], max_length=50), + ), + ] diff --git a/gestion_employe/migrations/__pycache__/0001_initial.cpython-312.pyc b/gestion_employe/migrations/__pycache__/0001_initial.cpython-312.pyc new file mode 100644 index 0000000..b2e823a Binary files /dev/null and b/gestion_employe/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/gestion_employe/migrations/__pycache__/0002_alter_contrat_type_contrat.cpython-312.pyc b/gestion_employe/migrations/__pycache__/0002_alter_contrat_type_contrat.cpython-312.pyc new file mode 100644 index 0000000..eded6f8 Binary files /dev/null and b/gestion_employe/migrations/__pycache__/0002_alter_contrat_type_contrat.cpython-312.pyc differ diff --git a/gestion_employe/migrations/__pycache__/__init__.cpython-312.pyc b/gestion_employe/migrations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..bda6b65 Binary files /dev/null and b/gestion_employe/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_employe/models.py b/gestion_employe/models.py index 8f711d5..d736015 100644 --- a/gestion_employe/models.py +++ b/gestion_employe/models.py @@ -56,6 +56,7 @@ class Contrat(models.Model): ('contrat_duree_indeterminee', 'Contrat à Durée Indéterminée'), ('contrat_prestation', 'Contrat de Prestation de Service'), ('contrat_stage', 'Contrat de Stage'), + ('convention_bourse_entretien', 'Convention de bourse d\'entretien'), ] STATUT_CONTRAT = [ diff --git a/gestion_employe/templatetags/__pycache__/tags_personnaliser.cpython-312.pyc b/gestion_employe/templatetags/__pycache__/tags_personnaliser.cpython-312.pyc new file mode 100644 index 0000000..17d6b77 Binary files /dev/null and b/gestion_employe/templatetags/__pycache__/tags_personnaliser.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/__init__.cpython-312.pyc b/gestion_projet/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..8423da3 Binary files /dev/null and b/gestion_projet/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/admin.cpython-312.pyc b/gestion_projet/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..c527bb0 Binary files /dev/null and b/gestion_projet/__pycache__/admin.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/forms.cpython-312.pyc b/gestion_projet/__pycache__/forms.cpython-312.pyc new file mode 100644 index 0000000..f59f146 Binary files /dev/null and b/gestion_projet/__pycache__/forms.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/models.cpython-312.pyc b/gestion_projet/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..234597d Binary files /dev/null and b/gestion_projet/__pycache__/models.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/urls.cpython-312.pyc b/gestion_projet/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000..b941eb2 Binary files /dev/null and b/gestion_projet/__pycache__/urls.cpython-312.pyc differ diff --git a/gestion_projet/__pycache__/views.cpython-312.pyc b/gestion_projet/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000..4bc400f Binary files /dev/null and b/gestion_projet/__pycache__/views.cpython-312.pyc differ diff --git a/gestion_projet/migrations/__pycache__/0001_initial.cpython-312.pyc b/gestion_projet/migrations/__pycache__/0001_initial.cpython-312.pyc new file mode 100644 index 0000000..7f3b259 Binary files /dev/null and b/gestion_projet/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/gestion_projet/migrations/__pycache__/__init__.cpython-312.pyc b/gestion_projet/migrations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..cfb6f8c Binary files /dev/null and b/gestion_projet/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/__init__.cpython-312.pyc b/gestion_salle/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..4c62c82 Binary files /dev/null and b/gestion_salle/__pycache__/__init__.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/admin.cpython-312.pyc b/gestion_salle/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..d6e0805 Binary files /dev/null and b/gestion_salle/__pycache__/admin.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/apps.cpython-312.pyc b/gestion_salle/__pycache__/apps.cpython-312.pyc new file mode 100644 index 0000000..4de27f1 Binary files /dev/null and b/gestion_salle/__pycache__/apps.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/forms.cpython-312.pyc b/gestion_salle/__pycache__/forms.cpython-312.pyc new file mode 100644 index 0000000..9377c42 Binary files /dev/null and b/gestion_salle/__pycache__/forms.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/models.cpython-312.pyc b/gestion_salle/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..41919b6 Binary files /dev/null and b/gestion_salle/__pycache__/models.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/urls.cpython-312.pyc b/gestion_salle/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000..ba22adf Binary files /dev/null and b/gestion_salle/__pycache__/urls.cpython-312.pyc differ diff --git a/gestion_salle/__pycache__/views.cpython-312.pyc b/gestion_salle/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000..657bbc9 Binary files /dev/null and b/gestion_salle/__pycache__/views.cpython-312.pyc differ diff --git a/gestion_salle/migrations/__pycache__/0001_initial.cpython-312.pyc b/gestion_salle/migrations/__pycache__/0001_initial.cpython-312.pyc new file mode 100644 index 0000000..2e6dc3e Binary files /dev/null and b/gestion_salle/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/gestion_salle/migrations/__pycache__/__init__.cpython-312.pyc b/gestion_salle/migrations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..1378976 Binary files /dev/null and b/gestion_salle/migrations/__pycache__/__init__.cpython-312.pyc differ