Joined May 2014
·
Posted to
POSTing from Angular to Django
over 1 year
ago
@yannikmesserli, that is a really good point. I found this is really useful for those times when I need to write a small little function based view that doesn't need the overhead or is more complex to try to write in the Django Rest Framework. This mostly happened when I was going in an optimizing certain sections that needed to be as fast as possible.
Posted to
Post x-www-form-urlencoded data with Restangular
over 1 year
ago
I just ran into this issue with Django and Angular. I didn't want to write a custom solution in Angular, so I wrote a solution that allows Django to load the JSON data. This way I can just write it in plain Angular and my solution in Django allows me to just write normal Django too. https://coderwall.com/p/mwhmfg?i=1&p=1&q=author%3Alucasroesler&t%5B%5D=lucasroesler
Achievements
179 Karma
18,370 Total ProTip Views
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Python 3
Have at least three original repos where Python is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
It seems that you could do something similar with decorators too.