from Hacker News

Getting Started with Django REST Framework and AngularJS, Part 2

by joshfinnie on 1/12/16, 3:20 PM with 32 comments

  • by wylee on 1/12/16, 4:51 PM

    I use DRF with Angular at work, so I'm interested in seeing where this series goes.

    Tangentially, I can't imagine using Django without DRF. It makes setting up RESTful(ish) APIs so easy. Even if you don't care much about the RESTful aspects, it provides a much nicer way to organize your code than default Django IMO. I especially like how serialization works versus Django forms.

  • by adpirz on 1/12/16, 5:15 PM

    If you're looking for a good DRF / Angular tutorial, I'd highly recommend https://thinkster.io/django-angularjs-tutorial
  • by riebschlager on 1/12/16, 4:28 PM

    Aww, what a tease. This is exactly what I'm diving into right now. Since part one was written in November, I'm guessing part three might show up around March?

    Anyone have any worthwhile Django learning resources to share? (Other than Django's own docs, which are great.)

  • by Emouri on 1/12/16, 4:00 PM

    Neither Django Rest Framework nor AngularJS is actually used in this post..
  • by godzillabrennus on 1/12/16, 7:49 PM

    This is great! There is always room for more documentation on Django.
  • by pbreit on 1/12/16, 4:24 PM

    It's shocking to me how something that should be so easy becomes so complicated. Why does the file structure need to be re-configured? What the heck are the __init__ files?? Virtual environments?

    I sort of know the answers but remain unsatisfied.

    And then the author sets up a needlessly overcomplicated data model situation.