Forgot an instance of User/DjangoUser, which Hudson, like a good butler, promptly reminded me. bug 539861.

This commit is contained in:
Fred Wenzel 2010-01-18 20:45:23 +01:00
Родитель 6d04900f79
Коммит ce2fa7b9b7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -107,7 +107,7 @@ class UserProfile(amo.ModelBase):
# Reusing the id will make our life easier, because we can use the
# OneToOneField as pk for Profile linked back to the auth.user
# in the future.
self.user = User(id=self.pk)
self.user = DjangoUser(id=self.pk)
self.user.first_name = self.firstname
self.user.last_name = self.lastname
self.user.username = self.email