#35903: "view on site" URL doesn't accept non-integer ContentType pks
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: Tim Graham
Graham |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 5.0
contrib.admin |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35903>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.