aboutsummaryrefslogtreecommitdiffstats
path: root/account/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'account/models.py')
-rw-r--r--account/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/account/models.py b/account/models.py
index 22b11af..38047d6 100644
--- a/account/models.py
+++ b/account/models.py
@@ -37,6 +37,7 @@ class UserProfile(models.Model):
('C', _("Checking")),
)
# model fields
+ # FK default backward manager name 'userprofile_set'
user = models.ForeignKey(User, unique=True, verbose_name=_("Username"))
realname = models.CharField(_("Name"), max_length=30)
gender = models.CharField(_("Gender"), max_length=1, choices=GENDERS)