summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-12-18Fixed a couple of tests migrated to unit tests in r14279 so they actually ↵Ramiro Morales
and correctly exercise the functionality under test. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES correctly ↵Alex Gaynor
and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Fixing ZA localflavor clean() #14872 git-svn-id: http://code.djangoproject.com/svn/django/trunk@14956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Uruguayan localflavor doctests into unittests. We have alwyas ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted United States localflavor doctests into unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted United Kingdom localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Slovak localflavor doctests into unitttests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14864, #14864 -- ROCIFField didn't accept values starting with RO, as ↵Alex Gaynor
it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Fixing RO localflavor clean() #14864 git-svn-id: http://code.djangoproject.com/svn/django/trunk@14951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Portuguese localflavor doctests into unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't handle all ↵Alex Gaynor
EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Dutch localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Kuwaiti localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Japanese localflavor doctests to unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField didn't ↵Alex Gaynor
handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Icelandic localflavor doctests to unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14750 -- ILPostalCodeField didn't handle all EMPTY_VALUES correctly. ↵Alex Gaynor
Also converted the Israeli localflavor testcases to use the new, less verbose format. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Irish localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Indonesian localflavor doctests to unittests. We have always been ↵Alex Gaynor
a war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted generic localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted French localflavor doctests into unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Finnish localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Spanish localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Chilean localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Swiss localflavor doctests to unittests. Thanks to Idan Gazit for ↵Alex Gaynor
the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Canadian localflavor doctests to unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted the Brazillian localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Belerusian localflavor tests to use the new, less verbose format. ↵Alex Gaynor
Thanks to Idan Gazit for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Australian localfavor doctests into unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed the ModelMultipleChoiceFieldTests to pass even on DB backends that do ↵Karen Tracey
not reuse pk values after rollback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixes #7817 and #9456.Chris Beaven
- The include tag now has a 'with' option to include to provide extra context vairables to the included template. - The include tag now has an 'only' option to exclude the current context when rendering the included template. - The with tag now accepts multiple variable assignments. - The with, include and blocktrans tags now use a new keyword argument format for variable assignments (e.g. `{% with foo=1 bar=2 %}`). git-svn-id: http://code.djangoproject.com/svn/django/trunk@14922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13Fixed #13726 -- Further refine changes made in r12384 and r13069 for using ↵Jannis Leidel
non-English source languages in JavaScript translation catalogues. Thanks, Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #4030 -- Added ability to translate language names. Thanks to Antti ↵Jannis Leidel
Kaihola and Ramiro Morales for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14312 -- Raising an ``IncorrectLookupParameters`` if the page number ↵Jannis Leidel
given to an admin change list exceeds the number of the last page. Thanks, mk. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14158 -- Fixed SelectMultiple._has_changed to not assume same order ↵Jannis Leidel
of data anymore. Thanks, akaariai and dmoisset. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14144 -- Made sure custom validators are called in ↵Jannis Leidel
ModelMultipleChoiceFields. Thanks, matiasb. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14103 -- Take USE_ETAGS setting into account when patching the ↵Jannis Leidel
response headers. Thanks, trbs and Eric Holscher. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13862 -- Added an ordering option to InlineModelAdmin and cleaned up ↵Jannis Leidel
documentation for it a bit. Thanks, Simon Meers, rasca and cogat. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13607 -- Auto-initialize admin's date hierarchy links intelligently. ↵Jannis Leidel
Thanks, Simon Meers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #5672 -- Allow the separator in the get_text_list utility function to ↵Jannis Leidel
be translated. Thanks, Claude. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14499 -- ATSocialSecurityNumberField now responds to all EMPTY_VALUES ↵Alex Gaynor
correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Converted the Argentina localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-09Fixes #14873 -- A paginated ListView with a List instead of queryset ↵Chris Beaven
produces an error. Additional minor change in functionality: the page is now not considered paginated if the objects do not span multiple pages according to the paginator. This will only affect views with a custom paginator method which uses orphans. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08Ensure that a Popen object is closed promptly during the tests.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-07Fixed #12815 -- Added TemplateResponse, a lazy-evaluated Response class. ↵Russell Keith-Magee
Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06Fixed #10863 -- Added HTML support to mail_managers() and mail_admins(), and ↵Russell Keith-Magee
used this to provide more and prettier detail in error emails. Thanks to boxed for the suggestion, and to Rob Hudson and Brodie Rao for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05Fixed #12398 -- Added a TypedMultipleChoiceField. Thanks to Tai Lee.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05Fixed #14773 -- Modified MultipleObjectMixin to allow for custom paginators. ↵Russell Keith-Magee
Thanks to piquadrat for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05Fixed #14799 -- Provided a full solution for test database creation order ↵Russell Keith-Magee
problems. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #12201 -- Added a lineno attibute to template Token so e.g. we can ↵Ramiro Morales
report line numbers in errors during i18n literals extraction. Thanks madewulf for the report and Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #14797 -- Corrected the handling of get_form_class() when a custom ↵Russell Keith-Magee
queryset has been defined, but a model hasn't. Thanks to Gabriel Grant for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #14803 -- Corrected an inconsistency in redirection handling between ↵Russell Keith-Magee
old-style generic views and class-based views. Thanks to gg for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14808 bcc190cf-cafb-0310-a4f2-bffc1f526a37