Skip to content

Module 2 - Django

References

Timeline

Day 1

Django Tutorial (Part 1, 2) Part 1

Creating a project
The development server
Creating the Polls app
Write your first view

Part 2

Database setup
Creating models
Activating models
Playing with the API
Introducing the Django Admin

Day 2

Django Tutorial (Part 3, 4) Part 3

  • Writing more views
  • Write views that actually do something
  • Raising a 404 error
  • Use the template system

Part 4

  • Write a minimal form
  • Use generic views: Less code is better

Day 3

Django Tutorial (Part 5, 6, 7) Part 5

  • Introducing automated testing
  • Basic testing strategies
  • Writing our first test
  • Test a view
  • When testing, more is better

Part 6/7 (Optional)

  • Customize your app’s look and feel
  • Adding a background-image
  • Customize the admin form
  • Adding related objects
  • Customize the admin change list
  • Customize the admin look and feel
  • Customize the admin index page