help text for deployment sites
authorScott Baker <smbaker@gmail.com>
Tue, 10 Jun 2014 05:10:00 +0000 (22:10 -0700)
committerScott Baker <smbaker@gmail.com>
Tue, 10 Jun 2014 05:10:00 +0000 (22:10 -0700)
planetstack/core/admin.py
planetstack/core/models/site.py

index 8bf7976..0e38d43 100644 (file)
@@ -478,6 +478,7 @@ class DeploymentAdminForm(forms.ModelForm):
     sites = forms.ModelMultipleChoiceField(
         queryset=Site.objects.all(),
         required=False,
+        help_text="Select which sites are allowed to host nodes in this deployment",
         widget=FilteredSelectMultiple(
             verbose_name=('Sites'), is_stacked=False
         )
index a97de3e..eea62fe 100644 (file)
@@ -21,7 +21,7 @@ class Site(PlCoreBase):
     abbreviated_name = models.CharField(max_length=80)
 
     #deployments = models.ManyToManyField('Deployment', blank=True, related_name='sites')
-    deployments = models.ManyToManyField('Deployment', through='SiteDeployments', blank=True)
+    deployments = models.ManyToManyField('Deployment', through='SiteDeployments', blank=True, help_text="Select which sites are allowed to host nodes in this deployment")
     tags = generic.GenericRelation(Tag)
 
     def __unicode__(self):  return u'%s' % (self.name)