Re: Admin interface and custom managers

2007-03-05 Thread Picio
I had the same issue in the past. There's a bug in the django code and a ticket was already scheduled. Before 0.96, that by the way seems to improve a lot the admin class providing more hooks to customize It, you can add a row in your Admin class code that says: manager=myCustomManager() Hope I

Admin interface and custom managers

2007-03-05 Thread Michael Cuddy
I've defined a custom manager for some of my models (similar to, but not exactly like filtering by settings.SITE_ID). Unfortunately, the Model's manager doesn't seem to get used in the admin interface? from myapp.company.managers import CurrentCompanyManager class Person(models.Model