diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-19 19:43:59 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-19 19:43:59 +0100 |
commit | 1e1a2f6ac2cadfbc57cc855a67498af097391caf (patch) | |
tree | 8e28486d182d6b4746d4feb22347badf21f5465d /alphabetlearning/resources/models.py | |
parent | ae9bc97c743ea4d31a3f392db72a948d87d3b2ab (diff) |
Changes the Resource to include Stripe reference
Diffstat (limited to 'alphabetlearning/resources/models.py')
-rw-r--r-- | alphabetlearning/resources/models.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/alphabetlearning/resources/models.py b/alphabetlearning/resources/models.py index 3dfad06..ebdf98d 100644 --- a/alphabetlearning/resources/models.py +++ b/alphabetlearning/resources/models.py @@ -37,13 +37,14 @@ 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, - ) + stripe_product_id = models.CharField(max_length=100) + #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", |