Can someone help me? I've been going around and around with questions here on SO but can't get the answer.
I'm getting 'User' object has no attribute 'profile'
Here's my user model
class Profile(models.Model):
NARRATESTATUS = (
('PAS', 'Passed'),
('REV', 'For_Review'),
('ACC', 'Narration_Accepted'),
)
TRANSLATESTATUS = (
('PSD', 'Passed'),
('RVW',
…
Top comments (1)
Solved:
Added @login_required on home_view