An Introduction to Django (Tutorial)
summary
Builds a small Django app that tracks lightning talks: creates a talks app, defines a Talk model (personal_name, family_name, title, contact_email, twitter), registers it in INSTALLED_APPS and admin, runs migrations, and uses Git/GitHub and virtualenv. Demonstrates list and detail pages via models, views, templates, URLs, uses the ORM (Talk.objects.all), get_object_or_404 for safe lookups and get_absolute_url on instances, shows four sample talks, and the demo pages and custom 404 work end-to-end.
AI-written summary · about
chapters (12)
- 0:00Start
- 8:53creating your django project
- 20:08create a second terminal window
- 25:29dealing with a django application
- 31:55adding new apps to your django project
- 33:07login to the admin of your django project
- 41:05building your django application
- 58:47create a new project
- 59:27a look at our settings file
- 1:43:07using different types of django exception
- 1:58:43path module
- 2:03:19cookies in django
