﻿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
18607	ModelForms do not recognize DateTimeFields with auto_now=True	Jerome Leclanche	nobody	"When creating a model with a DateTimeField(auto_now=True), the field is not present in a ModelForm (affects the django admin).

{{{
>>> from django.db.models import *
>>> from django.forms import ModelForm
>>> class Test(Model):
...  pub_date = DateTimeField(auto_now=True)
...  class Meta:
...   app_label = ""editor""
... 
>>> class TestForm(ModelForm):
...  class Meta:                                                                                                                                                                                                                            
...   model = Test                                                                                                                                                                                                                          
... 
>>> TestForm()
<TestForm object at 0x2603890>
>>> TestForm().fields
{}
}}}

Removing auto_now lets the field be recognized. This is a regression since django 0.9 if that's worth anything."	Bug	closed	Forms	1.4	Normal	invalid			Unreviewed	0	0	0	0	0	0
