Closed Bug 1149615 Opened 9 years ago Closed 9 years ago

Stop calling User.get_profile()

Categories

(support.mozilla.org :: Code Quality, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED
2015Q2

People

(Reporter: rrosario, Assigned: rrosario)

References

Details

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

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)`.
In a pull request:
https://github.com/mozilla/kitsune/pull/2445
Status: NEW → ASSIGNED
This merged.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.