Stop calling User.get_profile()

RESOLVED FIXED in 2015Q2

Status

support.mozilla.org
Code Quality
P3
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: rrosario, Assigned: rrosario)

Tracking

unspecified
2015Q2

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=dev c=general p=1 s=2015.6)

(Assignee)

Description

3 years ago
This method was removed in django 1.7, I get:

AttributeError: 'User' object has no attribute 'get_profile'

We need to replace these calls with something like `Profile.objects.get(user=user.id)`.
(Assignee)

Comment 1

3 years ago
In a pull request:
https://github.com/mozilla/kitsune/pull/2445
Status: NEW → ASSIGNED
This merged.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.