Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love Python but I've never used Django -- I've always used Ruby on Rails since that's what I'm familiar with. Do you know of any resources I could use to get more comfortable with DRF (i.e. more complex than just the Quickstart tutorial [0])?

[0] http://www.django-rest-framework.org/tutorial/quickstart/



I learned it recently, the best tutorial on Django is right in the docs. The docs start you off with a tutorial for building a polling app that is really great for teaching the basics

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

The docs are amazing, probably because Django was created by journalists so they are really great at communicating things. It's not like most programming docs that leave you feeling lost and need to be supplemented with outside tutorials.

That said I'm new to programming so I supplemented the tutorial and instructions on the docs page with the one on the Django girls site.

http://tutorial.djangogirls.org/

I found that between these two and occasional references to stacks when I felt lost, it was all I needed.


I always recommend the tutorial [0] from Thinkster where you have to build a clone of G+ using Django ( DRF) and AngularJs. Try it. It's fun.

[0] https://thinkster.io/django-angularjs-tutorial


ugh that'd be great sans angularjs


We have a pure DRF tutorial coming out on Thinkster in ~2 weeks, so stay tuned!


Yeah. For that you should try Realpython [0]. Minimal but best. [0] https://realpython.com/blog/python/django-rest-framework-qui...


Actually, DRF itself has a fairly comprehensive tutorial. You linked to the "quickstart" page, but if you click on the other tutorial links it goes into much greater depth.

For example, the first page of the "real" tutorial covers serialization in depth: http://www.django-rest-framework.org/tutorial/1-serializatio...


DRF is not the same as Django, fwiw.

Since you're looking for an alternative to RoR, I'm assuming you want Django. They have great docs and you might check out godjango.com


If you want to focus on REST APIs with Django, DRF is pretty much required, and it's only a "pip3 install" away.

I flirted with switching to Rails (and did a lot of Code School courses and most of Michael Hart's Rails Tutorial), then realized I didn't have to limit myself to what comes with Django out-of-the-box.


'Tango with Django' is by far the best tutorial on Django that I've found (http://www.tangowithdjango.com/). It is well written and goes much deeper than other tutorials. It's depth is similar to the Rails Tutorial in RoR world.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: