Introduction to Django
Date and time
Location
Online event
Description
Emmanuelle Delescolle will teach you how to create a ToDo App with Django!
Here are the steps that she will guide you through:
- We'll install a stlightly prepared django project using cookiecutter in order to save time (with preloaded bootstrap, custom css, required apps already installed, db initialized with superuser)
- We'll jump directly into urls.py (with explanation on how a django/wsgi app is different from basics html/php/asp/jsp based sites if part of the audience has experience with those)
- We'll have a brief intro of TemplateView and Django templates and template inheritance
- We'll do a complete intro on models/makemigrations/migrate
- We'll have a brief description of the admin and how to create a ModelAdmin
- We'll move towards ListView, CreateView and UpdateView
- We'll create a custom View class (to set a todo as done from the list) based on RedirectView
If there's time left:
- We'll do an ajax version of the last step so the page doesn't need to be reloaded when setting a todo as done and see how django can behave differently for ajax and regular requests
Emmanuelle will use cloud9 for her class. If you don't have a cloud9 (https://c9.io) account, please sign up before the class. It's free!
Here's the link to the stream for the class https://www.livecoding.tv/emma/ and to the help chat we'll be using https://tlk.io/pyladiesremote
You can find Emmanuelle's slides for the class here http://slides.com/emma_be/plr-django-introduction#/