add locationdata to admin, fix location data model
This commit is contained in:
@@ -41,7 +41,7 @@ class TmpLocationData(models.Model):
|
||||
on_off = models.BooleanField(blank=False, null=False)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return str(self.location_id)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
return str(self.location_id)
|
||||
|
||||
Reference in New Issue
Block a user