aboutsummaryrefslogtreecommitdiffstats
path: root/account/models.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
commita4d102896cd261ced64316fce45dd264a797a903 (patch)
treef8a06526f5817b7e3f7b7a08de9434766c6b1a9a /account/models.py
parenta50364c081a5aa4857223474207c154cb82896ee (diff)
downloaddjango-skaschool-a4d102896cd261ced64316fce45dd264a797a903.tar.bz2
* updated settings.py, added settings_email.py
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'
Diffstat (limited to 'account/models.py')
-rw-r--r--account/models.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/account/models.py b/account/models.py
new file mode 100644
index 0000000..a3c2b0a
--- /dev/null
+++ b/account/models.py
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+#
+# app 'account' models
+# registration, login, etc.
+#
+
+from django.db import models
+from django.contrib.auth.models import User
+
+class UserProfile(models.Model):
+ user = models.OneToOneField(User)
+