Django Admin Fu, part 2

Continuing with the Django Admin Fu post part 1. Action with Intermediate Page Sometimes you may need an admin action that, when submitted, takes the user to a form where they provides some additional detail. The docs mention a bit about providing intermediate pages, but not a lot. It states: Generally, something like [writing a intermediate page through the admin] isn’t considered a great idea. Most of the time, the best practice will be to return an HttpResponseRedirect and redirect the user to a view you’ve written, passing the list of selected objects in the GET query string....

<span title='2014-12-15 00:00:00 +0000 UTC'>December 15, 2014</span>&nbsp;·&nbsp;1 min

Django Admin Fu, part 1

I’ve been putting some time into building out the Django Admin site for one of my company’s projects. Here are some notes I’ve taken about straying away from the beaten path. I find surprisingly little information about how to do these things on StackOverflow or elsewhere. These were put used when working with Django 1.6.7. Fake The Model, Make The View You may want a form on the Django Admin that exists along side the model views but doesn’t actually represent a model....

<span title='2014-11-04 00:00:00 +0000 UTC'>November 4, 2014</span>&nbsp;·&nbsp;1 min