Merge pull request 'Ajout de type de contrat' (#6) from type_contrat into main
Reviewed-on: #6 Reviewed-by: Soriba Sylla <soribasyllakamsar@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
db.sqlite3
|
||||
venv/*
|
||||
media/*
|
||||
BIN
SIRH/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
SIRH/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
SIRH/__pycache__/settings.cpython-312.pyc
Normal file
BIN
SIRH/__pycache__/settings.cpython-312.pyc
Normal file
Binary file not shown.
BIN
SIRH/__pycache__/urls.cpython-312.pyc
Normal file
BIN
SIRH/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
SIRH/__pycache__/views.cpython-312.pyc
Normal file
BIN
SIRH/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
BIN
SIRH/__pycache__/wsgi.cpython-312.pyc
Normal file
BIN
SIRH/__pycache__/wsgi.cpython-312.pyc
Normal file
Binary file not shown.
@@ -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'),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
BIN
gestion_conge/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/admin.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/admin.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/apps.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/apps.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/forms.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/forms.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/models.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/models.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/urls.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_conge/__pycache__/views.cpython-312.pyc
Normal file
BIN
gestion_conge/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
gestion_conge/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_conge/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/admin.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/admin.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/forms.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/forms.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/models.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/models.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/urls.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_employe/__pycache__/views.cpython-312.pyc
Normal file
BIN
gestion_employe/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
@@ -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),
|
||||
),
|
||||
]
|
||||
Binary file not shown.
Binary file not shown.
BIN
gestion_employe/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_employe/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
@@ -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 = [
|
||||
|
||||
Binary file not shown.
BIN
gestion_projet/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_projet/__pycache__/admin.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/admin.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_projet/__pycache__/forms.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/forms.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_projet/__pycache__/models.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/models.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_projet/__pycache__/urls.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_projet/__pycache__/views.cpython-312.pyc
Normal file
BIN
gestion_projet/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
gestion_projet/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_projet/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/admin.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/admin.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/apps.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/apps.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/forms.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/forms.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/models.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/models.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/urls.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
gestion_salle/__pycache__/views.cpython-312.pyc
Normal file
BIN
gestion_salle/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
gestion_salle/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
gestion_salle/migrations/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user