Initial commit
This commit is contained in:
8
UserProfile.py
Normal file
8
UserProfile.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
class UserProfile(models.Model):
|
||||
# This field is required.
|
||||
user = models.OneToOneField(User)
|
||||
|
||||
# Other fields here
|
||||
editor = models.CharField(max_length=20, default="TinyMCE")
|
||||
Reference in New Issue
Block a user