Live data from Hacker News

Must-have Django packages

devcharm.com

11–20 of 100 posts

Re: Must-have Django packages

#11
post #3

I currently use Tasypie. Would I gain anything switching to Django REST framework?

Bonus points that Daniel Lindsay (tastypie author) got a job with Amazon, works on boto, and does very little with tastypie anymore. D-R-F is actively maintained and is a bit nicer to work with. Also, the autogenerated apiview "self documenting api" is super duper nice.

Re: Must-have Django packages

#12
Interesting, my fairly large django project uses none of those. Instead, the addons we consider to be critical are these these:

    django-debreach
    django-redis
    jinja2
    pytz
Redis for queues and caching, debreach to secure the CSRF tokens and vary your content length to avoid the BREACH vulnerability. jinja2 for doing templates outside of returning data, and pytz so you can use timezones in your data models.

I also recommend installing `flup` and running via fastcgi, but that's open to interpretation.

Re: Must-have Django packages

#14
post #11
post #3

I currently use Tasypie. Would I gain anything switching to Django REST framework?

Bonus points that Daniel Lindsay (tastypie author) got a job with Amazon, works on boto, and does very little with tastypie anymore. D-R-F is actively maintained and is a bit nicer to work with. Also, the autogenerated apiview "self documenting api" is super duper nice.

Also, the DRF author, Tom, actively attends meetup and does talks here in Brighton.

Re: Must-have Django packages

#15
"Django REST framework is an insane framework"

I'm fed up with this kind of oppressive language. This is heteronormative and is discriminatory to the mentally ill. It's stuff like this that leads to the imbalance and under-representation in the industry. Let's boycott this author.

(I would love not to have to write "" but having seen some of the comments here, I think I need to. I wonder how many white-knights-for-women use language like this without thinking. We need some flexibility in the way people are allowed to express themselves.)

Re: Must-have Django packages

#16
post #3

I currently use Tasypie. Would I gain anything switching to Django REST framework?

The APIs are more sane. Added bonus of a cool HTML api explorer view.

How do you square that with the article? It specifically says that that Django REST is "insane".

Re: Must-have Django packages

#18

Earlier quoted context omitted.

The APIs are more sane. Added bonus of a cool HTML api explorer view.

How do you square that with the article? It specifically says that that Django REST is "insane".

Don't be a pedant. The author uses the word in the sense of the slang expression "insanely great."
Post reply on HN