From a4d102896cd261ced64316fce45dd264a797a903 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Fri, 18 Apr 2014 21:18:50 +0800 Subject: * updated settings.py, added settings_email.py * created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo' --- account/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 account/models.py (limited to 'account/models.py') 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) + -- cgit v1.2.2