summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2006-11-29Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell striteAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29newforms: Added docstring to Widget.build_attrs()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29Fixed #3078 -- newforms: Added HTML escaping to label_tag() calls. Thanks, ↵Adrian Holovaty
SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29newforms: Implemented CheckboxSelectMultipleAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29newforms: The <input> tags in a RadioSelect now each have a distinct ID. ↵Adrian Holovaty
Also, this plays nicely with auto_id and <label>s for Form.as_table() and Form.as_ul(). Refs #3064 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29Fixed #3064 -- newforms: Added <label> support through ↵Adrian Holovaty
BoundField.label_tag() method. Also added BoundField.verbose_name and added/updated unit tests. Thanks, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-28Fixed small bug in 'The view ____ didn't return an HttpResponse object' ↵Adrian Holovaty
message -- it assumed the view was a function, whereas it can be any callable object git-svn-id: http://code.djangoproject.com/svn/django/trunk@4128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27Fixed #3072 -- Fixed docstring in object_detail() generic view. Thanks, Matt ↵Adrian Holovaty
McClanahan git-svn-id: http://code.djangoproject.com/svn/django/trunk@4124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Small short-circuit optimization to BoundField.as_widget()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Normalized all error <ul>s to use class='errorlist'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Added Form.non_field_errors() and added more ↵Adrian Holovaty
examples/documentation to the unit tests git-svn-id: http://code.djangoproject.com/svn/django/trunk@4119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Added BoundField.label, which calculates the label of the field ↵Adrian Holovaty
based on its name git-svn-id: http://code.djangoproject.com/svn/django/trunk@4118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27Fixed #3026 -- newforms: Form class now suppresses validation and errors if ↵Adrian Holovaty
no data (or None) is passed in. Validation still happens if you pass in an empty dictionary. Also updated unit tests. Thanks, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Changed Form.errors to be a property rather than a function. Refs ↵Adrian Holovaty
#3026 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Removed redundant declaration of Form.clean(). Thanks, ↵Adrian Holovaty
SmileyChris. Refs #3026 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27newforms: Added a bunch of unit tests and fixed some bugs in the case of ↵Adrian Holovaty
required=False for various Field subclasses git-svn-id: http://code.djangoproject.com/svn/django/trunk@4113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27Fixed #2980 -- Changed project_template/urls.py to use new-style URLconf. ↵Adrian Holovaty
Thanks for the patch, ymasuda git-svn-id: http://code.djangoproject.com/svn/django/trunk@4112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27Fixed #3038 -- newforms: RegexField no longer validates empty input for ↵Adrian Holovaty
required=False. Thanks for reporting, Thomas Steinacher git-svn-id: http://code.djangoproject.com/svn/django/trunk@4111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-26Fixed #3057 -- Improved wsgi backend to tolerate empty string in ↵Adrian Holovaty
CONTENT_LENGTH. Thanks for the patch, Ivan Sagalaev git-svn-id: http://code.djangoproject.com/svn/django/trunk@4107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-26Fixed #3065 -- newforms: Fixed rendering problem with RadioSelect as a ↵Adrian Holovaty
member of a Form. Also fixed some Unicode issues and added unit tests. Thanks for reporting, Derek Hoy git-svn-id: http://code.djangoproject.com/svn/django/trunk@4106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-26Fixes #2993, Refs #2918 -- Reverted [3960]; [3960] fixed a potential data ↵Russell Keith-Magee
validation problem for SQLite, but broke usage of LazyDate. The proper fix is to complete the model validators to catch _all_ invalid inputs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-25Moved newforms form_for_model and form_for_fields to django/newforms/models.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-25Fixed #3061 -- Fixed wrong schema URL in sitemap_index.xml template. Thanks, ↵Adrian Holovaty
Mateusz Pawlik and John D'Agostino git-svn-id: http://code.djangoproject.com/svn/django/trunk@4101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed #3057 -- Fixed typo in [4091]. Thanks for the heads-up, Barry PedersonAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed #3054 -- newforms Form now keeps track of field orderAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed #3057 -- Changed WSGI handler not to expect CONTENT_LENGTH. Thanks for ↵Adrian Holovaty
the patch, Ivan Sagalaev git-svn-id: http://code.djangoproject.com/svn/django/trunk@4091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed bug in [3786]. django/core/xheaders.py no longer assumes request.user ↵Adrian Holovaty
exists git-svn-id: http://code.djangoproject.com/svn/django/trunk@4090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-22Fixed #3052: GZIP middleware now correctly reports Content-Length. Thanks, ↵Jacob Kaplan-Moss
simonbun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-20Fixed #3033 -- Extended django.contrib.sitemaps to support new, generic ↵Adrian Holovaty
sitemap protocol rather than Google's proprietary version. Thanks, Petar Marić git-svn-id: http://code.djangoproject.com/svn/django/trunk@4088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-20Fixed #3014 -- Admin 'now' shortcut for DateTimeFields now updates seconds, ↵Adrian Holovaty
too. Thanks for the patch, Esdras Beleza git-svn-id: http://code.djangoproject.com/svn/django/trunk@4087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-16newforms: Tiny optimization to smart_unicode()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-16newforms: Fixed #3008 -- Widgets now support strings containing utf-8 ↵Adrian Holovaty
characters. Thanks for reporting, Nebojša Đorđević git-svn-id: http://code.djangoproject.com/svn/django/trunk@4076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-16newforms: Fixed #3027 -- Changed Form as_table(), as_ul(), ↵Adrian Holovaty
as_table_with_errors() and as_ul_with_errors() to exclude <table> and <ul>. Good idea, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15Fixed #3025 -- Added auto_id option to Form.__init__(). Thanks, SmileyChrisAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15newforms: Implemented RadioSelect, with unit testsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15newforms: Cleaned up some un-DRYness by adding Widget.build_attrs(). Also ↵Adrian Holovaty
slightly changed flatatt to include a leading space, so the spaces don't have to be hard-coded each time you embed flatatt() results in HTML. Thanks, SmileyChris. Refs #3023 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15fixed #3013: fixed typos in the 'de' translation. Additionally added a few ↵Georg Bauer
missing translations. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15fixed #2981: updated es_AR translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-15fixed #2999: updated greek translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-13Fixed typo in 'incorrect backend' database error messageAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed bug in [4058], in django/core/mail.py. Thanks, Igor GoryachevAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed #2997 -- Fixed URLField validation in django.newforms. Thanks, jkocherhansAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed #3007 -- Fixed Python 2.4-ism from [4051] in django/core/mail.py. Also ↵Adrian Holovaty
cached the result of socket.getfqdn(). Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Formatting fixes from the past round of checkinsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2991: Added Message-ID header to messages sent from Django. Thanks, ↵Jacob Kaplan-Moss
Graham King. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2800: the ifchanged tag now can optionally take paramaters to be ↵Jacob Kaplan-Moss
checked for changing (instead of always using the content). Thanks, Wolfram Kriesing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2848: broken doctest in comment app. Thanks, dummy@habmalnefrage.deJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2866: Added DATABASE_OPTIONS setting which gets passed as extra ↵Jacob Kaplan-Moss
kwargs to the backend's connect method. Thanks, ymasuda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2875: made urlresolvers.get_mod_func() deal with non-qualified ↵Jacob Kaplan-Moss
callbacks better. Thanks, Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2894: XML deserializer now correctly handles null primary keys.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4046 bcc190cf-cafb-0310-a4f2-bffc1f526a37