tschellenbach/Django-facebook — Issue #91: AttributeError: 'User' object has no attribute 'user'
Author: margagn
Created: 2012-03-01 06:18:30+00:00
State: open

The default User model has no user attribute.

>>> User.objects.all()
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 72, in __repr__
return repr(data)
File "C:\Python27\lib\site-packages\django\db\models\base.py", line 370, in __repr__
u = unicode(self)
File "C:\Python27\lib\site-packages\django_facebook\models.py", line 26, in __unicode__
return self.user.__unicode__()
AttributeError: 'User' object has no attribute 'user'