Opened 5 months ago
Closed 5 months ago
#35903 closed Cleanup/optimization (fixed)
"view on site" URL doesn't accept non-integer ContentType pks
Description ¶
Most admin URL paths use the path
converter to allow any type of ID, however, the "view on site" uses the int
converter for content_type_id
.
This doesn't work on MongoDB which uses ObjectIdAutoField
(bson.ObjectId
) for all models since AutoField
isn't supported.
Change History (4)
comment:1 by , 5 months ago
Has patch: | set |
---|
comment:2 by , 5 months ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | 5.0 → dev |
Thank you Tim for this report, I think your proposed solution makes sense and it's a good improvement.
comment:3 by , 5 months ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR