[credit card] implement payment
This commit is contained in:
parent
e225bf1cc0
commit
1b06d8ee03
16 changed files with 290 additions and 64 deletions
17
uncloud_pay/migrations/0007_auto_20201228_2338.py
Normal file
17
uncloud_pay/migrations/0007_auto_20201228_2338.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.1 on 2020-12-28 23:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0006_auto_20201228_2337'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddConstraint(
|
||||
model_name='stripecreditcard',
|
||||
constraint=models.UniqueConstraint(condition=models.Q(active=True), fields=('owner',), name='one_active_card_per_user'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue