TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Must-have Django packages

154 pointsby rule30over 11 years ago

15 comments

falcolasover 11 years ago
Interesting, my fairly large django project uses none of those. Instead, the addons we consider to be critical are these these:<p><pre><code> django-debreach django-redis jinja2 pytz </code></pre> 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.<p>I also recommend installing `flup` and running via fastcgi, but that&#x27;s open to interpretation.
评论 #7032184 未加载
评论 #7033721 未加载
sdfjklover 11 years ago
Amusingly, my must-have Django packages are mostly things that replace large chunks of Django (Jinja2 for templates, a DB connector&#x2F;ORM for whatever database the project needs, which even for PostgreSQL is often plain SQLAlchemy).<p>I guess I&#x27;ll just use flask.py or something for my next project. This is not meant as criticism, just my personal experience.
评论 #7032431 未加载
评论 #7035783 未加载
belluchanover 11 years ago
Django guardian&#x27;s performance is ridiculously bad. Better roll your own. We&#x27;re using it and stuck with it at this point, but some of our page loads have thousands of queries because of all the permission lookups. Permissions probably need to be cached in memory.
famousactressover 11 years ago
Notable omission of South ( <a href="http://south.aeracode.org/" rel="nofollow">http:&#x2F;&#x2F;south.aeracode.org&#x2F;</a> )
评论 #7033294 未加载
michaelmiorover 11 years ago
&quot;Must-have&quot; anything always feels like clickbait to me.
评论 #7031621 未加载
评论 #7031622 未加载
aikiiover 11 years ago
Cripsy forms, because simple things like adding the necessary markup for bootstrap to forms is super-boring otherwise ; in general, it helps with custom form layout, which is usually a template maintenance hell<p><a href="https://github.com/maraujop/django-crispy-forms" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;maraujop&#x2F;django-crispy-forms</a>
dkochover 11 years ago
I&#x27;ve found django-allauth a bit friendlier than django-social-auth, and it covers registration of local accounts in one package.
评论 #7031960 未加载
评论 #7034902 未加载
评论 #7033517 未加载
mixmastamykover 11 years ago
Everyone recommends the django-toolbar for spotting slowdowns in your SQL... ok, installed it. I almost never see any tips on how to actually do that though. What now?<p>(I suppose the SQL part of my app is not the problem though, rather the number crunching that happens on the data returned. I do lots of caching on the results instead to make the site seem responsive.)
评论 #7033289 未加载
评论 #7032631 未加载
reinhardtover 11 years ago
I&#x27;ve been away from the Django ecosystem for the last few years.. how is Pinax doing these days?
评论 #7034483 未加载
TheMakeAover 11 years ago
What are people using these days for compiling their static assets (js minification + concatenation, etc)? We have been using django-pipeline but it has been a nightmare.
评论 #7032296 未加载
评论 #7032420 未加载
评论 #7033339 未加载
评论 #7033415 未加载
评论 #7031991 未加载
评论 #7032399 未加载
评论 #7033195 未加载
评论 #7032042 未加载
评论 #7031934 未加载
评论 #7032319 未加载
评论 #7034877 未加载
porterover 11 years ago
What about South?
评论 #7031640 未加载
评论 #7031455 未加载
glynjacksonover 11 years ago
A few I work with on most projects are...<p>Backend: one of the most popular API Frameworks is Tastypie. Authentication and authorization: Django Userena. Debugging: Django Extensions. Django CMS Django Haystack<p>These are a must for your tool kit.
评论 #7033575 未加载
collywover 11 years ago
I currently use Tasypie.<p>Would I gain anything switching to Django REST framework?
评论 #7031499 未加载
评论 #7031641 未加载
评论 #7031515 未加载
bonemachineover 11 years ago
Wow, man. That&#x27;s a lot of boilerplate.
waterlionover 11 years ago
&quot;Django REST framework is an insane framework&quot;<p>I&#x27;m fed up with this kind of oppressive language. This is heteronormative and is discriminatory to the mentally ill. It&#x27;s stuff like this that leads to the imbalance and under-representation in the industry. Let&#x27;s boycott this author.<p>(I would love not to have to write &quot;&lt;&#x2F;satire&gt;&quot; 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.)
评论 #7032312 未加载
评论 #7032001 未加载
评论 #7032467 未加载
评论 #7034915 未加载
评论 #7032935 未加载
评论 #7032135 未加载