#35020: DisallowedModelAdminLookup for foreign key to non-AutoField primary key
-------------------------------------+-------------------------------------
     Reporter:  Joshua Goodwin       |                    Owner:  Sarah
                                     |  Boyce
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  5.0
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"454fd50efb4b6bba54abdbcc01507190c780382f" 454fd50e]:
 {{{
 #!CommitTicketReference repository=""
 revision="454fd50efb4b6bba54abdbcc01507190c780382f"
 [5.0.x] Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-
 autofield primary keys.

 Thanks Joshua Goodwin for the report.

 Regression in 45ecd9acca9b36093e274f47b6877a5f79108d9e.

 Backport of f80669d2f5a5f1db9e9b73ca893fefba34f955e7 from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35020#comment:8>
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/0107018c433ce56e-30e822cd-9263-4dc4-9975-b79203535de4-000000%40eu-central-1.amazonses.com.

Reply via email to