﻿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
26665	Model field default callable called twice in forms	Nitesh Lohchab	Nitesh Lohchab	"callable assigned to default parameter of a field called twice when adding a model entry via admin.


behaviour to reproduce this:

----------------------------------------------------------------------------------------------------------


{{{
def abc():
    print ""this is abc""
    return ""abc""


class testt(models.Model):
    text = models.CharField(max_length=12, default=abc)
}}}


-------------------------------------------------------------------------------------------------------

Now when you try to add this model via admin you will see ""this is abc"" printed twice in console."	Bug	closed	Forms	1.9	Normal	duplicate			Unreviewed	0	0	0	0	0	0
