Package madrona :: Package user_profile :: Module models
[hide private]

Source Code for Module madrona.user_profile.models

 1  from django.db import models 
 2  from django.contrib.auth.models import User 
 3   
4 -class UserProfile(models.Model):
5 """ Extra information about registered users """ 6
7 - def __unicode__(self):
8 return u"UserProfile: %s" % (self.user.username)
9 10 user = models.OneToOneField(User) 11 about = models.TextField(blank=True)
12