Bugfixes, Daten umgezogen

This commit is contained in:
Martin Bauer
2013-10-15 21:51:05 +02:00
parent 175df72a21
commit cd635aff9b
31 changed files with 71 additions and 54 deletions

View File

@@ -12,7 +12,8 @@ class LocationWidget(widgets.TextInput):
super(LocationWidget, self).__init__(attrs)
def render(self, name, value, attrs=None):
if value is not None:
if value is not None and len(value)>0:
lat, lng, zoom = value.split(',')
value = '%s,%s,%d' % (