fixes the 'core.DashboardView.deployments: (fields.W340) null has no effect on ManyToManyField.' warning
Change-Id: I43c8dd4faaf138116e68058a4eabc9bf61f62404
diff --git a/xos/core/models/dashboard.py b/xos/core/models/dashboard.py
index 52dc306..f8870bb 100644
--- a/xos/core/models/dashboard.py
+++ b/xos/core/models/dashboard.py
@@ -11,7 +11,7 @@
enabled = models.BooleanField(default=True)
icon = models.CharField(max_length=200, default="default-icon.png", help_text="Icon for Dashboard")
icon_active = models.CharField(max_length=200, default="default-icon-active.png", help_text="Icon for active Dashboard")
- deployments = models.ManyToManyField(Deployment, blank=True, null=True, related_name="dashboardviews", help_text="Deployments that should be included in this view")
+ deployments = models.ManyToManyField(Deployment, blank=True, related_name="dashboardviews", help_text="Deployments that should be included in this view")
def __unicode__(self): return u'%s' % (self.name)