Alternatives to Django REST Framework

720 views
Skip to first unread message

Amit Prahesh

unread,
Apr 9, 2015, 8:55:21 AM4/9/15
to django...@googlegroups.com
Hi,

while Django REST Framework seems wonderful to me, it is a heayweight option for a little project of mine. I wonder if there are simpler alternatives for publishing a simple API?

TIA,
AP.

Jorge Andrés Vergara Ebratt

unread,
Apr 9, 2015, 9:03:41 AM4/9/15
to django...@googlegroups.com
I love DRF, but if you want to check something else, there is also Tastypie!

Here you can find the docs: https://django-tastypie.readthedocs.org/en/latest/



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEH4rCRLGSjfi1G1ToKSPwcAUmsa38vyxp5s%3DnzDgbNqAg4Z1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Farrell

unread,
Apr 9, 2015, 9:05:43 AM4/9/15
to django...@googlegroups.com
Someone I met at the Austin python user group told me they'd built their company's backend using Falcon and were very happy with it.

--

François Schiettecatte

unread,
Apr 9, 2015, 9:08:36 AM4/9/15
to django...@googlegroups.com
You could try Flask, I have used it in the past when I did not need all the infrastructure that Django provides:

http://flask.pocoo.org

François

Lucas Klassmann

unread,
Apr 9, 2015, 9:12:16 AM4/9/15
to django...@googlegroups.com
Hi,

You can search for "restless", it is a small library, very simple and with basics features, but you can understand the mechanisms from behind and the behavior of a "REST" framework. 

Or you can try make something own, in the internet has some tutorials that explain how to make.

I did make my own REST api with CBV (Class Based Views) and django authentication.

Cheers.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEH4rCRLGSjfi1G1ToKSPwcAUmsa38vyxp5s%3DnzDgbNqAg4Z1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Lucas Klassmann
Desenvolvedor de Software

Email: lucaskl...@gmail.com
Web site: http://www.lucasklassmann.com

graeme

unread,
Apr 9, 2015, 9:24:23 AM4/9/15
to django...@googlegroups.com
If you do not need Django at all, Flask or Bottle.

If you are going to use Django anyway, just use a Django view that return JSON, XML or whatever you want.

Vijay Khemlani

unread,
Apr 9, 2015, 9:46:00 AM4/9/15
to django...@googlegroups.com
If you don't need the advanced features of Django or REST framework it's easy to ignore them, it's not like they require tons of resources or configuration files to work.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

François Schiettecatte

unread,
Apr 9, 2015, 4:37:59 PM4/9/15
to django...@googlegroups.com
If you do go the Flask route, you might want to check this:

https://github.com/humiaozuzu/awesome-flask

Just came with the lastest ImportPython Newsletter (http://importpython.com/newsletter/no/27/)

François
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei0oasfjrvvO2ZtR9krUE-%2B8D%2B6gbcgrQrddnJboYD55zQ%40mail.gmail.com.

aRkadeFR

unread,
Apr 10, 2015, 4:51:32 AM4/10/15
to django...@googlegroups.com
Hey,

Don't think DRF as a heavy option. It's pretty light actually.

I won't recommend at all tastypie (really bad experience with
it).

I would agree with Francois on flask. That's a good alternative
to build a light API.

aRkadeFR
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages