HACKER Q&A
📣 banjodeluxe

How do I learn Django?


I found yesterday's post about how to learn JS pretty useful - I've been trying to learn Django myself, any ideas?


  👤 stakkur Accepted Answer ✓
Three resources I always recommend for beginners:

1. The Django Girls tutorial (multi-language): https://tutorial.djangogirls.org/

2. Will Vincent's books (also recommend his blog): https://wsvincent.com/best-django-books/

3. Tango with Django: https://www.tangowithdjango.com/

Also, here's a somewhat more comprehensive list of Django learning resources: https://www.fullstackpython.com/django.html


👤 snoozypants
I've got a couple of students online and the one pattern I've found is, have a project in mind you'd like to build. It keeps that inspiration for longer vs. just going through tutorials and pushes you a bit more to learn specific things, "Okay, how do I process a CSV file now". You SHOULD still go through a good tutorial or two to get overview of different concepts and components in the frameworks (the tutorials others have mentioned are solid).

One problem with learning while building (or learning by yourself in general) is bad practices. "Two Scoops of Django" is still a good one, though a bit old, but again it will teach some overarching concepts and approaches. And then getting feedback from others!


👤 matijash
What was your experience like with the offical Django tutorial & documentation? https://www.djangoproject.com/start/

👤 belzebalex
If you're French by any chance, https://openclassrooms.com/fr/courses/1871271-developpez-vot... This tutorial is gold. If you're not, try reading it with Google Traduction.

Apart from Django, Openclassrooms is the site where most French Programmers learned to do so, and it's an incredible ressource. It teaches you all the subjects from the ground-up assuming you have almost no knowledge.


👤 potta_coffee
My favorite Django tutorial is the Mozilla one: https://developer.mozilla.org/en-US/docs/Learn/Server-side/D...

After that I'd recommend just building something. Tutorials are great but I've always learned the most when I've just tried to build a real project.


👤 gshdg
The tutorial is pretty darn good.

After that, maybe the book Two Scoops of Django?


👤 cborenstein
Another resource that might be useful is video recordings from the DjangoCon conferences. Here's the youtube channel for DjangoCon US: https://www.youtube.com/channel/UC0yY6a79pPY9J0ShIHRf6yw