Django Level One Getting Started with Django!


Download 0.73 Mb.
bet4/14
Sana05.01.2022
Hajmi0.73 Mb.
#225180
1   2   3   4   5   6   7   8   9   ...   14
Bog'liq
Django Level One

Django

  • You can then deactivate the environment
    • deactivate myEnv
  • Its encouraged to use virtual environments for your projects to keep them self-contained and not run into issues when packages update!

Django

Creating our first django project!

Django

Django

  • When you install Django, it actually also installed a command line tool called:
    • django-admin
  • Let’s create our first project. Type:
    • django-admin startproject first_project

Django

  • You will then get something that looks like this:

Django

  • Let’s explain what is going on here!

Django

  • __init__.py

Download 0.73 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   14




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling