Added support for Generic Tags. Tags can be applied to Node, Site, Slice, Sliver. Adjusted relation_name for SliceTags to not conflict with generic tag.
diff --git a/planetstack/core/models/site.py b/planetstack/core/models/site.py
index 53a1a6c..5c84d1b 100644
--- a/planetstack/core/models/site.py
+++ b/planetstack/core/models/site.py
@@ -2,6 +2,8 @@
from django.db import models
from core.models import PlCoreBase
from core.models import Deployment
+from core.models import Tag
+from django.contrib.contenttypes import generic
class Site(PlCoreBase):
@@ -16,6 +18,7 @@
abbreviated_name = models.CharField(max_length=80)
deployments = models.ManyToManyField(Deployment, blank=True, related_name='sites')
+ tags = generic.GenericRelation(Tag)
def __unicode__(self): return u'%s' % (self.name)