We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following models:
class Game(models.Model): name = models.CharField(max_length=256) def __str__(self): return self.name class Category(models.Model): name = models.CharField(max_length=100) games = models.ManyToManyField(Game) def __str__(self): return self.name
and the following admin code:
... class GameInline(nested_admin.nested.NestedTabularInline): model = Category.games.through autocomplete_fields = ('game',) can_delete = False verbose_name = "Game" extra = 0 # Otherwise 3 empty relations are shows @admin.register(Category) class CategoryAdmin(NestedModelAdmin): inlines = [GameInline] search_fields = ("name",) fields = ("name",)
Is it possible to remove the text in the red box?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following models:
and the following admin code:
Is it possible to remove the text in the red box?
The text was updated successfully, but these errors were encountered: