Add summary_keys JSONField for the user

This commit is contained in:
Joachim
2021-12-22 14:57:26 +01:00
parent ce9c6f1727
commit 24b0e086e7
2 changed files with 20 additions and 0 deletions

View File

@ -148,6 +148,8 @@ class User(OrderedCollectionPageMixin, AbstractUser):
size=8,
default=get_feed_filter_choices,
)
# annual summary keys
summary_keys = models.JSONField(null=True)
preferred_timezone = models.CharField(
choices=[(str(tz), str(tz)) for tz in pytz.all_timezones],