#32728: Dupulicated column in admin site
-------------------------------------+-------------------------------------
Reporter: Greenbond | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:
Keywords: primary_key , | Triage Stage:
list_editable | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Greenbond:
Old description:
> I found a suspicious bug in admin site.
>
> Config ( Conditions )
> 1. You have a primary_key =True field in your model.py
>
> 2. 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.
>
> https://github.com/Greenbond/Bugreport
New description:
I found a suspicious bug in admin site.
Config ( Conditions )
1. You have a primary_key =True field in your model.py
2. 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
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32728#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.3ed03307b5439a69c28d3ea2f6ac9768%40djangoproject.com.