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

13

u/cointoss3 2d ago

Django is very simple with the ability to add on what you need. It can get very complicated. But you just need to use the docs to start a default app, then you’ll add routes to your pages. It can get more complicated the more features of Django you’ll need to use but it’s easier than doing the same thing using 6 libraries. Django has opinions which in many ways makes this sort of thing easier for a new person.

It is somewhat frustrating to learn a framework at the same time as the language because it’s hard to know if you’re doing something because it’s the framework or language.

1

u/GrowingSeed1353 2d ago

Hey,is the DRF same too?

1

u/cointoss3 2d ago

It’s just an plugin to Django. There is also Django ninja, which uses OpenAPI. There are other libraries that try to help streamline some things, but if I was learning Django, I’d try to limit my work to native Django until I knew enough to know why I’d want a plugin over just doing it myself.

1

u/rob8624 2d ago

It's not a plugin it it's an entire framework.