Ignore:
Timestamp:
May 8, 2011, 7:53:35 PM (14 years ago)
Author:
rick
Message:

A Floatfield is not type float but type str. Guess that seems to make no sence...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/gheat/models.py

    r9146 r9164  
    3838  objects = managers.MetingManager()
    3939  def __unicode__(self):
    40     return "%s @ %.5f,%.5f : %s" % (self.accespoint.ssid, self.latitude, self.longitude, self.signaal)
     40    return "%s @ %.5f,%.5f : %s" % (self.accespoint.ssid, float(self.latitude), float(self.longitude), self.signaal)
    4141
    4242class Node(models.Model):
Note: See TracChangeset for help on using the changeset viewer.