5 ms·
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
by Abundnce10 10y ago
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/ http://www.django-rest-framework.org/tutorial/quickstart/
- mod 10y agoDRF 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
- ralmidani 10y agoIf 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.
- babayega2 10y agoI 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 https://thinkster.io/django-angularjs-tutorial
- morenoh149 10y agough that'd be great sans angularjs
- babayega2 10y agoYeah. For that you should try Realpython [0]. Minimal but best. [0] https://realpython.com/blog/python/django-rest-framework-quick-start/ https://realpython.com/blog/python/django-rest-framework-qui...
- ericmsimons 10y agoWe have a pure DRF tutorial coming out on Thinkster in ~2 weeks, so stay tuned!
- babayega2 10y agoI 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 https://thinkster.io/django-angularjs-tutorial
- vivekd 10y agoI 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/ 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/ http://tutorial.djangogirls.org/ I found that between these two and occasional references to stacks when I felt lost, it was all I needed.
- fefifofu 10y ago'Tango with Django' is by far the best tutorial on Django that I've found (http://www.tangowithdjango.com/ 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.
- morgante 10y agoActually, 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-serialization/ http://www.django-rest-framework.org/tutorial/1-serializatio...