aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/models.py')
-rw-r--r--alphabetlearning/payments/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alphabetlearning/payments/models.py b/alphabetlearning/payments/models.py
index 0ad07fb..7bf4164 100644
--- a/alphabetlearning/payments/models.py
+++ b/alphabetlearning/payments/models.py
@@ -14,7 +14,7 @@ class Product(models.Model):
class Price(models.Model):
- resource = models.ForeignKey(Resource, on_delete=models.CASCADE, related_name="price")
+ resource = models.ForeignKey(Resource, on_delete=models.CASCADE, related_name="price_obj")
price = models.IntegerField(default=0)
stripe_price_id = models.CharField(max_length=100)