Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:developpement-pyhon-utiliser-django [08/12/2015 18:12] Hypathie [Créer des projets Django en python2 ou python3] |
utilisateurs:hypathie:tutos:developpement-pyhon-utiliser-django [08/12/2015 18:29] Hypathie [Créer des projets Django en python2 ou python3] |
||
---|---|---|---|
Ligne 564: | Ligne 564: | ||
>>> | >>> | ||
</code> | </code> | ||
+ | |||
+ | * Évidemment, on code en python 3 dans le fichier de création de Modèle ''models.py'' ! | ||
+ | |||
+ | * Un lien utile sur les différences entre le code python2 et le code python 3 : \\ http://apprendre-python.com/page-syntaxe-differente-python2-python3-python-differences | ||
+ | |||
+ | * Pour plus de détails et s'exercer, exemple du site officiel de Django : \\ https://docs.djangoproject.com/fr/1.8/intro/tutorial01/#playing-with-the-api | ||
+ | |||
</note> | </note> | ||
- | * Pour s'exercer avec ce shell: https://docs.djangoproject.com/fr/1.8/intro/tutorial01/#playing-with-the-api | + | |
==== Création d'un administrateur Django==== | ==== Création d'un administrateur Django==== |