The Error –
"Caught FieldError while rendering: Cannot resolve keyword 'user' into field.
Choices
are: id, is_active_online, person"
The Model –
AUTH_PROFILE_MODULE = 'account.UserProfile'
class UserProfile(models.Model):
person = models.OneToOneField(User)
is_active_online = models.NullBooleanField(null = True, default = None)
The Origin of the error from a template –
{{ user_object.get_profile.is_active_online }}
What could be the issue?
https://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users
Your
OneToOneFieldneeds to be nameduser