9 lines
235 B
Python
9 lines
235 B
Python
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")
|