django1/django/newforms
Russell Keith-Magee 2345029d0d Fixed #4018 -- Added code to allow callables as initial data in newforms. Thanks for the patch, David Danier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:50:32 +00:00
..
extras Created django.contrib.localflavor, for country- and culture-specific functionality. Moved django/newforms/extras/usa.py into there 2007-02-15 05:53:44 +00:00
__init__.py newforms: Added BaseForm to django.newforms namespace 2006-12-17 05:11:48 +00:00
fields.py Fixed #3787, #3788 -- Corrected check for IndexError on MultiValueField, and fixed the value_from_datadict method for MultiWidgets to handle Multiwidgets containing Multiwidgets. Also added a testcase walking through the use of MultiWidget/MultiValueField. Thanks to Max Derkachev for reporting these issues and providing fixes. 2007-04-26 12:46:04 +00:00
forms.py Fixed #4018 -- Added code to allow callables as initial data in newforms. Thanks for the patch, David Danier. 2007-05-12 15:50:32 +00:00
models.py Added docs for form_for_model and form_for_instance, and added a fields argument so it is easy to create forms from a subset of model fields. 2007-05-12 14:42:46 +00:00
util.py Moved smart_unicode and StrAndUnicode to django.utils.encoding. They are useful 2007-04-04 06:34:19 +00:00
widgets.py Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00