how do you people create user profile in models?
i want to created user profile for users to register
i have don it like this, but i have feeling that it could be better

class PlayersProfile(models.Model):
    user = models.ForeignKey(User)
    first_name = models.CharField(maxlength=20)
    last_name = models.CharField(maxlength=20)
    email = models.EmailField()
    # some more models field

    def __unicde__(self):
        return self.first_name

    class Admin:
        pass


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to