Supertype x UKP: Getting Familiar with Django Web Framework
In this workshop, you will learn about Django Web Framework by creating a To-Do List project using Django. The to-do list project includes the following features:
- User Authentication
- Adding A New Task with certain deadline
- Editing A Task
- Completing A Task
Prerequisite
Make sure you already have the following tools installed in your device if you wish to follow the tutorial accordingly:
Develop in Local Environment
-
git clone https://github.com/vccalvin33/django-workshop.git
in your terminal. -
Move to the project folder using
cd django-workshop
command. -
Create a new virtual environment using
conda create -n django-workshop
command. -
Activate the virtual environment using
conda activate django-workshop
command. -
Install
python
in your environment usingconda install python
command. -
Then install all the required packages using
pip install -r requirements.txt
command. -
Move to the
todolist
folder usingcd todolist
command. -
Then, run the development server:
python manage.py runserver
-
Open http://127.0.0.1:8000/ with your browser to see the result.
-
You can start editing the page by modifying
app/views.py
or the other files. Reload the page to see if your edits have been reflected on the page.
Workshop Materials
Materials of the workshop can be accessed through this link.