How to disable Preselection from List_display Django Admin
Hi I want to disable the preselection from django admin, here is my code
model.py
from django.contrib import admin
from django.db import models
class Person(models.Model):
option4 = models.CharField(max_length=50)
option5 = models.CharField(max_length=50)
option6 = models.CharField(max_length=50)
option7 = models.CharField(max_length=50)
admin.py
class PersonAdmin(admin.ModelAdmin):
list_display = ('option4', 'option5','option6','option')
In this picture you can see the preselected the options by default , i do not want to that,how to disable preselction.