add 37 to UUID for cancelaciones to EDICOM add 'C' last char to know it's cancel
This commit is contained in:
@@ -15,7 +15,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||||||
SECRET_KEY = os.getenv("adminAS_KEY")
|
SECRET_KEY = os.getenv("adminAS_KEY")
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|||||||
18
Clientes/migrations/0016_alter_timbres_uuid.py
Normal file
18
Clientes/migrations/0016_alter_timbres_uuid.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.1.3 on 2023-03-09 17:35
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('Clientes', '0015_alter_timbres_rfcc'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='timbres',
|
||||||
|
name='uuid',
|
||||||
|
field=models.CharField(max_length=37, unique=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -9,7 +9,7 @@ class saldoModel(models.Model):
|
|||||||
|
|
||||||
|
|
||||||
class Timbres(models.Model):
|
class Timbres(models.Model):
|
||||||
uuid = models.CharField(max_length=36, unique=True)
|
uuid = models.CharField(max_length=37, unique=True)
|
||||||
rfcc = models.CharField(max_length=13,db_index=True)
|
rfcc = models.CharField(max_length=13,db_index=True)
|
||||||
rfcp = models.CharField(max_length=13)
|
rfcp = models.CharField(max_length=13)
|
||||||
fecha = models.CharField(max_length=55)
|
fecha = models.CharField(max_length=55)
|
||||||
|
|||||||
Reference in New Issue
Block a user