allow deployments to be linked to dashboards
diff --git a/planetstack/core/models/dashboard.py b/planetstack/core/models/dashboard.py
index 39dcf07..328a2ba 100644
--- a/planetstack/core/models/dashboard.py
+++ b/planetstack/core/models/dashboard.py
@@ -1,6 +1,6 @@
 import os
 from django.db import models
-from core.models import PlCoreBase, Controller
+from core.models import PlCoreBase, Controller, Deployment
 from core.models.site import ControllerLinkManager, ControllerLinkDeletionManager
 from django.contrib.contenttypes import generic
 
@@ -9,6 +9,7 @@
     url = models.CharField(max_length=1024, help_text="URL of Dashboard")
     controllers = models.ManyToManyField(Controller, blank=True, related_name="dashboardviews", through='ControllerDashboardView')
     enabled = models.BooleanField(default=True)
+    deployments = models.ManyToManyField(Deployment, blank=True, null=True, related_name="dashboardviews", help_text="Deployments that should be included in this view")
 
     def __unicode__(self):  return u'%s' % (self.name)