diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-18 16:30:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-18 16:30:27 +0000 |
commit | 9fc7bfe1b88a720b381ef49bb98cc594924de605 (patch) | |
tree | d22b902a67a0cb9c9c6f49d0bfe05e390080e327 /src/booking/models.py | |
parent | 184dd8ad3a2e2b58f7d25ac6fa1e7ac80c1c5511 (diff) | |
parent | d8e2dbb57cc90ebdffb9ca463b91948b9b634918 (diff) |
Merge "Add Quick-Booking Workflow"
Diffstat (limited to 'src/booking/models.py')
-rw-r--r-- | src/booking/models.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/booking/models.py b/src/booking/models.py index 74b766d..0972922 100644 --- a/src/booking/models.py +++ b/src/booking/models.py @@ -16,32 +16,6 @@ from django.db import models import resource_inventory.resource_manager -class Scenario(models.Model): - id = models.AutoField(primary_key=True) - name = models.CharField(max_length=300) - - def __str__(self): - return self.name - - -class Installer(models.Model): - id = models.AutoField(primary_key=True) - name = models.CharField(max_length=30) - sup_scenarios = models.ManyToManyField(Scenario, blank=True) - - def __str__(self): - return self.name - - -class Opsys(models.Model): - id = models.AutoField(primary_key=True) - name = models.CharField(max_length=100) - sup_installers = models.ManyToManyField(Installer, blank=True) - - def __str__(self): - return self.name - - class Booking(models.Model): id = models.AutoField(primary_key=True) owner = models.ForeignKey(User, models.CASCADE, related_name='owner') |