mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-30 21:50:59 +00:00
13 lines
408 B
Python
13 lines
408 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()
|