Closed
Bug 1277593
Opened 8 years ago
Closed 8 years ago
Make FlexibleForeignKey compatible with Django 1.9
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
Bug 1182464 added a custom field (BigAutoField) as a stopgap for https://code.djangoproject.com/ticket/14286 (which has only just landed in Django 1.10).
However under Django 1.9, it results in exceptions like:
AttributeError: 'FlexibleForeignKey' object has no attribute 'related_field'
...due to `related_field` being renamed to `target_field` in:
https://github.com/django/django/pull/4241
Comment 1•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8759196 -
Flags: review?(james)
Updated•8 years ago
|
Attachment #8759196 -
Flags: review?(james) → review+
Comment 2•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/f61a608237cf63ae8279a2d8c319edb5d7630f26
Bug 1277593 - Make FlexibleForeignKey compatible with Django 1.9
Since `related_field` was renamed to `target_field` in:
https://github.com/django/django/pull/4241
Fixes:
AttributeError: 'FlexibleForeignKey' object has no attribute 'related_field'
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•