diff options
author | 2020-05-27 09:24:48 +0200 | |
---|---|---|
committer | 2020-05-27 09:24:48 +0200 | |
commit | 354d78ea01b11f8197dd6933be460f9b277e4645 (patch) | |
tree | f3f53c87cd8ae8b520a960b848e95b11d9b6b245 /pydis_site/apps/api/models/bot | |
parent | Merge pull request #353 from python-discord/post-game-jam (diff) |
No longer accept or track avatar_hash.
This should completely remove avatar_hash from the site - both in our
tests, in the model itself, and from the database (as a result of the
migration).
Diffstat (limited to 'pydis_site/apps/api/models/bot')
-rw-r--r-- | pydis_site/apps/api/models/bot/user.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pydis_site/apps/api/models/bot/user.py b/pydis_site/apps/api/models/bot/user.py index 5140d2bf..65e8751e 100644 --- a/pydis_site/apps/api/models/bot/user.py +++ b/pydis_site/apps/api/models/bot/user.py @@ -31,14 +31,6 @@ class User(ModelReprMixin, models.Model): ), help_text="The discriminator of this user, taken from Discord." ) - avatar_hash = models.CharField( - max_length=100, - help_text=( - "The user's avatar hash, taken from Discord. " - "Null if the user does not have any custom avatar." - ), - null=True - ) roles = models.ManyToManyField( Role, help_text="Any roles this user has on our server." |