aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/resources/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/resources/models.py')
-rw-r--r--alphabetlearning/resources/models.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/alphabetlearning/resources/models.py b/alphabetlearning/resources/models.py
index 6881483..f5c3223 100644
--- a/alphabetlearning/resources/models.py
+++ b/alphabetlearning/resources/models.py
@@ -38,13 +38,13 @@ DESC_HELP_TEXT = """
class Resource(models.Model):
name = models.CharField(max_length=255, null=False)
stripe_product_id = models.CharField(max_length=100)
- # price = models.DecimalField(
- # max_digits=6,
- # decimal_places=2,
- # default=0.00,
- # null=False,
- # blank=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",