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/

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 <mi...@dewhirst.com.au> schrieb am Fr., 18. Aug. 2023, 02:24:
    On 17/08/2023 7:24 pm, Tesfaye Yimam wrote:
    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.
    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+unsubscr...@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
    
<https://groups.google.com/d/msgid/django-users/e9724d36-e07b-42b2-8902-6a8294c695b5n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 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.

-- 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+unsubscr...@googlegroups.com.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/ca6aa1dd-f7a0-702c-e317-f8998cda53a4%40dewhirst.com.au
    
<https://groups.google.com/d/msgid/django-users/ca6aa1dd-f7a0-702c-e317-f8998cda53a4%40dewhirst.com.au?utm_medium=email&utm_source=footer>.

--
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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKGT9mzi0FdWyCr8ACbS_aFjNEg%3Dg5ZGD%3DKaOg3ySEpdO51Mmw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAKGT9mzi0FdWyCr8ACbS_aFjNEg%3Dg5ZGD%3DKaOg3ySEpdO51Mmw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
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.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4ba9e785-b369-21f0-ea2c-75adc4305d93%40dewhirst.com.au.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to