Getting Used to Working in Django
Posted on Jun 27th, 2022
🗓️ Today’s Topics
Today we develop our mental model of Django, understanding what it does and how it does it.
- Django urls & views
- Django templates
- Django models and the database
- Dealing with errors
🎯 Project: Uptact
When you start your first dev job, you will see a lot of code all at once and will have to be able to read it and understand what it does so that you can modify and add to it.
In this project you will do just that: modify existing code to augment its functionality. This is due Wednesday morning.
Each person should accept the assignment invitation and work in their own repo, but please work on this assignment with your assigned buddies. Buddy groups are welcome to combine and unite forces. The point is: nobody should struggle alone.
For each part of the assignment, talk over with your buddies how you each think you can accomplish the tasks. Be willing to try things your buddy suggests even if you aren’t sure it’s right! You will learn a lot by seeing what happens (and what doesn’t) when you make changes.
Talking it through will help clarify your understanding of how Django works, and having a buddy around will be helpful when you inevitably run into errors.
You will join your code buddies in breakout rooms this morning.
🔖 Resources
- Thinkific Django
- MDN: Django Introduction
- MDN: Introducción a Django (Español)
- Official Django documentation
- Documentación de Django (Español)
- Django Topic Guide (this is a useful table of contents for the Django docs)
- Pretty Printed Django Videos: Videos 1-10 are the ones specific to Django. There are other videos on related topics; they are useful but not relevant to the material we’re covering right now.
- Curso de Django Desde Cero (Español) Partes 1-3
- Django Chat Podcast: How to Learn Django
- Pipenv documentation
- Django Debug Toolbar
Databases
- DB Browser for SQLite
- Database Design Tutorial -> This is really an introduction to databases.