callback url get none http
This commit is contained in:
parent
2442dc14b6
commit
5917dcbd85
2 changed files with 19 additions and 1 deletions
18
apps/pg/migrations/0002_alter_chargerequest_callback_url.py
Normal file
18
apps/pg/migrations/0002_alter_chargerequest_callback_url.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.1.7 on 2025-05-20 13:28
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pg', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='chargerequest',
|
||||
name='callback_url',
|
||||
field=models.CharField(blank=True, max_length=255, null=True),
|
||||
),
|
||||
]
|
||||
|
|
@ -23,7 +23,7 @@ class ChargeRequest(models.Model):
|
|||
state = models.IntegerField(choices=StateChoices.choices, default=StateChoices.CREATED)
|
||||
user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.PROTECT)
|
||||
amount = models.PositiveBigIntegerField(null=True, blank=True)
|
||||
callback_url = models.URLField(null=True, blank=True)
|
||||
callback_url = models.CharField(max_length=255, null=True, blank=True)
|
||||
details = models.JSONField(null=True, blank=True, default=dict)
|
||||
|
||||
pna_token = models.CharField(null=True, blank=True, max_length=255, db_index=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue