#14286: Support for BigAutoField
-------------------------------------+-------------------------------------
Reporter: hongrich | Owner: mmcnickle
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by dcramer):
Related, here's our terrible solution to this in Sentry:
https://github.com/getsentry/sentry/commit/f34cf31dd31633910daa3fb992e933e5fd62911f
Specifically..
- BigAutoField:
https://github.com/getsentry/sentry/blob/f34cf31dd31633910daa3fb992e933e5fd62911f/src/sentry/db/models/fields/bounded.py#L67
- FlexibleForeignKey:
https://github.com/getsentry/sentry/blob/f34cf31dd31633910daa3fb992e933e5fd62911f/src/sentry/db/models/fields/foreignkey.py#L17
--
Ticket URL: <https://code.djangoproject.com/ticket/14286#comment:24>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.60c0e80887221e4e42c978f63f090464%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.