diff options
author | 2020-07-14 13:37:19 -0700 | |
---|---|---|
committer | 2020-07-14 13:37:19 -0700 | |
commit | 9208e0ac7943ce4ce14957f49c1597fb723cbd95 (patch) | |
tree | 6add84e74bf6f4175452ba9c6e0ae37d3a888615 /pydis_site/apps/api/models | |
parent | Merge migrations (diff) |
Allow empty list for user roles
This is the same issue as 145beb37fcb4fa2f487f18b234dd72bc4e10c279.
See that commit for more information.
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/user.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/user.py b/pydis_site/apps/api/models/bot/user.py index bff4d642..0d8c574a 100644 --- a/pydis_site/apps/api/models/bot/user.py +++ b/pydis_site/apps/api/models/bot/user.py @@ -52,6 +52,7 @@ class User(ModelReprMixin, models.Model): ) ), default=list, + blank=True, help_text="IDs of roles the user has on the server" ) in_guild = models.BooleanField( |