Wich type of modele in django for this form of values?
I want to create a model in my django app for this value, in this value we have ";" :
0;-0.0110227457430789;-0.0117428254241928;
how can corige me please ?
value = models.CharField(max_length=1000, blank=True, null=True)
First of all, the maximum length of CharField is 255.
(Every VARCHAR field's maximum length is 255)
If its a string, you can use CharField for that( if the length is not more that 255 )
If the string length can be more than 255, you should use TextField()
(TextField is not stored in VARCHAR type,its stored in BLOB)
CharField - max_length documentation
CharField documentation
TextField documentation