1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

show 'profile' in home;add profile-modify in setting

This commit is contained in:
llj
2012-06-20 14:18:23 +08:00
parent bd54b31a0a
commit 473cf33b97
8 changed files with 106 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
from django.db import models
from django.contrib.auth.models import User
class Profile(models.Model):
user = models.EmailField(unique=True)
nickname = models.CharField(max_length=256, blank=True)
intro = models.TextField(max_length=256, blank=True)