diff options
author | radhikam | 2012-06-20 10:58:23 +0530 |
---|---|---|
committer | radhikam | 2012-06-20 10:58:23 +0530 |
commit | aa9ed5e7bbd8becc2c4916180d3bf831fde927e7 (patch) | |
tree | 2a93595bdda7739a498500f0920f5c1318441e88 /stapp/userprofile | |
parent | 2113f66de743877597d24e20df9ac1e828167277 (diff) | |
download | stproject-aa9ed5e7bbd8becc2c4916180d3bf831fde927e7.tar.gz stproject-aa9ed5e7bbd8becc2c4916180d3bf831fde927e7.tar.bz2 stproject-aa9ed5e7bbd8becc2c4916180d3bf831fde927e7.zip |
userprofile in process
Diffstat (limited to 'stapp/userprofile')
-rw-r--r-- | stapp/userprofile/models.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/stapp/userprofile/models.py b/stapp/userprofile/models.py index 71a8362..1e3de8b 100644 --- a/stapp/userprofile/models.py +++ b/stapp/userprofile/models.py @@ -1,3 +1,12 @@ from django.db import models +from django.contrib.auth.models impport User # Create your models here. + +class UserProfile(models.Model): + user = models.ForeignKey(User, unique=True) + + + + + |