summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2007-05-11Fixed #4270 -- Don't permit deleting of items from an immutable QueryDict.Malcolm Tredinnick
Thanks, Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-10Improved error reporting for assertions where there are no form errors, or a ↵Russell Keith-Magee
non-existent field has been provided. Also created a test client regression test, to hold the tests validating the failure cases of the TestCase assertions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08Moved generic relations into django.contrib.contenttypes, since it depends onMalcolm Tredinnick
that to work. Backwards incompatible change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08Fixed #4041 -- Added a __contains__ method to cache backends. Thanks, GaryMalcolm Tredinnick
Wilson and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08Fixed #3753 -- Allow optional display of invalid variable name inMalcolm Tredinnick
TEMPLATE_STRING_IF_INVALID. Thanks, Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-06Fixed comma splice in error message introduced in [5133]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01Fixed #4130 -- Added more self-explanatory error message when a typo is made inMalcolm Tredinnick
a queryset field argument. We may need to fine-tune the error message based on experience down the line, but this stands as an improvement on its own. Thanks, Ned Batchelder. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01Fixed #3946 -- Added Swiss localflavor. Thanks, charly.wilhelm@gmail.com.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28Renamed one test to avoid a name-clash with an earlier test of the same name.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27Fixed #3698 -- Modified newforms labels to only add a colon if the label ↵Russell Keith-Magee
text doesn't end with punctuation. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27Added tests for Brazilian CRPF field that were accidentally omitted in [5089].Malcolm Tredinnick
Refs #3957. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27Fixed #4164, #4171 -- Reworked some of the template lexer logic to ensure weMalcolm Tredinnick
don't get caught out by a couple of corner cases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27Renamed filter template tests to be in their own sequence. Makes it easier toMalcolm Tredinnick
add tests if the related names aren't spread out across creation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed inconsistent period usage in localflavor.br error messages from [5089]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #4040 -- Changed uses of has_key() to "in". Slight performanceMalcolm Tredinnick
improvement and forward-compatible with future Python releases. Patch from Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #3957, #3945 -- Added CPF and CNPJ (some Brazilian identity numbers)Malcolm Tredinnick
fields to the Brazilian localflavor. Thanks, onaiort@gmail.com and danielvaz@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #3787, #3788 -- Corrected check for IndexError on MultiValueField, and ↵Russell Keith-Magee
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #4122 -- Added Chilean localflavor. Thanks, marijn@metronomo.cl.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #4143 -- Added Icelandic localflavor. Note that we use the is_/ directoryMalcolm Tredinnick
name because "is" is a reserved word in Python. Patch from django@einaregilsson.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25Fixed #3543 -- Be a bit more tolerant of spaces following the commaMalcolm Tredinnick
argument separator in the "url" tag. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25Fixed #3964 -- Added a custom SortedDict.__repr__ so that the keys are printedMalcolm Tredinnick
in sorted order. Based on a patch from Forest Bond. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-24Fixed #3870, Refs #3787 -- Fixed handling of widget attributes on ↵Russell Keith-Magee
RadioSelect and MultiWidget. In particular, handling of the id attribute has been fixed. Thanks to Gary Wilson and Max Derkachev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-21Fixed #3749 -- Set the context correctly when using the "filter" template tag.Malcolm Tredinnick
Thanks, Zak Johnson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-21Fixed #4098 -- fixed a syntax error when reporting errors in "with" templateMalcolm Tredinnick
tag. Thanks cephelo@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17Fixed #3866 -- Added Italian Social Security and VAT input fields to ↵Russell Keith-Magee
localflavor. Thanks, Massimiliano Ravelli. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17Fixed #4057 -- Fixed problem with quoting of sequence names on Postgres ↵Russell Keith-Magee
backends. Thanks, Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-10Fixed #3983 -- Fixed misspelled Delaware in localflavor unit testsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09Fixed #3929 -- Newforms Textarea widget now always includes 'rows' and ↵Adrian Holovaty
'cols' attributes, even if you don't pass them in, for HTML correctness. Thanks, and welcome back, Luke Plant git-svn-id: http://code.djangoproject.com/svn/django/trunk@4961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-08Fixed #3876 -- Added Australian local flavour. Thanks, Matthew Flanagan.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-08Backwards-incompatible change -- Renamed localflavor.usa to localflavor.us ↵Russell Keith-Magee
to match naming of other flavors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-06Fixed inconsistent indentation in localflavor/de/forms.py from [4922]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-06Fixed #3790 -- Fixed a problem with sequence resetting during fixture loads ↵Russell Keith-Magee
when using Postgres. Thanks to Jon Ballard and scott@staplefish.com for the report, and to Zach Thompson for suggesting a solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-05Fixed #3931 -- Corrected a typo noticed by Jorge Gajon.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Removed an umlaut, since our i18n support (creating PO files) doesn't workMalcolm Tredinnick
smoothly with Python unicode strings at the moment. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Fixed #3597 -- Fixed unicode encoding problem in form rendering. Thanks,Malcolm Tredinnick
Georgi Stanojevski and Ville Säävuori. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Fixed #3919 -- Added German identity card number validation to GermanMalcolm Tredinnick
localflavor. Thanks, Jannis Leidel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Fixed #3897 -- Added German localflavor. Thanks, Jannis Leidel.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Made django.utils.html.escape() work with unicode strings (and unicode-likeMalcolm Tredinnick
objects). Refs #3897. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04Moved smart_unicode and StrAndUnicode to django.utils.encoding. They are usefulMalcolm Tredinnick
outside of newforms. This is backwards compatible as far as smart_unicode goes (since newforms.util still imports it). All imports of smart_unicode and StrAndUnicode have also been updated. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03Negligible formatting changes to some recent commitsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03Fixed #3890 -- Added USSocialSecurityNumberField. Thanks James Bennet.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03Fixed #3882 -- Changed error messages in Brazilian localflavor to be inMalcolm Tredinnick
English. Thanks, Wiliam Alves de Souza. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-02Fixed #3600 -- Made smart_unicode respect deferred evaluation in the caseMalcolm Tredinnick
of strings translated with gettext_lazy and friends. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Added the ability to name URL patterns. Helps with disambiguity reverse matches.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Fixed #3810 -- In newforms, copy attribute dictionaries before modifying themMalcolm Tredinnick
in place. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Negligible formatting change to humanize tests.py (from [4880])Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Moved localflavor form tests into their own file.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Fixed #3532 -- Made spaceless template tag remove all spaces, rather than ↵Russell Keith-Magee
preserving a single space. Thanks for the suggestion, ampaze@gmx.net. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31Fixed #3017 -- Added tests for humanize filter.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31Fixed #3866 -- Added tests for localflavor/it. Thanks flavio.curella@gmail.comMalcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4876 bcc190cf-cafb-0310-a4f2-bffc1f526a37