﻿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
16104	inspectdb of a Mysql table fails to add null=True for Varchars	barracel	nobody	"Using inspectdb for the following table:
{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!sql
     CREATE TABLE `test` (
        `test_int` bigint DEFAULT NULL,
        `test_varchar` varchar(100) DEFAULT NULL);
  }}}
}}}

I get the model:
{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!python
    class Test(models.Model):
        test_int = models.BigIntegerField(null=True, blank=True)
        test_varchar = models.CharField(max_length=300, blank=True)
        class Meta:
            db_table = u'test'
  }}}
}}}

test_varchar definition contains '''null=True''' but test_int does not"	Bug	closed	Core (Management commands)	1.3	Normal	invalid			Unreviewed	0	0	0	0	0	0
