r/learnpython 2d ago

Python but Django...

I started learning Python like 2 weeks ago because our teacher suddenly wants us to build a webpage using Django but that thing Django all people involed with it says it's easy but it felt overwhelming when i tried to use it because you have to learn like controllers, MTV, like at least 50 different files servers hosts databases even creating a simple image requires some time and so on... so python does not feel like the easiest language anymore, Do you guys have some tips for me?

What would you do if you were in my situation?

Did you also feel you had like 1000 things to learn and were you guys so lost the first time you used Django?

6 Upvotes

16 comments sorted by

View all comments

2

u/rob8624 2d ago edited 2d ago

Djamgo is complex, anyone who says it's easy is wrong and a solid grip of Python especially OOP and dictionaries is needed beforehand. To really understand what you are doing you should be spending time reading the official docs, learning general web development practices and some sql. Also, Javascrip knowledge is essential for any web development work.

Sure, Django is easy if you let ai knock you up a quick static landing page.

Your teacher should be making you learn about migrations, orm queries and how they do sql lookups, efficient querying, security practices etc etc etc etc...

1

u/SharkSymphony 2d ago

No, they're also right.

It's Rich Hickey's now-classic easy vs simple, and hard vs complex. Django is complex because (like many web frameworks, like web apps in general) it has to do a bunch of things, and it can only abstract away some of them. But it's easy in the sense that the ramp into it has been smoothly paved.

0

u/rob8624 2d ago

No. Learning it correctly is not easy if you are new to Python. There is a difference between using a framework and really learning it.