Show Menu

django Cheat Sheet by

Gestion Projet

Créer nouveau projet
django­-ad­min.py startp­roject nomprojet
Démarrer serveur
python manage.py runserver
Démarrer serveur pour vagrant
python manage.py runserver [::]:8000
Créer nouvelle app
python manage.py startapp blog
Créer migration
python manage.py makemi­gra­tions
Lancer migration
python manage.py migrate
Afficher aide
python manage.py help
Créer virtualenv
virtualenv myvenv
Lancer virtualenv
source myvenv­/bi­n/a­ctivate
Creer utilis­ateur admin
python manage.py create­sup­eruser
 

Path

Racine projet
BASE_DIR

Download the django Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/attilach_django.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

Like this cheat sheet? Check out our sponsors!

Readability-Score.com is a collection of tools to make your writing better. More readabile content means higher conversion rates and better reader engagement. Measure website and document readability, measure keyword density and more!

Click Here To Get Started!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.