Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1
2
3
4
5
6
7
8
9
10
11
from django.db import models
from django.contrib.auth.models import User
class UserProfile(models.Model):
""" Extra information about registered users """
def __unicode__(self):
return u"UserProfile: %s" % (self.user.username)
user = models.OneToOneField(User)
about = models.TextField(blank=True)