1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00
Files
seahub/profile/models.py
xiez 50fe2bb91a Use email-user and binding in ccnet instead of userprofile in seahub
* Remove UserProfile from profile/models.
* Disable ccnet user id binding in profile page
2012-04-01 22:16:38 +08:00

13 lines
411 B
Python

from django.db import models
from django.contrib.auth.models import User
#class UserProfile(models.Model):
# user = models.ForeignKey(User, unique=True)
# ccnet_user_id = models.CharField(max_length=40, blank=True)
class UserCcnetConf(models.Model):
user = models.ForeignKey(User, unique=True)
ccnet_user_id = models.CharField(max_length=40, unique=True)
ccnet_profile = models.TextField()