1 from django.db import models
2 from django.contrib.auth.models import User
3 from philo.models.fields import JSONField
6 class UserPreferences(models.Model):
7 user = models.OneToOneField(User, related_name='gilbert_userpreferences')
8 preferences = JSONField(default=dict())