summaryrefslogtreecommitdiffstats
path: root/src/booking
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-04-17 14:32:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-04-17 14:32:03 +0000
commitfec940b7b8d15099b8f914ce35552c59db9eb77b (patch)
treed65e8f7d67957719c84400e9cbbc0007ce215e20 /src/booking
parent01ef094c8248d9dfd2807142ea8e78da71413c8b (diff)
parent9693b9e4185f5dfc658655aef0156f36453133ee (diff)
Merge "Fixes the idf and pdf templates so that we can deploy opnfv"
Diffstat (limited to 'src/booking')
-rw-r--r--src/booking/migrations/0005_booking_idf.py18
-rw-r--r--src/booking/models.py1
2 files changed, 19 insertions, 0 deletions
diff --git a/src/booking/migrations/0005_booking_idf.py b/src/booking/migrations/0005_booking_idf.py
new file mode 100644
index 0000000..31e9170
--- /dev/null
+++ b/src/booking/migrations/0005_booking_idf.py
@@ -0,0 +1,18 @@
+# Generated by Django 2.1 on 2019-04-12 19:27
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('booking', '0004_auto_20190124_1700'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='booking',
+ name='idf',
+ field=models.TextField(blank=True, default=''),
+ ),
+ ]
diff --git a/src/booking/models.py b/src/booking/models.py
index 8612abd..02e03cc 100644
--- a/src/booking/models.py
+++ b/src/booking/models.py
@@ -32,6 +32,7 @@ class Booking(models.Model):
project = models.CharField(max_length=100, default="", blank=True, null=True)
lab = models.ForeignKey(Lab, null=True, on_delete=models.SET_NULL)
pdf = models.TextField(blank=True, default="")
+ idf = models.TextField(blank=True, default="")
class Meta:
db_table = 'booking'