Added a couple of TODO
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Fri, 21 Jan 2011 11:34:26 +0000 (11:34 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Fri, 21 Jan 2011 11:34:26 +0000 (11:34 +0000)
bin/djais/views.py

index 9ca918dc0944d423462e1ba62c89192e2be595ee..613e95cfdf0a1e67f3c23f0f1787310748308326 100644 (file)
@@ -327,6 +327,7 @@ class VesselManualInputForm(forms.Form):
         return int(sog*AIS_SOG_SCALE)
 
     def clean_latitude(self):
+        #TODO: use ntools.clean_latitude
         data = self.cleaned_data['latitude']
         data = data.replace(u"''", u'"') # common mistake
         data = data.replace(u' ', u'') # remove spaces
@@ -381,6 +382,7 @@ class VesselManualInputForm(forms.Form):
         return int(data * AIS_LATLON_SCALE)
 
     def clean_longitude(self):
+        #TODO: use ntools.clean_latitude
         data = self.cleaned_data['longitude']
         data = data.replace(u"''", u'"') # common mistake
         data = data.replace(u' ', u'') # remove spaces