From: Scott Baker Date: Tue, 23 Dec 2014 01:43:25 +0000 (-0800) Subject: change capitolization of related_name for ControllerDashboardView X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=64c1775316fad2f11e6679d52d960b6b3e014c67;p=plstackapi.git change capitolization of related_name for ControllerDashboardView --- diff --git a/planetstack/core/models/dashboard.py b/planetstack/core/models/dashboard.py index 18f47f3..d26ac25 100644 --- a/planetstack/core/models/dashboard.py +++ b/planetstack/core/models/dashboard.py @@ -7,7 +7,7 @@ from django.contrib.contenttypes import generic class DashboardView(PlCoreBase): name = models.CharField(max_length=200, unique=True, help_text="Name of the View") url = models.CharField(max_length=1024, help_text="URL of Dashboard") - controllers = models.ManyToManyField(Controller, blank=True, related_name="dashboardViews", through='ControllerDashboardView') + controllers = models.ManyToManyField(Controller, blank=True, related_name="dashboardviews", through='ControllerDashboardView') def __unicode__(self): return u'%s' % (self.name)