mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
* Remove UserProfile from profile/models. * Disable ccnet user id binding in profile page
13 lines
411 B
Python
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()
|