django1/tests/regressiontests
Joseph Kocherhans f48cf954f8 [1.1.X] Fixed #12070. Fixed a case where var._whatever wasn't raising a TemplateSyntaxError. Backport of r12539 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 18:53:42 +00:00
..
admin_changelist Fixed #10348: ChangeList no longer overwrites a select_related provided by `ModelAdmin.queryset()`. 2009-05-14 15:09:33 +00:00
admin_inlines [1.1.X] Fixed #12561. InlineAdmin now respects can_delete=False. Backport of [12533] from trunk. 2010-02-23 17:26:20 +00:00
admin_ordering Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_registration Fixed #10505: added support for bulk admin actions, including a globally-available "delete selected" action. See the documentation for details. 2009-03-23 20:22:56 +00:00
admin_scripts Fixed a few Python 2.3 incompatibilities that were causing test failures. 2009-05-29 05:23:50 +00:00
admin_validation [1.1.X] Moved the call to _get_foreign_key to run in all cases catching incorrect inline setup sooner. 2009-10-19 19:21:08 +00:00
admin_views [1.1.X] Fixed #12716 - Typo in the admin change list template. Thanks, kbrownlees. 2010-02-16 12:52:33 +00:00
admin_widgets Fixed #11532 -- Corrected the link used for edit_inline foreign keys in admin when the admin is deployed using the old style admin.root approach. Thanks to JP for the report. 2009-07-23 14:31:33 +00:00
aggregation_regress Fixed #10906 -- Added a check for PostgreSQL pre 8.2 when using StdDev/Variance aggregates. Thanks to Richard Davies for the report and patch. 2009-05-10 09:22:53 +00:00
app_loading [1.1.X] Corrected app_loading test so it does not generate a key error when TZ is not set in the environment (e.g., on Windows). 2010-02-03 18:12:35 +00:00
auth_backends Fixed #7304 -- Gave AnonymousUser a has_perms() method, which it was lacking 2008-07-22 03:05:40 +00:00
backends Fixed #10566: Added support for cx_Oracle compiled with the WITH_UNICODE flag. 2009-08-24 15:45:48 +00:00
bug639 Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file. Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for. Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times. 2009-04-05 20:59:20 +00:00
bug8245 Fixed #8245 -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover. 2008-12-23 18:25:24 +00:00
builtin_server Fixed #9659: fixed `wsgi.file_wrapper` in the builtin server. Thanks, mitsuhiko. 2009-05-07 15:39:06 +00:00
cache [1.1.X] Fixed #11483 -- Modified db cache backend to use db backend functions for date conversion, avoiding problems under Jython. Thanks to Leo Soto for the report and patch. 2010-02-11 13:12:38 +00:00
comment_tests Corrected tests from [10784]; instead of retrieving two comments, it was retrieving one comment twice. 2009-05-15 02:54:55 +00:00
conditional_processing Fixed #10681 -- Work around (by ignoring) invalid ETag headers. 2009-04-03 06:59:34 +00:00
context_processors [1.1.X] Fixed #12060 - equality tests between User and SimpleLazyObject-wrapped User failed. 2009-10-20 14:14:27 +00:00
custom_columns_regress Fixed #9736 -- Added quoting to the SQL constraint names generated during table creation. This is to accommodate primary keys with spaces. 2008-12-02 13:23:29 +00:00
custom_managers_regress Fixed #2698 -- Fixed deleting in the presence of custom managers. 2009-03-20 03:57:12 +00:00
datastructures [1.1.X] Fixed #12820. Implemented other dict methods for MergeDict. Backport of [12498] from trunk. 2010-02-23 00:08:03 +00:00
datatypes [1.1.X] Fixed #12059 - Let TimeField.to_python correctly return a datetime.time object when having a datetime object. 2010-01-17 22:09:33 +00:00
dateformat [1.1.X] Fixed #12127 -- Corrected teardown of dateformat tests. Thanks to apollo13 for the report, and Karen Tracey for the debugging help. 2009-11-02 08:27:00 +00:00
db_typecasts Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
decorators Fixed #9474: user_passes_test may now be applied multiple times. 2009-04-01 16:17:38 +00:00
defaultfilters [1.1.X] Fixed #11944 -- Improved exception handling for the filesizeformat filter. Thanks to rfk for the report and patch. 2010-02-13 14:44:07 +00:00
defer_regress [1.1.X] Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch. 2009-12-22 11:20:43 +00:00
delete_regress Fixed #9479 -- Corrected an edge case in bulk queryset deletion that could cause an infinite loop when using MySQL InnoDB. 2009-06-03 13:23:19 +00:00
dispatch [1.1.X] Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck. 2009-12-17 22:11:39 +00:00
expressions_regress Fixed #10161 -- Modified evaluation of query expressions to allow for operators that take the form of functions. This is mostly for the benefit of Oracle, but it should prove useful later on. Thanks to Ian for the report and feedback on the fix. 2009-02-24 11:15:31 +00:00
extra_regress Fixed #12855 -- QuerySets? with extra where parameters now combine correctly. Thanks, Alex Gaynor. 2010-02-23 05:59:04 +00:00
file_storage [1.1.X] Fixed #6054: work around PIL's installation brokeness by detecting either of the two ways it can end up being installed. 2010-02-14 18:33:01 +00:00
file_uploads Fixed #10687: fixed request parsing when upload_handlers is empty. Thanks, Armin Ronacher. 2009-05-08 17:22:34 +00:00
fixtures_regress [1.1.X] Fixed #12562: Made Platypus just a tad lighter so it does not trigger noticing version-dependent differences in Ptyhon string/float conversions. 2010-01-09 19:20:51 +00:00
forms [1.1.X] Fixed #11860. Changed NullBooleanSelect's _has_changed method to repect differences between None and False. Backport of [12523] from trunk. 2010-02-23 14:20:35 +00:00
formwizard Fixed #9473: FormWizard now works with NullBooleanFields. As a bonus, we now have the beginnings of a test suite for FormWizard. Thanks, Keith Bussell. 2009-04-01 14:13:43 +00:00
generic_inline_admin [1.1.X] Fixed #12561. InlineAdmin now respects can_delete=False. Backport of [12533] from trunk. 2010-02-23 17:26:20 +00:00
generic_relations_regress [1.1.X] Fixed #11535: Corrected SQL generated for queries involving generic relations and ORed Q objects. Thanks to brianglass for report, tobias for fix and test, and Alex for review. 2010-02-10 19:24:44 +00:00
get_or_create_regress Fixed #3121 -- Made `get_or_create()` work for `RelatedManager` and `ManyRelatedManager`. 2008-08-16 20:59:06 +00:00
httpwrappers [1.1.X] Fixed (what I hope is) the last Python 2.4 incompatibility, this one in the httpwrappers tests. 2010-02-15 02:18:15 +00:00
humanize Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
i18n [1.1.X] Fixed #7720 - Fallback to the base language if the sub language given in the language cookie doesn't exist. Thanks, djoume and Ramiro Morales. 2010-02-16 12:52:04 +00:00
initial_sql_regress Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
inline_formsets Fixed #10750: respect comment=False in inline formsets. Thanks, Koen Biermans. 2009-05-08 09:59:46 +00:00
introspection Fixed #11049: introspection on Oracle now identifies IntegerFields correctly. 2009-08-21 21:42:39 +00:00
localflavor [1.1.X] Fixed code duplication caused in [11859]. 2010-01-17 20:47:35 +00:00
m2m_regress Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case. 2009-06-15 11:47:01 +00:00
m2m_through_regress Fixed #11107 -- Corrected the generation of sequence reset SQL for m2m fields with an intermediate model. Thanks to J Clifford Dyer for the report and fix. 2009-07-11 14:22:52 +00:00
mail [1.1.X] Fixed #11144 -- When a to/from/cc header contains unicode, make sure the email addresses are parsed correctly (especially with regards to commas). Thanks to rmt for the patch. 2009-11-04 11:28:56 +00:00
makemessages [1.1.X] Fixed #4695 - Worked around a problem of xgettext ignoring some translation strings in JavaScript files. Thanks, Ramiro Morales. 2010-02-16 12:51:43 +00:00
managers_regress Fixed #7154 -- Inherit all model managers from abstract base classes. 2008-09-02 09:04:54 +00:00
many_to_one_regress Fixed #9649 -- Better error handling in model creation. 2009-03-06 04:51:05 +00:00
max_lengths Make sure that all uses of max_length in the test suite use values smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. 2009-05-07 18:06:22 +00:00
middleware The tests added in r9184 were altering the test environment in bad ways. Fixed 2008-10-08 08:36:41 +00:00
model_fields [1.1.X] Fixed #6054: work around PIL's installation brokeness by detecting either of the two ways it can end up being installed. 2010-02-14 18:33:01 +00:00
model_forms_regress [1.1.X] Fixed #12285. ModelForm raises a more informative error if it doesn't have a model class defined. Backport of [12526] from trunk. 2010-02-23 15:12:29 +00:00
model_formsets_regress [1.1.X] Fixed #11872 -- Instantiate the correct model in BaseInlineFormSet.__init__ when instance is None. Thanks tobias. 2009-10-30 09:12:52 +00:00
model_inheritance_regress Fixed #10406 -- Fixed some problems with model inheritance and pk fields. 2009-03-04 07:21:14 +00:00
model_inheritance_select_related Removed a stray debugging print that slipped in. 2008-06-29 09:40:48 +00:00
model_regress Fixed #10153: foreign key `gte` and `lte` lookups now work. Thanks, joelhooks and adurdin. 2009-05-07 16:12:08 +00:00
modeladmin [1.1.X] Fixed #12561. InlineAdmin now respects can_delete=False. Backport of [12533] from trunk. 2010-02-23 17:26:20 +00:00
null_fk Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch. 2009-06-29 12:29:48 +00:00
null_fk_ordering Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report. 2009-03-24 11:35:48 +00:00
null_queries Improved table join handling for comparisons against NULL. 2009-03-06 02:02:09 +00:00
one_to_one_regress Fixed #9023 -- Corrected a problem where cached attribute values would cause a delete to cascade to a related object even when the relationship had been set to None. Thanks to TheShark for the report and test case, and to juriejan and Jacob for their work on the patch. 2009-06-15 14:30:51 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries [1.1.X] Fixed #12242 -- Corrected a problem with masking extra selects() in a DateQuerySet. Thanks to Alex Gaynor for his help debugging this one. 2009-11-19 04:37:26 +00:00
requests Fixed #7494 -- Fixed build_absolute_url() for some types of (uncommon) URLs. 2008-08-23 17:28:12 +00:00
reverse_single_related Fixed #7904: added support for a "use_for_related_fields" property on managers. If True, the manager will be used for related object lookups instead of the "bare" QuerySet introduced bu [8107]. Patch from Justin Bronn. 2008-08-05 16:13:28 +00:00
select_related_regress Fixed #9926 -- Fixes for some select_related() situations. 2009-03-24 03:59:38 +00:00
serializers_regress Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch. 2009-06-29 12:29:48 +00:00
servers SECURITY ALERT: Corrected a problem with the Admin media handler that could lead to the exposure of system files. Thanks to Gary Wilson for the patch. 2009-07-29 02:40:14 +00:00
settings_tests [1.1.X] Fixed the tests I broke with [11825]. 2009-12-12 18:48:20 +00:00
string_lookup Changed "exact" matches in MySQL to use the database's native collation. 2008-08-12 07:52:33 +00:00
syndication Fixed #9957: feeds now respect time zone information provided by the pub date. 2009-04-07 21:20:14 +00:00
templates [1.1.X] Fixed #12070. Fixed a case where var._whatever wasn't raising a TemplateSyntaxError. Backport of r12539 from trunk. 2010-02-23 18:53:42 +00:00
test_client_regress [1.1.X] Fixed #11371: Made `django.test.Client.put()` work for non-form-data PUT (i.e. JSON, etc.). Thanks, phyfus. Backport of [11656] from trunk. 2009-10-26 15:04:32 +00:00
test_utils Made the test case for doctest comparison of XML fragments a little more rigorous. Refs #7441. 2008-07-20 08:47:10 +00:00
text Fixed #9315 -- Handle spaces in URL tag arguments. 2009-04-10 04:13:27 +00:00
urlpatterns_reverse [1.1.X] Fixed #5034 -- honor request.urlconf in reverse and resolve. 2009-11-16 01:59:54 +00:00
utils [1.1.X] Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. 2010-02-13 14:06:13 +00:00
views [1.1.X] Fixed #3594 - Added ability to discard the language catalog in the JavaScript i18n view in case the selected language is English but no English translation catalog actual exists, e.g. due to being the language translated from. Thanks to msaelices, aryx and Ramiro Morales. 2010-02-05 01:54:22 +00:00
__init__.py Added regressions tests to ensure that one-to-one and many-to-many fields 2006-06-20 05:29:19 +00:00