summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2011-05-13Fixed #15064 -- Made manage.py honor the existence and value of ↵Ramiro Morales
DJANGO_SETTINGS_MODULE env var. Thanks olau for the report and Shawn Milochik for a patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-12Fixed minor typo in tests introduced in r16121. Refs #5925.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-11Fixed #16002 - test failure due to missing `from __future__ import ↵Luke Plant
with_statement` Thanks to julien for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@16213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10Fixed #13648 - '%s' escaping support for sqlite3 regression.Luke Plant
Thanks to master for the report and initial patch, and salgado and others for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09Fixed #15258 - Ajax CSRF protection doesn't apply to PUT or DELETE requestsLuke Plant
Thanks to brodie for the report, and further input from tow21 This is a potentially backwards incompatible change - if you were doing PUT/DELETE requests and relying on the lack of protection, you will need to update your code, as noted in the releaste notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09Fixed #14134 - ability to set cookie 'path' and 'secure' attributes of CSRF ↵Luke Plant
cookie Thanks to cfattarsi for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09Fixed #15354 - provide method to ensure CSRF token is always available for ↵Luke Plant
AJAX requests Thanks to sayane for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15709 - Duplicated group_by conditionLuke Plant
Thanks to ziangsong for report, and to mk for the patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@16180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Minor renaming for consistency.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #11212 -- Stopped using quoted-printable encoding for mails with ↵Jannis Leidel
non-ASCII characters but rely on 8bit encoding instead. Thanks, phr, gisle and Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #13154 -- Fixed the URL resolver's reverse() to match the behavior of ↵Jannis Leidel
its resolve() with regard to the default kwargs. Many thanks to patrys. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15496 -- Corrected handling of base64 file upload encoding. Thanks, ↵Jannis Leidel
gene and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #8527 -- Made CAPostalCodeField more forgiving of the input format. ↵Jannis Leidel
Thanks to Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15263 -- Added support for format localization to the now template ↵Jannis Leidel
tag. Thanks to danielr and dmclain. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15971 -- Fixed regression introduced in r16144 that prevented the use ↵Jannis Leidel
of the field's verbose_name attribute. Thanks to mk and Julien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15980 - Unknown encoding "utf8" in ↵Luke Plant
tests/regressiontests/views/__init__.py Thanks to davidbarnett2 for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@16170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Added missing future imports missed in r16167.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Fixed #6392 -- Made django.contrib.humanize template tags locale aware. ↵Jannis Leidel
Thanks, Dave McLain. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Make use of new translation and settings context manager in the tests.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Added django.utils.translation.override context manager to easily activate ↵Jannis Leidel
and deactivate a language for a code block. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Added TestCase.settings context manager to easily override settings in test ↵Jannis Leidel
methods. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05Fixed #15964 - Do not order admin actions by descriptionLuke Plant
Thanks to julien for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05Fixed #15954 - New IGNORABLE_404_URLS setting that allows more powerful ↵Luke Plant
filtering of 404s to ignore Thanks to aaugustin for implementing this. (Technically this doesn't fix the original report, as we've decided against having *any* default values, but the new feature makes it possible, and the docs have an example addressing #15954). git-svn-id: http://code.djangoproject.com/svn/django/trunk@16160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05Fixed #15823 - incorrect join condition when combining Q objectsLuke Plant
Thanks to dcwatson for the excellent report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05Fixed #15811 - lazy() doesn't take into account methods defined in parentsLuke Plant
Thanks to abki for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-04Fixed #15960 -- Extended list filer API added in r16144 slightly to pass the ↵Jannis Leidel
current model admin to the SimpleListFilter.lookups method to support finer grained control over what is filtered over. Many thanks to Carl Meyer and Julien Phalip for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Corrected the behavior of the SimpleFilter.lookups method to also be able to ↵Jannis Leidel
return None. Also modified example in documentation to be a bite more realistic. Refs #5833. Thanks for the hint, Martin Mahner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #14262 -- Added new assignment_tag as a simple way to assign the ↵Jannis Leidel
result of a template tag to a context variable. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #13770 -- Extended BooleanField form field to also clean `u'false'` to ↵Jannis Leidel
`False`. Thanks, jordanb and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #13729 -- Renamed UK localflavor to GB to correctly follow ISO 3166. ↵Jannis Leidel
Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #12595 -- Fixed bad arguments handling in localflavor form fields.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #5931 -- Added __repr__ to db fields. Thanks, Thomas Güttler, ↵Jannis Leidel
emulbreh and magopian. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #5833 -- Modified the admin list filters to be easier to customize. ↵Jannis Leidel
Many thanks to Honza Král, Tom X. Tobin, gerdemb, eandre, sciyoshi, bendavis78 and Julien Phalip for working on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-01Replaced old-style with new-style decorator syntax.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-01Fixed #5714 -- Strip whitespaces around date and time form field values ↵Jannis Leidel
before converting it to a native type. Thanks to SmileyChris for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30Fixed #11928 -- Added test for tuple to list conversion during mail message ↵Jannis Leidel
initialization added in r11709. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30Fixed #15640 -- Added new initial digit in Spain phone numbers to ↵Jannis Leidel
localflavor's ESPhoneNumberField form field. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-29Added file forgotten in r16121. Refs #5925. Thanks, Julien.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-29Fixed #5925 -- Added new lazily evaluated version of ↵Jannis Leidel
django.core.urlresolvers.reverse. Thanks, SmileyChris, Preston Timmons and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #15661 - LogEntry objects have no unicode methodLuke Plant
Thanks to Keryn Knight for the report and initial patch, and ShawnMilo for additional work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #7267 - UnicodeDecodeError in clean_htmlLuke Plant
Thanks to Nikolay for the report, and gav and aaugustin for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #15070 -- Also pass current_app and use_l10n in inclusion_tags. ↵Jannis Leidel
Thanks, raony, mk and goodtune. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #15713 -- Added a form field for validating Polish National ID Card ↵Jannis Leidel
numbers. Thanks, xtrqt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #15637 -- Added a require_safe decorator for views to accept GET or ↵Jannis Leidel
HEAD. Thanks, aaugustin and Julien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-27Refs #15093 -- Fixed another get_models call missed in r16053. Thanks Luke ↵Carl Meyer
for catching it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-27Refs #15903 -- Added a per-TestCase urlconf to reduce coupling between test ↵Carl Meyer
apps. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-27Fixed #15903 -- Allowed not-installed models to still be referenced in ↵Carl Meyer
related fields. Missed case from r16053. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-26Fixed a failing test in special_headers, and performed a bit of cleanup.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-26Fixed #15889 -- when trying to access to access a serializer that doesn't ↵Alex Gaynor
exist, raise a new SerializerDoesNotExist exception. Thanks to Mathieu Agopian for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-26Fixed #15904 - render_comment_form executes unnecessary query for objectLuke Plant
Thanks to stefanw for report and patch! git-svn-id: http://code.djangoproject.com/svn/django/trunk@16103 bcc190cf-cafb-0310-a4f2-bffc1f526a37