mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
Add authentication and registration to seahub
This commit is contained in:
8
profile/models.py
Normal file
8
profile/models.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class UserProfile(models.Model):
|
||||
user = models.ForeignKey(User, unique=True)
|
||||
status = models.CharField(max_length=40, blank=True)
|
||||
|
Reference in New Issue
Block a user