I still see this in the latest dev build. At the bottom
of http://127.0.0.1:8000/admin/auth/user/2/, I see my user profile info
(i.e. phonenumber and company) appear twice.
See screen capture. This is seen even in the latest dev branch.
My user profile module is as follows:
AUTH_PROFILE_MODULE = "userprofiles.UserProfile"
cat userprofiles/models.py
from django.db import models
from django.contrib.auth.models import User
from django.utils.translation import ugettext as _
from phonenumber_field.modelfields import PhoneNumberField
from companies.models import Company
class UserProfile(models.Model):
user = models.OneToOneField(User, unique=True, verbose_name=_('user'),
related_name='user_profile')
phonenumber = PhoneNumberField(null=True, blank=True)
company = models.ForeignKey(Company, null=True)
def __unicode__(self):
return u'%s %s (%s), %s' % (self.user.first_name,
self.user.last_name, self.user.username, self.phonenumber)
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.