ressources:programmation:django
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ressources:programmation:django [2024/03/18 11:37] – random | ressources:programmation:django [2025/12/10 15:39] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 21: | Ligne 21: | ||
| 2. créer un projet | 2. créer un projet | ||
| - | `django-admin startproject core .` | + | |
| 3. créer un.e super utilisateur.rice | 3. créer un.e super utilisateur.rice | ||
| - | `python manage.py migrate` | + | |
| - | `python manage.py createsuperuser` | + | |
| Accès à l' | Accès à l' | ||
| Ligne 33: | Ligne 33: | ||
| 4. créer une application ' | 4. créer une application ' | ||
| - | `python manage.py startapp fragments` | + | |
| Ajouter l' | Ajouter l' | ||
| Ligne 51: | Ligne 51: | ||
| dans / | dans / | ||
| - | function based view | + | |
| - | template index | + | template index |
| 8. urls | 8. urls | ||
ressources/programmation/django.1710761832.txt.gz · Dernière modification : (modification externe)
