Django Workshop at PyConPH 2015
by Jon Danao
Django is a batteries-included Python web framework for creating dynamic web applications and APIs. It is free and open source, has extensive documentation and a large community. In this workshop you will learn how to setup your project, interact with the database and render front-end HTMLs.
- Expected length: 3 hours
- Talk level: Beginner and Intermediate
- Equipment: You may bring a laptop for the workshop.
Jon is the Head Honcho of The App Factory, previously the Head of Technology for Innovations at ABS-CBN. He played lead guitars for a local band in Manila called Bridge. He is strong in blues, rock and roll, and showmanship. Terrible in second voice. He loves to cook and went to culinary school. He is strong in Asian cuisine and any food with patis (fish sauce) and chili.
This workshop has been tested on OSX Yosemite and Windows 7 64-bit
Topics
1. Setup: How to setup your machine for Django
- Setup for OSX
- Setup for Linux
- Setup for Windows
2. Project: How to start your Django project
- Setting up the Development Environment
- Creating the Django Project
- Configuring the Site
3. Models: How to define your data
- Creating the Recipe App and its Model
- Activating the Models in Admin Site
4. URLs and Views: How to access your data
- Naming the URL for Index Page
- Querying Data for Index Page
5. Templates: How to render your data
- Rendering the Index Page
- Rendering the Category and Recipe Pages
Workshop Files
- HTML Templates
- Presentation
- Workbook in ePub
- Workbook in PDF
Thank You