From 402c9302a2f18196d97924714beb736cc40a1fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guillois?= Date: Wed, 14 Feb 2024 11:46:23 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Ajout=20de=20la=20cr=C3=A9ation=20de=20l'ut?= =?UTF-8?q?ilisateur=20admin=20dans=20le=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1b622107..dd2c27a0 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,14 @@ Cf. la [documentation de poetry](https://python-poetry.org/docs/#installation) make init ``` +#### Créer un utilisateur + +- La commande suivante crée un utilisateur administrateur avec tout les droits: + +``` +poetry run python manage.py createsuperuser +``` + #### Lancer le serveur ``` From f9da82332d4067519c0f818a400ae65b06ff275d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guillois?= Date: Wed, 14 Feb 2024 11:46:23 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Ajout=20de=20la=20cr=C3=A9ation=20de=20l'ut?= =?UTF-8?q?ilisateur=20admin=20dans=20le=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1b622107..dd2c27a0 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,14 @@ Cf. la [documentation de poetry](https://python-poetry.org/docs/#installation) make init ``` +#### Créer un utilisateur + +- La commande suivante crée un utilisateur administrateur avec tout les droits: + +``` +poetry run python manage.py createsuperuser +``` + #### Lancer le serveur ```