#18081: Proxy model foreign keys not created properly by syncdb
-------------------------------------+-------------------------------------
Reporter: akaariai | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.4
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
I am not sure if this is still an issue with the `SchemaEditor` backends.
I updated Anssi's test (attached) and it passes at
28cb272a7279e6dfc4d5c53838ebf7343c3e66b5, however, the
`SchemaEditor._model_indexes_sql()` method still
has[https://github.com/django/django/blob/244404227e8a1c5e241658ef0df789a28ed3bbc6/django/db/backends/base/schema.py#L852-L853
a condition to skip proxy models].
--
Ticket URL: <https://code.djangoproject.com/ticket/18081#comment:3>
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.bb3f4381b9ae678682200ce8edd90d84%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.