Learning Django By Making A Tutorial - Part 1
I spent a few hours working through the official Django tutorial over the past week. I only made it halfway through. It just doesn't work for the way that I learn. (Check out the past few streams to see me getting frustrated with it.)
So, I'm going Docendo Discimus style. Learning by teaching. Or, in this case, making a tutorial. This is the first of a multi-part set of streams where I put stuff together.
This session is of me getting a home page up and running (and learning lots in the process).
I'll post the entire tutorial when it's done.
Table Of Contents
- Part 1 - Getting the home page to work
- Part 2 - Reviewing the first draft and building a model, view, and url structure for a checklist page
- Part 3 - Learning how to test. And, making a python module so that unittest's output is green instead of red when tests pass.
- Part 4 - More progress with testing and getting database content to show up. (Also, updating my local Hugo site to launch into either Sublime Text 2, or Sublime Text 3.)
- Part 5 - Working with forms and getting a pointer to generic views.
- Part 6 - Review run-through and adding URLs.
Links From The Stream
- 'Manager' object is not iterable error - Stack Overflow
- Chapter 3: Pages App | Django For Beginners
- django 'Manager' object is not iterable (but the code works in the manage.py shell) - Stack Overflow
- Django Tutorial Part 5: Creating our home page - Learn web development | MDN
- How to edit default django home page and new page - Stack Overflow
- How to Set Up Your Homepage with Django | by 9cv9 official | Medium
- Treehouse | Exploring Django Track
- Writing your first Django app, part 3 | Django documentation | Django