django-planet

Blog: Jacob Kaplan-Moss

web https://jacobian.org/tags/django/
Author

Retiring as BDFLs

Jan. 13, 2014 » django on Jacob Kaplan-Moss » [Archived Version]

Adrian broke the news: today, he and I are retiring as BDFLs, transitioning to a truly community-run project. Adrian wrote a bit about the history of the BDFL term and our roles wearing that hat. Go check out his writing for that, and for some of his personal thoughts. Here, I’ll just add a few things of my own: For me, this has been a long time coming – I’ve been thinking about this for at least a year.

Read More

Getting features into Django

May 23, 2013 » django on Jacob Kaplan-Moss » [Archived Version]

Getting new features into Django isn’t easy. It’s that way for a reason — I spoke recently about why conservatism is a virtue — but it does happen. I’d like to do a better job explaining how we decide what goes in and what goes out, so here’s a lightly adapted version of something I posted on the mailing list this evening. It’s three things I look for when I’m trying to determine whether something is “right” for Django or not:

Read More

The Django community in 2012

March 5, 2012 » django on Jacob Kaplan-Moss » [Archived Version]

In 2007, and again in 2009, I made an attempt to measure the size of the Django community. By popular request — okay, a couple people asked for it, whatever — let’s do this thing again. Users In 2007 and 2009, I shared three ways of looking at how many people are using Django: hits to the website, downloads of the Django tarball, and sites listed as “using Django.” So, here’s an overview of users, some notes on interpreting these numbers follow:

Read More

Is there a market for paid Django apps?

June 28, 2011 » django on Jacob Kaplan-Moss » [Archived Version]

Here’s a thought that’s been rummaging around in my brain for some time now: is there a market for commercial, closed-source Django apps? Suppose someone released a high-quality, well-documented, well-supported Django app… under a commercial license. Assume of course that this app does something you actually need, and that the commercial license isn’t odious. Would you pay for a Django app? I think I would. I have no qualms about paying for good software: in the last month I b…

Read More

Django classes: deployment, ecosystem

Nov. 4, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

(Cross-posted from the Revsys blog; I think folks here might be interested, too.) Next month I’ll be teaching two new one-day classes, both of which evolved from common questions we get at Revsys. Each class is going to be offered twice, once in LA and once in Boston. For the impatient here are some links and quick info: Django Deployment Workshop - Los Angeles - December 6, 2010. Django Deployment Workshop - Boston - December 10, 2010.

Read More

Django gotcha: concrete inheritance

Nov. 2, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

Since 1.0, Django’s supported model inheritance. It’s a neat feature, and can go a long way towards increasing flexibility in your modeling options. However, model inheritance also offers a really excellent opportunity to shoot yourself in the foot: concrete (multi-table) inheritance. If you’re using concrete inheritance, Django creates implicit joins back to the parent table on nearly every query. This can completely devastate your database’s performance. To refresh, if…

Read More

What's your favorite Django app?

Nov. 1, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

On Twitter, I asked, “what’s your favorite third-party Django app?” Eight hours later, I’ve got about 50 replies. I meant the question to be fairly open-ended – I deliberately didn’t clarify what I meant by “favorite” – and I’m not that popular, so this is by no means an accurate sample of the Django community. Still, the answers are a bit interesting, so let’s take a look: The winners The favorite was… (drumroll please)… South.

Read More

util

June 8, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

D’oh: django/contrib/admin/util.py django/contrib/admindocs/utils.py django/contrib/comments/views/utils.py django/contrib/formtools/utils.py django/contrib/gis/db/backends/util.py django/contrib/gis/tests/utils.py django/contrib/localflavor/it/util.py django/contrib/localflavor/se/utils.py django/contrib/localflavor/uy/util.py django/contrib/messages/utils.py django/core/files/utils.py django/core/mail/utils.py django/db/backends/util.py django/db/utils.py django/forms/util.py django/htt…

Read More

Dynamic form generation

Feb. 28, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

I had the pleasure of being on a forms panel at PyCon 2010 chaired by Brandon Craig Rhodes. To get a stable baseline, Brandon asked each of us to provide code showing how each forms toolkit might tackle a problem: Imagine that someone has already written a form with your forms library. The form looks something like this: New username: __________ Password: __________ Repeat password: __________ [Submit] Now, someone from Marketing comes along and announces that the developers must add some addit…

Read More

Early registration for my Advanced Django class ends soon

Feb. 16, 2010 » django on Jacob Kaplan-Moss » [Archived Version]

Early registration ends Friday for the March Advanced Django Class I’m teaching, so if you’re planning on coming, you should sign up soon! I’m really excited about this class: we’ll get to dive really deep into the good parts of Django. We’ll cover all sorts of advanced usage of Django’s APIs, spend a bunch of time playing with all the cool stuff out there in the Django ecosystem, and actually spend a whole day setting up and configuring a real-world deployme…

Read More