Road Map for a newbie

88 views
Skip to first unread message

Tesfaye Yimam

unread,
Aug 17, 2023, 11:15:03 AM8/17/23
to Django users
Hello all,

This is my second day of learning Django. I am comfortable with python (the basics and the OOP).
I wanted to have some guidance from this community to learn Djanog by taking small steps in a consistent way.
Any one who has a road-map, especially if you tried it and worked for you,  that will greatly help me in the learning process of Django. So, please drop me a message here.
I'm happy to be here.

ivan harold

unread,
Aug 17, 2023, 12:36:13 PM8/17/23
to Django users
try learning by going to certain websites that offer to learn, such as w3schools.com

Mike Dewhirst

unread,
Aug 17, 2023, 8:24:45 PM8/17/23
to django...@googlegroups.com
Welcome!

There would be no better way to start than working through the tutorial in the docs, step by step ...

https://docs.djangoproject.com/en/4.2/

Afterwards, you should decide/specify your own project and when the spec is more or less settled you should set it up as a fresh project and make it happen.

The critical part of learning Django is the specification of what you want. Personally, I keep the (excellent) docs permanently open in my browser so I can research how to achieve what I want to happen.

You will discover that Django takes a couple of different paths and you need to choose. Both are valid but I chose functional views rather than class-based views.

My reasons were that functional views seem simpler and allowed me absolute flexibility. I felt that class-based views while brilliant were more difficult for me. YMMV.

Also, Django now allows async programming. That's a bit too advanced for me - at least until it becomes necessary.

Good luck


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e9724d36-e07b-42b2-8902-6a8294c695b5n%40googlegroups.com.


-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.
OpenPGP_signature

Sebastian Jung

unread,
Aug 17, 2023, 9:00:47 PM8/17/23
to django...@googlegroups.com
Hello,

At the beginning i read much tutorials about function based django. It is on beginning a little bit easier because you understand how a list-, create-/update- and deleteview works. For little project this approach is fine. I waste with function based aproach too much time because i extend my own project after and after and then when for example i find a mistake in one listview most other listviewa from another models i must fix. So it is hugh amount of bugfixes. 

Then i learn class based approach this i a little bit harder because you don't know which classes exists and what of this classes what makes. It exists in Internet one website where you find perfectly what classes exists and much classes have comments what class does. Since i use class based views i am very happy. 

On beginning i have for every listview and for every form a own template. Also i find same problem like in function based approach... Often i want to extend all of listview Templates with same feature and then i fix muuuch templates. Then i build me self for list-, create-, updateview one template where i can insert every model. Since that i am very happy. 

I learn how i can make own widgets. 

I learn how i can makes my own filter/tags for templates. 

I disagree mike with his tip to take django documentation because this manual is very nice when you search for a specific thing. But for learning as beginner this is not right approach. 

I give you know my tip: learn short how you writes function based listview/deleteview/createview and updateview then when you know how it works don't waste time to go deeper in function based. Learn instant usage of classes based which class, method exists and what it makes and how you override this methods... there exists in internet much tutorials also in class based views

When you know this writes me then i give you more tipps

Last thing there exists a Webpage for django simple is better then complex. There you find much good tutorials veeery good describe and very usefull for example django and Ajax...

Begin with your own project and extend it after and after and if yoz have questions then writes me...

Good luck

Mike Dewhirst

unread,
Aug 18, 2023, 2:05:05 AM8/18/23
to Django users
On 18/08/2023 10:59 am, Sebastian Jung wrote:
Hello,

At the beginning i read much tutorials about function based django. It is on beginning a little bit easier because you understand how a list-, create-/update- and deleteview works. For little project this approach is fine. I waste with function based aproach too much time because i extend my own project after and after and then when for example i find a mistake in one listview most other listviewa from another models i must fix. So it is hugh amount of bugfixes. 

Then i learn class based approach this i a little bit harder because you don't know which classes exists and what of this classes what makes. It exists in Internet one website where you find perfectly what classes exists and much classes have comments what class does. Since i use class based views i am very happy.

For a newbie, the learning curve should be as shallow as possible - "a little bit harder" might be too much.

BTW ... https://spookylukey.github.io/django-views-the-right-way/

OpenPGP_signature

ASAMOAH EMMANUEL

unread,
Aug 18, 2023, 5:22:12 AM8/18/23
to django...@googlegroups.com
do lots of projects and refer to the documentation when you need to understand concepts in detail. Here is my private channel where I upload django premium resources with ton of projects. here is the invite link if you want to avoid the frustration of finding organized tutorials and hands on to try. https://t.me/+VXTu7RXQ47VlM2Q0

Reply all
Reply to author
Forward
0 new messages