Adjusted modeling of Service, Slice and Tags. Added RequestRouter starter App. Modified Admin.py of core apps for new relationships. Modified the initial_data for new roles, and deprecated ForeignKey relationships.
diff --git a/planetstack/core/models/tag.py b/planetstack/core/models/tag.py
index 7c957a1..cbe63a5 100644
--- a/planetstack/core/models/tag.py
+++ b/planetstack/core/models/tag.py
@@ -1,7 +1,7 @@
import os
from django.db import models
from core.models import PlCoreBase
-from core.models import Project
+from core.models import Service
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes import generic
@@ -9,7 +9,7 @@
class Tag(PlCoreBase):
- project = models.ForeignKey(Project, related_name='tags', help_text="The Project this Tag is associated with")
+ service = models.ForeignKey(Service, related_name='tags', help_text="The Service this Tag is associated with")
name = models.SlugField(help_text="The name of this tag", max_length=128)
value = models.CharField(help_text="The value of this tag", max_length=1024)