Add script to parse old paypal txs into member hints

This commit is contained in:
2020-01-29 23:42:10 +00:00
parent 26c8180ca0
commit bfc757cace
4 changed files with 96 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ class Transaction(models.Model):
account_type = models.TextField(blank=True, null=True)
info_source = models.TextField(blank=True, null=True)
class PayPalHint(models.Model):
account = models.CharField(unique=True, max_length=13)
member_id = models.IntegerField()
class Card(models.Model):
user = models.ForeignKey(User, related_name='cards', blank=True, null=True, on_delete=models.SET_NULL)