Ajout de type de contrat #6
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
|
# Database
|
||||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#databases
|
# 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 = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.mysql',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': 'sirh',
|
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||||
'USER': 'sirh',
|
|
||||||
'PASSWORD': 'sirh-cerfig',
|
|
||||||
'HOST': 'localhost', # Or the server IP
|
|
||||||
'PORT': '3306', # Default MySQL port
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
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_duree_indeterminee', 'Contrat à Durée Indéterminée'),
|
||||||
('contrat_prestation', 'Contrat de Prestation de Service'),
|
('contrat_prestation', 'Contrat de Prestation de Service'),
|
||||||
('contrat_stage', 'Contrat de Stage'),
|
('contrat_stage', 'Contrat de Stage'),
|
||||||
|
('convention_bourse_entretien', 'Convention de bourse d\'entretien'),
|
||||||
]
|
]
|
||||||
|
|
||||||
STATUT_CONTRAT = [
|
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