AI Dev Tools Zoomcamp 2025

Homework 1: Introduction Statistics

Distribution of scores and reported study time for this homework.

Submissions

432

Median total score

6

Average total score

6

Score distribution

All values are points.

Questions score

Min
1
Median
6.0
Max
6
Q1
5.0
Avg
5.3
Q3
6.0

Learning in public score

Min
-
Median
0.0
Max
7
Q1
0.0
Avg
0.5
Q3
0.0

Total score

Min
1
Median
6.0
Max
14
Q1
5.0
Avg
5.9
Q3
6.0

Time distribution

All values are hours reported by students.

Lectures

Min
0.0
Median
2.0
Max
48.0
Q1
1.5
Avg
2.7
Q3
3.0

Homework

Min
0.3
Median
2.0
Max
29.0
Q1
1.0
Avg
2.4
Q3
3.0

Question breakdown

Correctness and answer distribution per question.

1. Install Django

432 / 432 correct (100.0%)

Answer Count
pip install django 167
uv add django 65
uv pip install django 39
pip install Django 17
python -m pip install django 12
python -m pip install Django 7
pip3 install django 4
pip install django djangorestframework 3
Yes 2
uv add Django 2
pip install "django>=4.2" 2
uv pip install Django 2
uv add django djangorestframework 2
conda install django 2
pip Install Django 1
py -3 -m pip install Django uvicorn 1
conda create -n django python=3.11 django 1
Install Django 1
pip install 'django' 1
pip install uv && uv init && uv add django 1
python -m pip install --upgrade pip & pip install django 1
python -m venv venv venv\Scripts\activate pip install django 1
1. python3 -m venv venv 2 . source venv/bin/activate 3 . pip install django 1
Help Install Django 1
uv venv && pipx install django 1
I want to build a TODO application in Django with python. The app should be able to do the following: Create, edit and delete TODOs Assign due dates Mark TODOs as resolved write the full code and guide to start the project and run it locally on my computer I'll like you to use uv for dependencies installation and setup 1
```bash pip install django ``` This will download and install the latest stable version of Django from the Python Package Index (PyPI). 1
uv venv .venv && source .venv/bin/activate && uv pip install django 1
python3 -m venv venv && source venv/bin/activate && pip install django 1
uv venv && source .venv/bin/activate && uv pip install django 1
1. Pip install django 1
Install django with uv 1
[project] name = "ai-app" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.10" dependencies = [ "django", ]. 1
uv add django # I asked Claude Code to use uv on this project 1
Q: Hi Copilot, You're an expert Django programmer, and I'd like you to explain to me in detail how to install Django. A: https://github.com/copilot/share/8a1001ac-41e0-8030-b812-8209408221a4 1
$ uv add django 1
pip install django - 5.2.8 1
What is the command to install Django in my environment? 1
uv init;uv venv;source .venv/bin/activate;uv add django 1
Please setup Django in this folder. 1
Django>=5.0 (in requirements.txt) 1
python3 -m venv .venv source .venv/bin/activate pip install django 1
python3 -m pip install django 1
uv init todo_app cd todo_app uv add django 1
uv venv; source .venv/bin/activate; uv pip install django 1
python3 -m venv .venv && source .venv/bin/activate && pip install django 1
poetry add django 1
uv init my-django-project cd my-django-project uv add django uv run django-admin --version uv run django-admin startproject todo_app . uv run ./manage.py runserver 1
.venv/Scripts/python.exe -m pip install Django 1
install django in cursor 1
uv pip install django / uv add django 1
python -m venv venv sourcev env/bin/activate pip install django 1
curl -LsSf https://astral.sh/uv/install.sh | sh 1
how can I install Django in vs code 1
pip.exe install Django 1
pip install django (after activating the virtual environment) 1
uv pip install Django --python .venv/bin/python 1
Completed the homework and it's running. Refer Homework.md for all instructions followed. 1
python -m venv venv; .\venv\Scripts\pip install django 1
create a project: python -m venv myproject_env source myproject_env/bin/activate then pip install django 1
uv init [current working directory] && uv add django [current working directory] && uv run django-admin startproject myproject . 1
uv init ., uv add django, uv sync, source .venv/bin/activate, uv run django-admin startproject config . 1
I am going to build todo app using Django by vibe coding. I dont have any knowledge about Django. Guide me to install django 1
What i asked antigravity: can you install Django for me? I want it to be usable by other IDEs as well. 1
python3 -m venv venv source venv/bin/activate pip install Django 1
install django in the current working directory using uv, add it to @pyproject.toml, and verify django installation 1
pip install django django-extensions 1
Option 1: Using uv (Recommended) 1. Initialize: uv init django_todo_homework (Creates folder + venv) 2. Install: cd django_todo_homework then uv add django 3. Create Project: uv run django-admin startproject todo_project . 1
pip install -r requirements.txt (The requirements.txt contains Django>=4.2) 1
uv pip install django // django==5.2.8 + sqlparse==0.5.3 1
uv init; uv add django 1
cd /Users/valeria/ai-dev-tools-zoomcamp-2025 && source venv/bin/activate && pip install --upgrade pip && pip install django 1
I want to start a project with Django. How can I install it? 1
pip install Django>=4.2 1
python --version python -m venv venv Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force . .\venv\Scripts\Activate.ps1 python -m pip install --upgrade pip pip install Django django-admin --version python -m django --version deactivate 1
uv pip install Django -p .venv/bin/python 1
To install Django on Windows, follow these steps: 1. Install Python Django is a Python framework, so you need Python installed. Download Python from https://www.python.org/downloads/ Choose the latest version (e.g., Python 3.11 or higher). During installation, check the box that says "Add Python to PATH". After installation, open Command Prompt and verify it: cmd python --version or sometimes: cmd py --version 2. Install Django using pip Open Command Prompt (cmd) and run: cmd pip install django If pip is not recognized, try: cmd py -m pip install django 3. Verify Installation After installation, check if Django was installed correctly: cmd django-admin --version You should see a version number like 4.2.7 or similar. 4. Create a Test Project (Optional) To make sure everything works: cmd django-admin startproject myproject cd myproject py manage.py runserver Open your browser and go to: http://127.0.0.1:8000 — you should see the Django welcome page. ✅ That’s it! Django is now installed and ready to use on your Windows machine. Let me know if you want to set up a virtual environment (recommended for real projects). 1
First Prompt: Install Django on my computer. I use a mac. What else do you need to know?; Second prompt: 1. Python 3.10.16 2. uv 3. VS Code 1
Preparation: uv init to create a new project incl. pyproject.toml file for dependecy management, then uv venv .venv to create a virutal env, at the end uv add django to install django and also add the dependency plus version lock to the .toml file and uv.lock 1
cd /Users/zhangxiaoyu && python3 -m venv django-env 1
-m pip install django 1
uv django 1
python -m pip install "django==4.2.*" 1
Open the integrated terminal in VS Code (Terminal → New Terminal). Create and activate a virtual environment (Linux): python3 -m venv .venv source .venv/bin/activate Upgrade pip: pip install --upgrade pip Install Django into the virtualenv: pip install django Verify installation: python -m django --version (Optional) Start a new Django project in the current folder: django-admin startproject mysite . (Optional) If the project already has requirements.txt: pip install -r requirements.txt 1
py -m pip install django 1
give me steps for install django to my project 1
install django for currnet python project 1
uv pip install django --python 1
Set up django for develpment - venv and necessary modules 1
Considering current devcontainer enviornment, how we install Django? 1
Done through requirements file >pip install -r requirements.txt 1
`pip install django` (or) `uv pip install django` as suggested by AI (claude) 1
Cursro suggest to install dajango with uv pip install, but i init project with uv and uv add django 1
done 1
requirements.txt 1
command: can you install django using uv? answer: curl -LsSf https://astral.sh/uv/install.sh | sh venv && source .venv/bin/activate && uv pip install django 1
uv init --no-readme; uv add django; uv run django-admin startproject todo_app . 1
.venv/bin/python -m pip install django 1
uv sync --no-build-isolation 1
python3 -m venv myenv 1
Sure! I’ll guide you step by step to **install Django on Windows**. We’ll do it in a clean way using **Python and pip**. --- ### **Step 1: Check if Python is Installed** 1. Open **Command Prompt (cmd)**. 2. Type: ```cmd python --version ``` * If you see a version like `Python 3.x.x`, you’re good. * If not, download Python from [python.org](https://www.python.org/downloads/windows/) and **check the box “Add Python to PATH”** during installation. --- ### **Step 2: Upgrade pip (Python package installer)** Run this in CMD: ```cmd python -m pip install --upgrade pip ``` --- ### **Step 3: Install Django** You have **two options**: #### Option 1: Install globally (simpler) ```cmd pip install django ``` #### Option 2: Install in a virtual environment (recommended) 1. **Create a project folder**: ```cmd mkdir my_django_project cd my_django_project ``` 2. **Create a virtual environment**: ```cmd python -m venv env ``` 3. **Activate the virtual environment**: ```cmd env\Scripts\activate ``` * You should now see `(env)` at the beginning of the command line. 4. **Install Django in the virtual environment**: ```cmd pip install django ``` --- ### **Step 4: Verify Django Installation** Run: ```cmd django-admin --version ``` You should see the Django version installed (e.g., `4.2.8`). --- ✅ **Optional Next Step: Start a Django Project** ```cmd django-admin startproject mysite cd mysite python manage.py runserver ``` * Open `http://127.0.0.1:8000/` in your browser. * You should see the Django welcome page. --- If you want, I can also give you a **shortcut single-command installation** for Windows that sets up Python, virtual environment, and Django all at once. Do you want me to do that? 1
conda install conda-forge::django 1
[ -d ".venv" ] || uv venv && source .venv/bin/activate && uv pip install django 1
To install Django properly, you should do it inside a virtual environment. This keeps your project isolated so it doesn't conflict with other projects or your system's Python version. Here is the professional, standard way to install Django on Windows, macOS, or Linux. 1. Prerequisites Ensure you have Python installed. Open your terminal or command prompt and run: Bash python --version # Or on Mac/Linux, sometimes: python3 --version If you don't have Python installed, download it from python.org. 2. Create a Project Folder First, create a folder for your new project and navigate into it. Windows / Mac / Linux: Bash mkdir myproject cd myproject 3. Set Up a Virtual Environment This step creates a self-contained folder (usually named .venv or env) that holds your Python packages. Windows: Bash python -m venv .venv Mac / Linux: Bash python3 -m venv .venv 4. Activate the Virtual Environment You must "turn on" the environment. You will know it works when you see (.venv) appear at the start of your command prompt line. Windows (Command Prompt): Bash .venv\Scripts\activate Windows (PowerShell): Bash .venv\Scripts\Activate.ps1 (If you get a permission error in PowerShell, run Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser first). Mac / Linux: Bash source .venv/bin/activate 5. Install Django Now that the environment is active, install Django using pip. Bash pip install django 6. Verify Installation Check that Django is installed correctly by asking for its version number: Bash python -m django --version You should see a version number like 5.1.3. Summary of Commands (Quick Copy-Paste) Windows: Bash mkdir my_django_app cd my_django_app python -m venv .venv .venv\Scripts\activate pip install django Mac / Linux: Bash mkdir my_django_app cd my_django_app python3 -m venv .venv source .venv/bin/activate pip install django Next Steps Would you like me to help you start a new project (django-admin startproject) or configure VS Code to work with your new Django environment? 1
" pip install -r requirements.txt " , where requirements.txt had Django 5.2.8 1
python -m venv .venv && source .venv/bin/activate && pip install django 1
uv add django==5.2 1
Create venv (recommended): • python -m venv venv • source venv/bin/activate (Linux/macOS) / venv\Scripts\activate (Windows) 2. Install Django: • pip install "Django>=5.0" 3. Verify: • python -m django --version 1
1. Create a virtualenv and activate it (recommended): ```bash python3 -m venv .venv source .venv/bin/activate ``` 2. Install dependencies: ```bash pip install -r requirements.txt ``` 1
`uv add django` (or `pip install django`) 1
yes: poetry add django 1
uv add Django==5.1.3 1
I need to install Django on my laptop and use it in an uv-managed Python project. Walk me through the following steps: 1) Check that there is a system- or user-wide installation of uv and it is up to date. 2) Create a new project with Python 3.13 and install Django in it so it will not pollute the system Python and other existing and future Python projects. 1
pip install Django==5.2.9 1
install Django 1

2. Project and App

381 / 432 correct (88.2%)

1 settings.py 381 (88.2%)
2 manage.py 37 (8.6%)
3 urls.py 5 (1.2%)
4 wsgi.py 2 (0.5%)

3. Django models

370 / 432 correct (85.6%)

1 Run the application 14 (3.2%)
2 Add the models to the admin panel 35 (8.1%)
3 Run migrations 370 (85.6%)
4 Create a makefile 5 (1.2%)

4. TODO Logic

407 / 432 correct (94.2%)

1 views.py 407 (94.2%)
2 urls.py 8 (1.9%)
3 admin.py 8 (1.9%)
4 tests.py 0 (0.0%)

5. Templates

319 / 432 correct (73.8%)

1 INSTALLED_APPS in project's settings.py 19 (4.4%)
2 TEMPLATES['DIRS'] in project's settings.py 319 (73.8%)
3 TEMPLATES['APP_DIRS'] in project's settings.py 66 (15.3%)
4 In the app's urls.py 20 (4.6%)

6. Tests

401 / 432 correct (92.8%)

1 pytest 11 (2.5%)
2 python manage.py test 401 (92.8%)
3 python -m django run_tests 6 (1.4%)
4 django-admin test 3 (0.7%)

Calculated: 10 December 2025, 10:46