aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-11 16:25:09 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-11 16:25:09 +0100
commita7afbfd090c3f059eeb0fe1573ca56f4c4cb9867 (patch)
tree280ed18c3e4121c95515d92e90d0fee715116fdd /pyblackbird_cc/resources/models.py
parentb38e4abf1712cc69db6a164425a99e3cad6d138e (diff)
Some formatting changes and calming down ruff slightly
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/resources/models.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py
index 16186fa..6ecf525 100644
--- a/pyblackbird_cc/resources/models.py
+++ b/pyblackbird_cc/resources/models.py
@@ -68,8 +68,10 @@ class Resource(models.Model):
max_length=1000,
blank=True,
default="",
- help_text=("If you enter text here, it will be used in the 'card' "
- "description box on the home page. Max 1000 characters."),
+ help_text=(
+ "If you enter text here, it will be used in the 'card' "
+ "description box on the home page. Max 1000 characters."
+ ),
)
age_range = models.CharField(
max_length=20,
@@ -90,7 +92,11 @@ class Resource(models.Model):
],
)
feature_slot = models.IntegerField(
- choices=((1, 1), (2, 2), (3, 3)), unique=True, null=True, blank=True, default=0,
+ choices=((1, 1), (2, 2), (3, 3)),
+ unique=True,
+ null=True,
+ blank=True,
+ default=0,
)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)