News for hackers. Stuff that matters.
Re:Ask HN: Advice for someone struggling to learn Django by viraptor on Sunday October 22, 2017 @03:33AM (#15525627)
Deviate, identify what is the problem, solve that problem, repeat. When you can describe a very specific problem, stackoverflow is great. Otherwise, IRC or some django-specific community may be a better place. If you think you're struggling, break down the issue into small bits: what are you trying to achieve, what have you tried, what's the smallest bit of progress you can make right now / what's the immediate issue that's stopping you.

You'll always find new problems if you try new things. That's learning, not struggling. :-) (worth repeating to get a more positive outlook)

Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @05:24AM (#15525880)
Thank you viraptor. I've been on irc since posting this. Should've been using that resource ages ago. Really needed someone I could ask specific questions and didn't really know where to turn for that. Excited to be learning not struggling :)
Re:Ask HN: Advice for someone struggling to learn Django by ldonley on Sunday October 22, 2017 @05:28PM (#15529042)
It might be worthwhile to use a library like Flask which has less batteries included. This will force you to figure out which pieces of the puzzle you are missing and will (hopefully) allow you to learn a lot through exploration.

Once you understand what everything is doing, going back to Django, you should understand what all of the components are doing.

Django & Flask are not exactly one-to-one with the way they handle a lot of things, but I think it would still be a useful exercise.

Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @11:17PM (#15530459)
Thanks Idonley. I have heard that flask is easier. At this point I feel too deep into Django to give up. However, picking up some flask stuff on the side could be worthwhile. Would certainly broaden my understanding of it all.
Re:Ask HN: Advice for someone struggling to learn Django by bigmanwalter on Monday October 23, 2017 @02:19PM (#15535531)
I would second this advice. Flask is structured much more intuitively than Django. The first time I tried Flask after Django everything just clicked into place immediately.
Re:Ask HN: Advice for someone struggling to learn Django by togusa2017 on Monday October 23, 2017 @07:16PM (#15537739)
I would agree too. Flask will help you understand the basic web framework and will give you confidence. In the past I often used django but once I worked with flask I never looked back.
Re:Ask HN: Advice for someone struggling to learn Django by twobyfour on Monday October 23, 2017 @07:16PM (#15537737)
Before learning Django, did you already understand the fundamentals of the web, relational databases, and basic programming?

Django abstracts away the tedious aspects of the use of SQL databases, form validation, HTTP requests and responses, and the like. It does not absolve you from understanding the underlying structures.

Re:Ask HN: Advice for someone struggling to learn Django by wreath on Sunday October 22, 2017 @06:57AM (#15526158)
Try to understand why things are done the way they are and what is actually happening instead of just following the tutorial systematically. If you have some knowledge gap, say in basic HTTP or data modeling concepts, make sure you read about those as well. This will strengthen your understanding of the framework. Also, if this is your first time with Python, I highly recommend learning Python before learning the framework. This applies to any language out there.
Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @11:16PM (#15530452)
Thanks Wreath. That's good advice. I have been brushing up on my python skills as I was concerned that may be my problem. I unfortunately did learn Django very very shortly after i started diving into python. Will continue to further my python education for sure!
Re:Ask HN: Advice for someone struggling to learn Django by pydox on Sunday October 22, 2017 @09:41AM (#15526783)
Learn HTML and CSS, Python, and then Django. Think of a new idea. Try build when learning Django.
Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @09:43PM (#15530108)
Thanks Pydox. I do know html and css. I've been doing that for a little over a year now. Currently design a lot of landing pages for work. I'm currently working on www.correlate.pro with Django :) My website www.samuelpiecz.com is built with Django and I've built a couple other little projects. My website does need to be updated badly though..
Re:Ask HN: Advice for someone struggling to learn Django by alphanumeric0 on Sunday October 22, 2017 @02:37AM (#15525474)
Hi, I'd suggest finding a local Python or Django user group and asking for help. Also it's worth joining #django on irc to ask questions.
Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @02:52AM (#15525514)
Thanks for the advice. I will certainly start taking advantage of irc. Unfortunately no meetups around here.
Re:Ask HN: Advice for someone struggling to learn Django by pryelluw on Sunday October 22, 2017 @02:59PM (#15528318)
Email me any questions. Id love to help. If you are on twitter, then Id connect you to some great django people.

(Check my profile)

Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @09:42PM (#15530094)
Thank you very much! I really appreciate it. Have added you on twitter, however, I'm not super active on social media.
Re:Ask HN: Advice for someone struggling to learn Django by mjhea0 on Sunday October 22, 2017 @01:06PM (#15527757)
Which tutorials have you done thus far?
Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Sunday October 22, 2017 @09:41PM (#15530092)
I've done all the teamtreehouse python and Django tutorials. Which took a few months. Even did it a second time. Then also the django polls tutorial on the Django docs site. Plus the local library tut that is on the mozilla site. Also built a storefront using Django but I used 3rd party integrations to deal with payment processing and the shopping cart (stripe and snappycheckout).
Re:Ask HN: Advice for someone struggling to learn Django by 3131s on Monday October 23, 2017 @03:02AM (#15531261)
Have you read through "Two Scoops of Django" yet? I am not really a fan of any Django learning resources (that I'm aware of) outside of that one, and the docs. It helped me because it explicitly lays out an opinionated but sensible way of structuring projects.
Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Monday October 23, 2017 @02:11PM (#15535464)
I have read about half of it so far. All projects I have worked on recently I've used the Cookiecutter that Audrey and Danny offer. It's extremely helpful. Thanks for reminding me I need to finish it!
Re:Ask HN: Advice for someone struggling to learn Django by smithmayowa on Monday October 23, 2017 @10:19AM (#15533321)
try searching for djangogirls and hellowebapp tutorial on google that helped me learn django basic concept in a relative short frame of time two months to be exact, then check out https://simpleisbetterthancomplex.com blog posts on various python frameworks implementation and browse through github for various Django projects source code particularly drskepy django hackathon boiler plate. And if you still have problem with python checkout sololearns app on play store or appstore it was very instrumental for me getting a better grasps on python basics.
Re:Ask HN: Advice for someone struggling to learn Django by limedaring on Monday October 23, 2017 @12:56PM (#15534640)
Author of Hello Web App here — thanks for recommending! I actually moved the entire tutorial online recently, you can read it for free here: https://hellowebbooks.com/tutorial/

It's written in a way to help you build something unique, which might help your issue, OP. Basically I walk through building a "collection of things," which you can alter to create something like a Twitter clone, a directory, a blog, a store, etc.

Happy to help, send me an email [email protected] anytime. :)

Re:Ask HN: Advice for someone struggling to learn Django by megasquid on Monday October 23, 2017 @07:15PM (#15537734)
Thank you very much limedaring! I will not hesitate to reach out once I hit my next roadblock. Look forward to trying out your tutorial :)