aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/resources/models.py')
-rw-r--r--pyblackbird_cc/resources/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py
index f938cb4..16186fa 100644
--- a/pyblackbird_cc/resources/models.py
+++ b/pyblackbird_cc/resources/models.py
@@ -34,6 +34,13 @@ DESC_HELP_TEXT = """
# Create your models here.
class Resource(models.Model):
name = models.CharField(max_length=255, null=False)
+ price = models.DecimalField(
+ max_digits=6,
+ decimal_places=2,
+ default=0.00,
+ null=False,
+ blank=False,
+ )
thumbnail_filenames = models.JSONField(
null=False,
verbose_name="Thumbnail filenames",