Opened 4 years ago

Last modified 3 years ago

#32728 closed Bug

Dupulicated column in admin site — at Version 1

Reported by: Greenbond Owned by: nobody
Component: contrib.admin Version: 3.2
Severity: Normal Keywords: primary_key, list_editable
Cc: Greenbond Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Greenbond)

I found a suspicious bug in admin site.

Config ( Conditions )

  1. You have a primary_key =True field in your model.py
  1. Primary_key = True field is included in list_editable option in your admins.py

The primary_key = True field you set in the list_editable will be dupulicated in your admin site.

I created a public repository in github to test or check easily.
There is a screenshot for the suspicious bug and sample codings in the Readme on github.

https://github.com/Greenbond/Bugreport

Change History (1)

comment:1 by Greenbond, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top