Entries published on December 24, 2008

1 entry published on this date. See also: all entries published in December 2008, latest entries.

Users and the admin

So, for as long as I can remember the single most-frequently-asked question about the Django admin has been some variation of “how do I set a foreign key to User to automatically be filled in with request.user?” And for a while the answer was that you couldn’t do that, really; it was and still is easy to do with a custom form in your own view, but up until a few months back it wasn’t really something you could do in the admin. Now, as of the merge ...

Entry published December 24, 2008. Read full entry.