summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stapp/settings.py3
-rw-r--r--stapp/userprofile/models.py9
2 files changed, 12 insertions, 0 deletions
diff --git a/stapp/settings.py b/stapp/settings.py
index 36abd2b..d817c87 100644
--- a/stapp/settings.py
+++ b/stapp/settings.py
@@ -150,3 +150,6 @@ LOGGING = {
},
}
}
+
+
+AUTH_PROFILE_MODULE = "stapp.UserProfile"
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)
+
+
+
+
+