#36151: editable GenericForeignKey
---------------------------+-----------------------------------------
     Reporter:  James Pic  |                     Type:  Uncategorized
       Status:  new        |                Component:  Uncategorized
      Version:  5.1        |                 Severity:  Normal
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+-----------------------------------------
 https://code.djangoproject.com/ticket/35224 made GFK a Field with hard-
 coded editable=False

 This breaks this very nice feature in Django 5.1 https://django-
 autocomplete-light.readthedocs.io/en/master/gfk.html

 With exception: cannot be specified for TModel model form as it is a non-
 editable field. Check fields/fieldsets/exclude attributes of class
 TestAdmin

 While I understand this is an interesting default protection for users, it
 would also be nice if Django would keep on allowing users to create their
 form fields for GFK if they want to, as they could until Django 5.0
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36151>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070194acc8a277-5797b13f-5c0b-45f7-bd71-de661971da65-000000%40eu-central-1.amazonses.com.

Reply via email to