News for hackers. Stuff that matters.

Ask HN: How to Learn Django in 2023?

Hey! I've been using Python on and off for years and would like to learn Django but I'm not sure what guides are up to date or useful. Any suggestions? Bonus points if it's directly related to using Django in a startup environments akin to https://alexkrupp.typepad.com/sensemaking/2021/06/django-for-startup-founders-a-better-software-architecture-for-saas-startups-and-consumer-apps.html :)
( 8 comments | on HN )
Re:Ask HN: How to Learn Django in 2023? by nigamanth on Thursday January 05, 2023 @12:08AM (#34256232)
Just read the documentation, it's a fairly simple library - however it has a lot of potential. Make sure you understand Python though.
Re:Ask HN: How to Learn Django in 2023? by jventura on Thursday January 05, 2023 @03:32AM (#34257376)
Do the "Poll's app" from their tutorial [0]. It's quite basic comparing to bigger app but it covers enough of the necessary content to get your started.

[0] https://docs.djangoproject.com/en/4.1/intro/

Re:Ask HN: How to Learn Django in 2023? by superdeeda on Thursday January 05, 2023 @05:01AM (#34257888)
Re:Ask HN: How to Learn Django in 2023? by rlawson on Thursday January 05, 2023 @07:20AM (#34258715)
Will Vincent's books are great to get you started and productive. Django is a very deep framework though so expect to keep learning for a while

https://wsvincent.com/books/

Re:Ask HN: How to Learn Django in 2023? by satya71 on Thursday January 05, 2023 @07:24AM (#34258747)
Will Vincent has a series of books for Django. I recommend Django for Beginners as a start. Two Scoops and Django for Professionals are great after you have a few projects under your belt.

https://wsvincent.com/books/

Re:Ask HN: How to Learn Django in 2023? by f0e4c2f7 on Thursday January 05, 2023 @09:28AM (#34259974)
Lately I've actually been finding a good place to start on new languages is talking to ChatGpt. You can ask really naive questions and get a lay of the land for the language or framework. You can even ask questions like (I know how to do X in Y framework, how would I do it in Django).

You can also use it to build your first hello world to get up and running a little faster.

After I would reccomend shoring up / confirming your knowledge with more traditional tutorials but I've found ChatGpt great for those early moments of learning.

Re:Ask HN: How to Learn Django in 2023? by matthewn on Thursday January 05, 2023 @12:26PM (#34263241)
As others have said, Will Vincent's books are excellent. I also like Mastering Django a great deal; it is extremely comprehensive: https://masteringdjango.com/
Re:Ask HN: How to Learn Django in 2023? by Scarbutt on Friday January 06, 2023 @01:13PM (#34278572)
I would recommend full stack Javascript instead, you are going to need JS in the browser anyway.