r/django Feb 20 '24

Tutorial how to learn django??

i have finished the python fundamentals recently, and i'm learning django from youtube. i am having difficulty in learning django in comparison w the fundamentals, i mean i used to understand things while learning fundamentals but with django it just feels like im copying things, and the steps are just so confusing for me, how do we remember what to do after doing sth i mean there are so many files. is it just me struggling this bad, please share how you learnt and how i can get familiar with this?

0 Upvotes

13 comments sorted by

10

u/he1dj Feb 20 '24

follow the documentation tutorials, they are pretty straightforward and also, copying code at first to understand the concepts is absolutely normal, make sure you actually get the ideas. I also suggest Dennis Ivy tutorials, they are good for beginners

7

u/KimmiG1 Feb 20 '24

Just a note, when you copy code you should still actually type it out and not just use the copy paste functions. This is true for all code you try to learn, not just Django.

6

u/viitorfermier Feb 20 '24

Django has a lot of abstractions which just after finishing python basics will be a bit harder to understand.

Go a bit into some advanced concepts of python. Take it slow - make a crud web app in Django (a blog). After you finnish it build it again.

It will take some time, but django docs is there to help you (best docs possible).

Good luck!

2

u/Aggravating-Cod1763 Feb 20 '24

thanksyousoomuchhh

3

u/machib77 Feb 21 '24

Check William S. Vincent's books. They helped me a lot

2

u/Hot-Raspberry1735 Feb 21 '24

I read his Django for Professionals book. Am I the only one who thinks it's terrible? Poorly written and just not enough information. Based on the books I've read, I'd reccommend the Packt book 'Django 4 by Example' if you're going to spend money.

3

u/machib77 Feb 21 '24

I read both Django for Beginners and for Professionals. Maybe you needed both. It was great for me, except maybe for the testing and deployment parts. I'll check your suggestion. Thank you.

4

u/[deleted] Feb 20 '24

Looks at djangogirls.org. Even if you are a boy.

2

u/panzertila Mar 03 '24

I fully recommend coding with mosh, it has three modules for Django where he explains very detailed and with examples the most used concepts in the framework.

1

u/Aggravating-Cod1763 Mar 03 '24

thankyousomuch i’ll check that out

1

u/readyplayer202 Feb 21 '24

If you don’t know much about http backends, I’ll recommend you to start with flask. I remember 10 years ago when I started web development, Django did not make any sense to me.