#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.
--
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/010701931ba00b02-a86d4da5-f385-48b0-9c91-e57b6674a2a7-000000%40eu-central-1.amazonses.com.