Hi,

I have a model like this (which is based on an old system I'm porting):

class Member(meta.Model):
    user = meta.OneToOneField(auth.User, core=True)
    ipb_id = meta.IntegerField(default=0)
    website = meta.URLField(blank=True, null=True)
    hide_email = meta.BooleanField(default=True)
    points = meta.IntegerField(default=0)
    trusted = meta.BooleanField(default=True)

    def __repr__(self):
        return str(self.user_id)

    class META:
        admin = meta.Admin(
            list_display = ('user','trusted'),
            search_fields = ('website'),
        )
        ordering = ('user',)

As you can see I'm using One to One on auth.User and it works fine but
I would like to edit it inline with the User in the admin cp. I tried
edit_inline but I always get the same error:

'User' object has no attribute 'get_site_member_count'

Is this a bug in OneToOneField?  I'm using the trunk version of Django


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to