summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-09-11Adjust AdminDocTests to run after r13728. Also match comments to tests and ↵Karen Tracey
add test that was there in comment form only.Refs #3695. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed a test so that it actually tests what it's supposed to test.Luke Plant
Previously it passed whether or not the view was 'csrf_exempt'ed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed #14235 - UnicodeDecodeError in CSRF middlewareLuke Plant
Thanks to jbg for the report. This changeset essentially backs out [13698] in favour of a method that sanitizes the token rather than escaping it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed #13095 -- `formfield_callback` keyword argument is now more sane and ↵Justin Bronn
works with widgets defined in `ModelForm.Meta.widgets`. Thanks, hvdklauw for bug report, vung for initial patch, and carljm for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed #11158 - get_image_dimensions very slow/incorrect after 1 callLuke Plant
Thanks to kua for the report, and to kua, SmileyChris and SAn for the patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@13715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed #14246: Modified aggregation_regress tests so that they will pass on a ↵Karen Tracey
variety (sqlite, Postgres, MySQL/MyISAM) of DBs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed some of the problems with aggregation_regress tests on higher levles ↵Karen Tracey
of Postgres. Refs: #14246. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Adding related objects in the admin (via popup) respects userMalcolm Tredinnick
permissions. Patch from SmileyChris. Fixed #1035. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-09Patch CSRF-protection system to deal with reported security issue. ↵James Bennett
Announcement and details to follow. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07Fixed #13081 - Admin actions lose get-parameters in changelist viewLuke Plant
Thanks to joh for report and to SmileyChris for patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07Fixed #13475 - for tag raises an exception when trying to unpack a ↵Luke Plant
non-iterable item Thanks to SmileyChris for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-31Fixed #14199 -- Added a missing table creation statement in the db cache ↵Russell Keith-Magee
backend cull implementation, and added tests for cache culling. Thanks to Tim for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30Fixed #13798 -- Added connection argument to the connection_created signal. ↵Russell Keith-Magee
Thanks to liangent for the report, and Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-24Fixed #14159 -- Corrected more potential uses of relative paths in tests. ↵Russell Keith-Magee
Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-21Fixed #13140 -- Ensure that request headers are preserved through redirect ↵Russell Keith-Magee
chains in the test client. Thanks to David Novakovic for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-21Fixed #14148 -- Ensure the admin_script tests always use an absolute path; ↵Russell Keith-Magee
PyPy (and sometimes CPython) return relative paths for __file__. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20Fixed #13895 -- Refactored aggregation_regress doctests. Thanks to Alex ↵Russell Keith-Magee
Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20Fixed #14068 -- Corrected error handling in loaddata when an allow_syncdb ↵Russell Keith-Magee
method is defined on the router. Thanks to Xavier Ordoquy for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14123 -- Made AdminDocs tests optional, based on the availability of ↵Russell Keith-Magee
docutils. Thanks to PaulM for the original report, and Łukasz Rekucki for narrowing down the cause. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14Added file missing from r13590.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14Fixed #5350 -- Added fallback to default 404/500 handlers when they're not ↵Russell Keith-Magee
explicitly specified (or imported) in a urls.py file. Thanks to Thomas Güttler for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14Fixed #13796 -- Ensure that builtin tags and filters are included in admin ↵Russell Keith-Magee
documentation views. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14Fixed #14002 -- Updated filesize filter to support terabyte and petabyte ↵Russell Keith-Magee
file sizes. Thanks to Aaron T. Myers for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14Fixed #13679, #13231, #7287 -- Ensured that models that have ↵Russell Keith-Magee
ForeignKeys/ManyToManyField can use a a callable default that returns a model instance/queryset. #13679 was a regression in behavior; the other two tickets are pleasant side effects. Thanks to 3point2 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07Fixed #13552 -- Added a 'using' parameter to database signals. Thanks to ↵Russell Keith-Magee
gmandx for the suggestion, and Andrew Godwin for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #8426 - added 'helptext' CSS class to help text in forms to aid in stylingLuke Plant
Thanks to erikcw for report, mrts and rpbarlow for patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@13519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #11159 -- Added mimetype detection to the test client for file ↵Russell Keith-Magee
uploads. Thanks to notanumber for the report and patch, and lomin for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #13615 -- Clarified test assertion text to avoid confusion when ↵Russell Keith-Magee
response content isn't a web page. Thanks to DaNmarner for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #13092 -- Added support for the "in" operator when dealing with ↵Russell Keith-Magee
context lists. Thanks to clelland for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Added __init__.py file that was left out of [13505].Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #13495 -- Refactored the localflavor test directory to provide the ↵Russell Keith-Magee
placeholder structure for other flavors. Thanks to chronos for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #14014 -- Ensure that the "save and add another" button for users ↵Russell Keith-Magee
actually does what it says. Thanks to Ramiro for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #14012 -- Corrected the handling of the create user popup dialog in ↵Russell Keith-Magee
the admin. Thanks to gk@lka.hu for the report, and Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #14027 -- Ensure that reverse() raises an exception when you try to ↵Russell Keith-Magee
reverse None. Thanks to Alex for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Fixed #13316 -- Modified the default behavior of PasswordInput to prevent ↵Russell Keith-Magee
reflecting passwords on form failure. Thanks to clouserw for the report. Although this changes nothing at a functional level, this is BACKWARDS INCOMPATIBLE from a UX perspective for anyone that wants passwords to be reflected to the user on form failure. See the 1.3 release notes for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06Corrected [13479], accounting for unnamed urls that are instances of classes.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05Fixed #13621 -- Corrected the handling of input formats on date/time form ↵Russell Keith-Magee
fields. Thanks to bufke for the report, zerok and jacmkno for their work on the patch, and Karen, Jannis and Alex for feedback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05Fixed #13732 -- Fixed minor typo in docstring. Thanks to schinckel for the ↵Russell Keith-Magee
report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05Fixed #13922 -- Updated resolve() to support namespaces. Thanks to Nowell ↵Russell Keith-Magee
Strite for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05Fixed #13613 -- Ensure that forms.URLField and forms.EmailField are used on ↵Russell Keith-Magee
a modelform. This ensures that fields are URL and Email fields are cleaned consistently when included on model forms. Thanks to amadison for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03Fixed #11377: the template join filter now correctly escapes the joiner, too.Jacob Kaplan-Moss
Thanks, Stephen Kelly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03Fixed #11376: added some extra tests for autoescaping subtleties.Jacob Kaplan-Moss
Thanks, Stephen Kelly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03Fixed #11288: added some tests for the handling of number-like variables in ↵Jacob Kaplan-Moss
templates. Thanks, Stephen Kelly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30Added a related_name to a test model to avoid a name clash in the full test ↵Russell Keith-Magee
suite. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30Fixed #13821 -- Added a double-quoting to the PostgreSQL sequence reset ↵Russell Keith-Magee
code. Thanks to PaulM for the report, and to PaulM and Simon Meers for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30Fixed #13941 -- Corrected the way sequence names are reset under Postgres, ↵Russell Keith-Magee
especially when generic foreign keys are involved. Thanks to Ales Zoulek for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23Fixed #13799, a test failure on Postgres. Thanks, Alex.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21Fixed #8901 -- Reapplied r13328 (with extra docs) now that we have a 1.3 ↵Russell Keith-Magee
development branch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-10Refs #8901 -- Reverted r13328 because the patch imposes a minimum version ↵Russell Keith-Magee
requirement of Postgres 8.0; we can't impose that on Django 1.2, so we need to wait until the 1.3 is branched before we can apply this change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-08Fixed #13716 - the CSRF get_token function stopped working for views with ↵Luke Plant
csrf_view_exempt This was a regression caused by the the CSRF changes in 1.2. Thanks to edevil for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13336 bcc190cf-cafb-0310-a4f2-bffc1f526a37