python - django admin need full table -


i have 1 (first - username) column of database displayed in admin. how can display columns in "select change" panel, on picture? in advance!

need this

in model admin, set list_display list of fields want display.

class mymodeladmin(admin.modeladmin):     list_display = ['field_1', 'field_2', ...]  admin.site.register(mymodel, mymodeladmin) 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -