How to create a double
field in mysql using django models. i run into this error and also how to create a longtext
datatype with django
class Test(models.Model):
maxcount = models.DoubleField(null=True) ## double DEFAULT NULL,
cs = models.TextField()#longtext,
Error:
maxcount = models.DoubleField(null=True) ##double DEFAULT NULL,
AttributeError: 'module' object has no attribute 'DoubleField'