diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-26 15:56:17 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-26 15:56:17 +0100 |
commit | d209dcbbcc36e65b8e16aca94add3f39de6414ef (patch) | |
tree | 96c38b555688d97024fb771a172ce36112c106d9 /pyblackbird_cc/resources/models.py | |
parent | eeaa3c469b33e614941596a04d56af3be1290456 (diff) |
Basic feature slot presentation in index page
Diffstat (limited to '')
-rw-r--r-- | pyblackbird_cc/resources/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py index 27d74e7..44a5024 100644 --- a/pyblackbird_cc/resources/models.py +++ b/pyblackbird_cc/resources/models.py @@ -73,7 +73,9 @@ class Resource(models.Model): ("Scottish", "Scottish"), ], ) - feature_slot = models.IntegerField(choices=((1, 1), (2, 2), (3, 3)), unique=True, null=True) + feature_slot = models.IntegerField( + choices=((1, 1), (2, 2), (3, 3)), unique=True, null=True, blank=True + ) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) |