Is the exclude list in a ModelForm any different from an exclude list in a ModelAdmin? If my ModelForm is tied to the ModelAdmin, where do I need to specify the e开发者_开发知识库xclude list ideally;
With the Django Admin interface, how do you ensure that objects within HTML select multiple开发者_StackOverflow中文版 are sorted in some order (prefer alphabetical)? The issue is that I have 3 models
To encapsulate customized functionalities in Django admin I\'m providing a custom ModelAdmin class that actually looks like this:
I am trying to change the link for an object in the django admin list display. Here is what I have so far:
I have the following models: class Foo(models.Model): field1 = models.IntegerField() ... class Bar(models.Model):
I\'m using the GenerickStackedInline which is a subclass of InlineModelAdmin which goes to ModelAdmin. When I override save_model method... it\'s not being called.