Re: Content types and interaction with DeferredAttribute models

2010-06-24 Thread Andrew Ball
I have the same problem. It looks like the content types app will return the content type of the original model when asked for one since revision 10523 (see ticket #10738), but that an additional content type is still created. Is the creation of the additional content type necessary? http://code

Re: viewing and adding comments while editing an object in the admin interface

2009-11-20 Thread Andrew Ball
It looks like overriding the change_form.html template for the Admin site (described at http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adminsite-objects) to include the template tags for the comments may do the trick, but I haven't yet had time to experiment with this approach ... On Sat,

stable sort for list views in the admin interface

2009-11-15 Thread Andrew Ball
I've noticed that in Django 1.1 when I sort based on a column in the admin interface's list view for one of my models and then sort by a different column, the second result set is no longer sorted based on the first column selected. This means that the sorting algorithm used is not a stable sortin