0
0
Djangoframework~10 mins

Django installation with pip - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to install Django using pip.

Django
pip install [1]
Drag options to blanks, or click blank then click option'
Aflask
Bdjango
Crequests
Dnumpy
Attempts:
3 left
💡 Hint
Common Mistakes
Typing 'pip install Django' with uppercase D (standard is lowercase 'django').
Installing unrelated packages like Flask or Requests.
2fill in blank
medium

Complete the command to check the installed Django version.

Django
django-admin [1]
Drag options to blanks, or click blank then click option'
A--version
Brunserver
Cmigrate
Dstartproject
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'startproject' which creates a new project instead.
Using 'runserver' which starts the development server.
3fill in blank
hard

Fix the error in the pip install command to install Django.

Django
pip install [1]
Drag options to blanks, or click blank then click option'
ADjango
Bdjango3
CDjango==latest
Ddjango
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase 'Django' (standard is lowercase 'django').
Adding invalid version specifiers.
4fill in blank
hard

Fill both blanks to upgrade Django to the latest version using pip.

Django
pip [1] django [2]
Drag options to blanks, or click blank then click option'
Ainstall
Buninstall
C--upgrade
D--version
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'uninstall' instead of 'install' to upgrade.
Using '--version' which only shows version info.
5fill in blank
hard

Fill all three blanks to create a new Django project named 'myproject'.

Django
django-admin [1] [2] [3]
Drag options to blanks, or click blank then click option'
Astartproject
Bmyproject
C.
Drunserver
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'runserver' instead of 'startproject'.
Omitting the dot to specify current directory.