diff options
author | Justin Choquette <jchoquette@iol.unh.edu> | 2023-08-07 14:10:19 -0400 |
---|---|---|
committer | Justin Choquette <jchoquette@iol.unh.edu> | 2023-08-07 14:16:04 -0400 |
commit | a6168306c08e8d5b207b9acc48869180d194ff01 (patch) | |
tree | 51ffcafac4ae0b5fd4da363d9bf839e8ad3fc286 /src/booking | |
parent | a09db9f287a02873c0226759f8ea444bb304cd59 (diff) |
User subsystem
Change-Id: Ibef4ede9b2d6a3ea465f79a9b5cbcc821afbccae
Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/booking')
-rw-r--r-- | src/booking/migrations/0012_auto_20230802_1810.py | 18 | ||||
-rw-r--r-- | src/booking/models.py | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/booking/migrations/0012_auto_20230802_1810.py b/src/booking/migrations/0012_auto_20230802_1810.py new file mode 100644 index 0000000..36095a1 --- /dev/null +++ b/src/booking/migrations/0012_auto_20230802_1810.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2 on 2023-08-02 18:10 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('booking', '0011_booking_aggregateid'), + ] + + operations = [ + migrations.AlterField( + model_name='booking', + name='aggregateId', + field=models.CharField(blank=True, max_length=36), + ), + ] diff --git a/src/booking/models.py b/src/booking/models.py index 09244d3..eb72eb2 100644 --- a/src/booking/models.py +++ b/src/booking/models.py @@ -34,7 +34,7 @@ class Booking(models.Model): pdf = models.TextField(blank=True, default="") idf = models.TextField(blank=True, default="") # Associated LibLaaS aggregate - aggregateId = models.CharField(blank=True, max_length=36, validators=[RegexValidator(regex='^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$', message='aggregate_id must be a valid UUID', code='nomatch')]) + aggregateId = models.CharField(blank=True, max_length=36) complete = models.BooleanField(default=False) |