summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-05-16Fixed #13547 -- Made sure the ISO 8601 date formatting introduced in r12058 ↵Jannis Leidel
uses "T" as the separator between the date and the time value to increase real world usefulness. While the ISO standard permits the use of a space instead of "T" for readability, it does have an impact on standards like HTML5 which rely on specific rules made in RFC 3339. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-13Fixed #13514 -- Corrected the process of loading multiple javascript ↵Russell Keith-Magee
translation catalogs. Thanks to jtiai for the report, to Ramiro Morales for working out the test case, and to Ramiro and Jannis for their help on the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13524 -- Added backwards compatibility and feature notes regarding ↵Russell Keith-Magee
admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11Fixed #13513 -- Ensured that queries collecting deleted objects are issued ↵Russell Keith-Magee
on the right database, especially when dealing with m2m intermediate tables. Thanks to gavoja for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #13509 -- Modified the comment tests so that signal cleanup doesn't ↵Russell Keith-Magee
rely on garbage collection. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13469 -- Cleaned up the test case from r13085, and added some cache ↵Russell Keith-Magee
cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and ↵Russell Keith-Magee
workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13464 -- Reworked module_has_submodule to break the requirement for ↵Russell Keith-Magee
loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13166 - Added JavaScript warnings to admin changelist to help against ↵Jannis Leidel
ambiguity between action and list_editable form submission. Thanks to blinkylights and aaugustin for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13388 - Refined changes made in r12384 in the JavaScript i18n admin view.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30Fixed #12851 -- Another attempt at fixing select_related() with inherited ↵Russell Keith-Magee
models, this time with only(). Thanks to phxx for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30Fixed #12851 -- Corrected the loading of values when select_related() is ↵Russell Keith-Magee
used on inherited models. Thanks to phxx for the report and test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed a bug preventing cursor variables from being passed as bind parameters ↵Ian Kelly
in the oracle backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed #12986 -- Ensured that SelectDateField repopulates correctly when ↵Russell Keith-Magee
USE_L10N=True and locale has a default date input format other than %Y-%m-%d. Thanks to wim@go2people.nl for the report, and walteralini for his draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed #13432 -- Corrected the logic for router use on OneToOne fields; also ↵Russell Keith-Magee
added a bunch of tests for OneToOneField queries. Thanks to piquadrat for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-27Removed an import that is no longer needed after r13033.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-27Fixed #12749 -- Corrected a problem with validation of inline primary keys. ↵Russell Keith-Magee
Thanks to Chris.Wesseling@cwi.nl for the report, and nessita for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-27Reverted r13021 -- Trunk no longer supports Python 2.3, so the special case ↵Russell Keith-Magee
isn't required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-27Fixed #13407 -- Corrected verbose names for autogenerated m2m models, and ↵Russell Keith-Magee
cleaned up the default form prefix when an autogenerated m2m through model is used in a formset. Thanks to carljm for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-24Fixed #13362 -- Disabled the test for bug #8245 under Python 2.3 due to ↵Russell Keith-Magee
differences in exception handling. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-23Fixed #11764 -- Added a missing set of parentheses in a call calculating the ↵Russell Keith-Magee
select_related tables. Thanks to aurelio for the report and original patch, and wogan for the updated patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Fixed #13396 -- Modified the SQLite introspection code to avoid a problem ↵Russell Keith-Magee
with unconsumed cursors on PyPy. Thanks to Alex Gaynor for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Fixed the model_forms doctests to not depend on writer PKs, which are ↵Karen Tracey
db-dependent after r12797. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Tweak the last two tests from r13013 to test what they are intended to test ↵Karen Tracey
instead of repeating 3rd to last test. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Fixed #13328 -- Ensured that querysets on models with callable defaults can ↵Russell Keith-Magee
be pickled. No, really this time. Thanks to Alex for his help brainstorming the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Fixed #13389 -- Ensured that the app_loading test clears out the app cache ↵Russell Keith-Magee
at the end of each test, so that it doesn't interact badly with flush and other introspected database commands. Thanks to Karen for the report, and Ramiro Morales for the debugging hints. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21Fixed #13374 -- Modified a test so that it can pass under PyPy. This is a ↵Russell Keith-Magee
reimplementation of part of r12998, reverted in r13008. Thanks to Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20Revert part of r12998 that prevents the forms doctests in tests.py from running.Karen Tracey
Adjust the fr.py localflavor tests to account for r13007. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20Fixed #13366 -- Corrected the field __setstate__ method to avoid a race ↵Russell Keith-Magee
condition when initially importing models. Thanks to Brett Hoerner for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20Fixed #13382 -- Modified a message used for testing purposes to allow test ↵Russell Keith-Magee
passes under PyPy. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #13373 -- Ensured that {% if %} statements will short circuit template ↵Russell Keith-Magee
logic and not evaluate clauses that don't require evaluation. Thanks to Jerry Stratton for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #13370 -- Corrected the handling of pickling for lazy() proxy objects. ↵Russell Keith-Magee
Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #13374 -- Corrected some more minor issues causing problems for PyPy. ↵Russell Keith-Magee
Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #13361 - Made sure jQuery is always included in the admin changelist ↵Jannis Leidel
and changeform. Thanks to Carl Meyer for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-16Fixed #13358 -- Ensured that db_manager() can be used to override database ↵Russell Keith-Magee
routing on M2M, reverse FK and generic key queries. Thanks to Craig Kimerer for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-16Fixed #13357 -- Minor changes to get Django running under PyPy. Thanks to ↵Russell Keith-Magee
Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Add file mistakenly left out of r12986. Refs #13334.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13334: Restored ability to load template tags from eggs. Again thanks ↵Karen Tracey
Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule, and Russ for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13353: Corrected a couple of tests that were dependent on dictionary ↵Karen Tracey
ordering. Thanks Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13348: Restored ability to load models from apps in eggs. Thanks ↵Karen Tracey
Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed a test failure under Postgres caused by primary key sequence allocation.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13328 -- Added a __getstate__/__setstate__ pair to fields so that ↵Russell Keith-Magee
callable default values aren't pickled. Thanks to bkonkle for the report, and Vitaly Babiy for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13352 -- Added __repr__ method for Validation Error. Thanks to ↵Russell Keith-Magee
elpaso66 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed Python 2.4 incompatibility introduced in r12972.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed #13335: Adjusted the r12950 fix to properly handle import errors ↵Karen Tracey
resulting from nested calls to load_app. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed #13345: Don't attempt to load the locale regressiontests subdirectory ↵Karen Tracey
as a Django app. Thanks ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #13227 -- Ensure that the query cache is flushed when a QuerySet is ↵Russell Keith-Magee
deepcopied, avoiding problems when an evaluated queryset is used as a subquery. Thanks to claudep for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12903 - Made translating the admin action selection text easier. ↵Jannis Leidel
Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #13229 -- Corrected a test failure caused by the change in Finnish ↵Russell Keith-Magee
municipalities from r12958. Thanks to Karen for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #11957 -- exceptions in admin.py are no longer hidden after second requestBrian Rosner
Before you had to restart runserver for the correct exception message to show up again. Reverts fix in r9680 which has this side-affect. Thanks to jarrow, carljm and ramiro for their work on the patch and tickets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12956 bcc190cf-cafb-0310-a4f2-bffc1f526a37