4 ms·
One of my more favorite reasons to use Django would be - http://www.django-rest-framework.org/ http://www.django-rest-framework.org/ - whose discoverable API br
by mpdehaan2 11y ago
One of my more favorite reasons to use Django would be - http://www.django-rest-framework.org/ http://www.django-rest-framework.org/ - whose discoverable API browser is awesome and saves so much time in building out a great REST API with pagination, related resources, and so many other things (plus you can post from the API browser). A bit less so the built-in admin features, which are also nice at times. Possibly also the migrations system. I don't use Django templates, but the rest of it are pretty much great.
I almost started a very major project with Flask, but am glad I did not for how much work DJRF and South had saved.
- thruflo 11y agohttp://python-eve.org/ http://python-eve.org/
- mjfisher 11y agoFor those who want a little context in-thread: "Eve is an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services. Eve is powered by Flask, Redis, Cerberus, Events and offers support for both MongoDB and SQL backends [*]."
- collyw 11y agoI'll admit I have no idea about Eve, but having used Tastypie, the beauty of Django Rest Framework is its consistency with Django. The Serializers are very similar to forms, and the API views are very like Djangos generic class based views.
- emidln 11y agoYou could also use a Django Form to validate the data with Tastypie[1]. [1] - https://django-tastypie.readthedocs.org/en/latest/validation.html#formvalidation https://django-tastypie.readthedocs.org/en/latest/validation...
- hackerboos 11y agoNot hard to throw http://swagger.io/ http://swagger.io/ in front of most APIs to get that 'query in the browser' feature.
- collyw 11y agoI had a look around a couple of month s back and I couldn't find anything like django-reversion.