Workshop 2012-05-02 : Django : building a Python web app¶
General Informations¶
- Date : 2012-05-02 from 6:00 PM to 9:00 PM
- Place : McGill, Rutherford Building, room 118
3600 University Street, Montreal H3A 2T8 - Language : English
- Public : Open to all
- Trainer : Davin Baragiotta
- Subscription : http://montrealpython-workshop-20120502.eventbrite.com/
Prerequisites¶
- Minimal knowledge of Python. E.g.: to know what Types, Objects and Classes are.
Technical Setup¶
Be sure to have these programs installed before the workshop:
- Python >= 2.5
- Django 1.4
- South 0.7.4 (optional)
- IPython (optional)
Installation procedures by operating system :
- Linux
- Mac OS X
- Windows
- Python: x86 or amd64 (learn more).
- Django
- South
- IPython (learn more) (optional).
- For your comfort : pyreadline syntaxic coloration
Content of the Workshop¶
Plan¶
- INTRODUCTION
- PART 1 : WEB DEVELOPMENT WITH DJANGO : ARCHITECTURE OF A PROJECT
- Web development
- Django
- Project : requirements
- Project : modeling
- PART 2 : HANDS-ON : PROJECT AND APPLICATIONS
- Creating a project
- Creating an application
- South
- Backend : managing data in the admin
- Frontend : presenting data
- PART 3 : PIMPED MPRL PROJECT
- Template inheritance
- URL with parameters
- Pimped Admin : ModelAdmin
- Jump in time : download source
- Static files : CSS, images and js
- Pimped templates
- User connexion
- PART 4 : HANDS-ON : CREATING THE SEASON APP FOR THE MPRL PROJECT
- Create a season app
- Add a Match model
- Other exercise : age of a player
- CONCLUSION : CONTINUING ON
Material¶
- Presentation page (full content of the workshop) : http://bit.ly/In6fDS
- Sources : mp_rugby_league pimped project
Satisfaction Survey¶
- Thanks to give us your feedback for this Workshop : http://www.surveymonkey.com/s/WYMPK9T