Hands on workshop on Django(Python Framework)


Details
A 2-day hands-on workshop on Django (Python framework) for GEC students.
Conducted by the team that has built and scaled Weddingz.in. The website built using Django, is a marketplace for venues and vendors. It has thousands of listings across top 12 cities of India and a monthly traffic that exceeds a million page views.
The workshop is exclusively for current students of Goa College of Engineering. To register, students are requested to contact Professor Maruska Mascarenhas, Computer Engineering Department.
Objective of the workshop :
To introduce students to Web Application development using the awesomeness of Django, a framework that’s been in use since 2005.
Schedule:
Introduction
• What are frameworks and why do we need them?
• Picking a project for the workshop
• Django as a framework key concepts
• ORM
• Admin
• Templates
• APIs
• Community
• Popularity
Setup
• Setup
• Web app in an hour (basic functionality)
• Backend Data Management
• Create the Model
• Add it to the admin interface
• Displaying the data on the site
• Create a view
• Create a url to get the data ( homepage url )
• Create a template ( homepage html file )
Building up on the web app
Softwares needed : Python, Pip
Windows OS:
Download python from official site (https://www.python.org/downloads/)
At the time of installation, make sure you tick the check to add to python path to environment variables. If not, add full path(of the installed python) to environment variables. Eg. C:\Users\toshiba\AppData\Local\Programs\Python\Python36-32
Download get-pip.py (https://bootstrap.pypa.io/get-pip.py).
Go to command prompt into the downloaded directory & run the following command:
> python get-pip.py
Add the pip path to environment variables
Eg. C:\Users\toshiba\AppData\Local\Programs\Python\Python36-32\Scripts
Linux OS:
Python comes pre - installed on linux so no need to install python
To see if pip is already installed open a command prompt and run the following command:
> command -v pip
If not installed,Download get-pip.py (https://bootstrap.pypa.io/get-pip.py).
Go to command prompt into the downloaded directory & run the following command:
> python get-pip.py
Teaching Aids: Projector, White board , Markers, WiFi access, Laptops for participants

Hands on workshop on Django(Python Framework)