django-planet

Blog: Jacob Kaplan-Moss

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

Talking about Django's history and future on Django Chat

March 20, 2024 » django on Jacob Kaplan-Moss » [Archived Version]

I was on the Django Chat podcast to about Django’s history, the creation of the DSF, my recent return to the DSF board and my goals there, and the things I’m excited about for Django going forward. Here are some highlights from the interview.

Read More

Django Model Fields With Attributes

June 22, 2023 » django on Jacob Kaplan-Moss » [Archived Version]

I wanted to make a model field where the underlying data is a string, but the field on model instances exposes more attributes. Specifically, a MarkdownField: class Document(models.Model): text = MarkdownField() that exposes a way to get at its content as both HTML and source Markdown: >>> doc = Document(text="hello, *world*") >>> doc.text "hello, *world*" >>> doc.text.html "hello, <strong>world</strong>" This is not too uncommon in Django-land – for…

Read More

Volunteer Responsibility Amnesty Day

Dec. 20, 2021 » django on Jacob Kaplan-Moss » [Archived Version]

Tomorrow is Volunteer Responsibility Amnesty Day, a day to reflect on your responsibilities as a volunteer and, if any of them are too burdensome, set them down. I’m observing it this year; here’s how and why.

Read More

Not all attacks are equal: understanding and preventing DoS in web applications

Sept. 11, 2020 » django on Jacob Kaplan-Moss » [Archived Version]

Denial-of-Service (DoS) vulnerabilities are common, but teams frequently disagree on how to treat them. The risk can be difficult to analyze: I’ve seen development teams argue for weeks over how to handle a DoS vector. This article tries to cut through those arguments. It provides a framework for engineering and application security teams to think about denial-of-service risk, breaks down DoS vulnerabilities into high-, medium-, and low-risk classes, and has recommendations for mitigations at e…

Read More

Preventing SQL Injection in Django

May 15, 2020 » django on Jacob Kaplan-Moss » [Archived Version]

SQL Injection (SQLi) is one of the most dangerous classes of web vulnerabilities. Thankfully, it’s becoming increasingly rare — thanks mostly to increasing use of database abstraction layers like Django’s ORM — but where it occurs it can be devastating. This article will help you understand and prevent SQLi vulnerabilities in your Django apps.

Read More

Django's new governance model

March 13, 2020 » django on Jacob Kaplan-Moss » [Archived Version]

Starting today, Django has a new governance model. Previously, a small “core team” made most decisions, including electing a Technical Board to own decisions about each release. Now, the “core team” is gone; all power rests with the Technical Board. Anyone who’s made substantial contributions to Django is now eligible to run, and the board is now elected by the DSF Membership at large. You can read more about the change in today’s announcement, and if you wan…

Read More

Django Under the Hood 2016 Highlights

Nov. 22, 2016 » django on Jacob Kaplan-Moss » [Archived Version]

Videos from Django Under the Hood 2016 are up - check ’em out! As usual, the conference was amazing and the content was fantastic. I really enjoyed all the talks, and they’re all worth your time to talk. Three in particular stood out to me as exceptional highlights: Ana’s talk on Testing in Django is the single best talk on effective testing of Django apps I’ve ever seen. I really like her technique of explaining Django’s testing APIs by looking at how they changed…

Read More

So you want a new admin?

May 26, 2016 » django on Jacob Kaplan-Moss » [Archived Version]

Django’s admin site is about 12 years old. It started circa early 2004 as an internal CMS at the Lawrence Journal-World, was released as part of Django in 2005, and has been chugging away ever since. There’s been some substantial re-writes along the way – magic-removal, new forms, the flat theme – but for the most part the admin’s stayed pretty much the same for that entire time. The interface, functionality, and CRUD-oriented workflow haven’t really changed …

Read More

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