Dynastie/UserProfile.py
2012-07-08 16:23:39 +02:00

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")