#2259: Primary keys should be readonly by default in admin
-------------------------------------+-------------------------------------
     Reporter:  ed@…                 |                    Owner:
                                     |  siddhartha-star-dev
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

 Replying to [comment:41 siddhartha-star-dev]:
 > Replying to [comment:39 Mariusz Felisiak]:
 > Please look at my [comment:40 comment] and reply if possible

 Have you seen [https://code.djangoproject.com/ticket/2259#comment:27
 Anssi's proposition]? We don't want to allow for editing primary keys in
 admin. They should not be allowed in the `ModelAdmin.list_editable` and
 become read-only when editing.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/2259#comment:42>
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/072.9b785df7492997461293e4658cc13dc4%40djangoproject.com.

Reply via email to