Rename hints to paypal hints
This commit is contained in:
parent
ef24a264a6
commit
b4510831f6
|
@ -86,7 +86,7 @@ class Transaction(models.Model):
|
|||
history = HistoricalRecords()
|
||||
|
||||
class PayPalHint(models.Model):
|
||||
user = models.ForeignKey(User, related_name='hints', blank=True, null=True, on_delete=models.SET_NULL)
|
||||
user = models.ForeignKey(User, related_name='paypal_hints', blank=True, null=True, on_delete=models.SET_NULL)
|
||||
|
||||
account = models.CharField(unique=True, max_length=13)
|
||||
member_id = models.IntegerField()
|
||||
|
|
|
@ -73,7 +73,7 @@ for member in members:
|
|||
|
||||
x = models.PayPalHint.objects.filter(member_id=member.id)
|
||||
x.update(user=user)
|
||||
print(' Linked', x.count(), 'hints')
|
||||
print(' Linked', x.count(), 'paypal hints')
|
||||
|
||||
|
||||
count += 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user