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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -