I have the following field in my model: area_hectares = models.FloatField(blank=True, null=True)
In my script for importing from a csv I seem to run into the following error: could not convert string to float The relevant part of the script is as follows: area_hectares=float(row[6]) Could someone please show me the error of my ways as I know I am doing something wrong(and probably very stupid)? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/863abb4b-3dab-4713-b2f2-6ee451b50705%40googlegroups.com.

