Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utrodus/learn_django
This repository is the result of the practice of developing and building websites using Django.
https://github.com/utrodus/learn_django
Last synced: about 16 hours ago
JSON representation
This repository is the result of the practice of developing and building websites using Django.
- Host: GitHub
- URL: https://github.com/utrodus/learn_django
- Owner: utrodus
- License: mit
- Created: 2024-06-02T12:13:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-15T04:41:21.000Z (5 months ago)
- Last Synced: 2024-06-15T05:34:35.337Z (5 months ago)
- Language: JavaScript
- Homepage: https://djangoforbeginners.com/
- Size: 402 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Learn Django For Beginner
## Overview
This repository is the result of the practice of developing and building websites using **Django 4.2.0** from the book [*Django for Beginners* by William Vincent](https://djangoforbeginners.com/).The book provides a comprehensive introduction to building web applications with Django, a popular web framework for Python.
## Content
The repository is organized into several folders, each corresponding to a chapter or project from the book. Each folder contains:
- **Source Code**: The complete source code for the project or exercise.
- **README**: Detailed explanations and instructions related to the project.## Prerequisites
To follow along with the code and examples in this repository, you will need:
- Basic knowledge of Python programming.
- A development environment set up with Python 3.12.3 or higher.
- Familiarity with basic web development concepts (HTML, CSS, JavaScript).## Getting Started
To get started with the code in this repository:
1. Clone the repository:
```bash
git clone https://github.com/utrodus/learn_django.git
python3
2. Setup virtual environtment and enter directory:
```bash
# Windows
$ cd ch_02_hello_world_app
$ python -m venv .venv
$ .venv\Scripts\Activate.ps1
(.venv)# macOS
$ cd ch_02_hello_world_app
$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv) $3. install requirements.txt, **Ex: Open ch_02_hello_world_app :**
``` bash
(.venv) $ pip install -r requirements.txt4. And then run the django server with this commands:
``` bash
(.venv) $ python manage.py runserver