Dynastie/UserProfile.py

9 lines
235 B
Python
Raw Normal View History

2012-07-08 16:23:39 +02:00
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")