﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18255	Inconsistent data type for BigIntegerField after calling full_clean()	anonymous	Adam Duren	"Example:

{{{
class MyModel(Model):
    big = BigIntegerField()

    def full_clean(self):
        print type(self.big)
        super(MyModel, self).full_clean()
        print type(self.big)
}}}

When saving the model I get:
{{{
<type 'long'>
<type 'int'>
}}}

This means that full_clean() somehow converts the ''long'' to ''int''. On the other hand, when getting the model from the database (MySQL in my case), the output of type(my_model.big) will be ''long'' again. From a user point of view this behavior is inconsistent and confusing."	Bug	closed	Database layer (models, ORM)	1.4	Normal	fixed		Areski Belaid	Accepted	1	0	0	1	0	0
