Add stripe_plan_name field to datacenterlight's StripePlan model

This commit is contained in:
PCoder 2019-04-20 11:53:47 +02:00
commit 4be098d07a
2 changed files with 21 additions and 0 deletions

View file

@ -103,6 +103,7 @@ class StripePlan(models.Model):
A model to store Data Center Light's created Stripe plans
"""
stripe_plan_id = models.CharField(max_length=256, null=True)
stripe_plan_name = models.CharField(max_length=512, default="", null=True)
@classmethod
def create(cls, stripe_plan_id):