diff options
author | 2018-11-18 21:23:20 +0100 | |
---|---|---|
committer | 2018-11-18 21:23:20 +0100 | |
commit | 9bde22cf54722b6a2e6f610ff5ee368fe42a8949 (patch) | |
tree | ac4b5c723db5c239077af2efe57eb1d4449df5b4 /api | |
parent | Add the `channel_id` field to messages. (diff) |
Use proper field class name.
Diffstat (limited to 'api')
-rw-r--r-- | api/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/models.py b/api/models.py index abbaa8bc..22722b5c 100644 --- a/api/models.py +++ b/api/models.py @@ -226,7 +226,7 @@ class Message(ModelReprMixin, models.Model): on_delete=models.CASCADE, help_text="The author of this message." ) - channel_id = models.BigInteger( + channel_id = models.BigIntegerField( help_text=( "The channel ID that this message was " "sent in, taken from Discord." |