django/tests/regressiontests
Russell Keith-Magee 70f9a4f6ce Fixed #12190 -- Corrected a regression in the ability to instantiate ForeignKeys outside of models. Thanks to jittat for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-10 15:21:12 +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 Fixed #9362 -- Prevented inline forms from overwriting the content_type_id attribute on objets being inlined. Thanks to carljm for the report and patch. 2009-05-03 13:38:36 +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 Moved the call to _get_foreign_key to run in all cases catching incorrect inline setup sooner. 2009-10-19 19:17:20 +00:00
admin_views Fixed #11057: having no actions in the admin (`actions=None`) no longer messes up the layout. Thanks, rvdrijst. 2009-10-27 20:56:12 +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 Fixed #10526 -- More fixes when specifying installed apps using "foo.*". 2009-03-18 00:59:40 +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 Fixed #12057 -- Corrected regression of caching performance when a model contained a callable default. Thanks to Michael Thornhill for the excellent assistance tracking this problem. 2009-10-29 14:32:01 +00:00
comment_tests Fixed a couple of test-ordering-dependant failures introduced in [11639] that caused test failures when running the whole test suite. 2009-10-24 00:23:47 +00:00
conditional_processing Fixed #10681 -- Work around (by ignoring) invalid ETag headers. 2009-04-03 06:59:34 +00:00
context_processors Fixed #12060 - equality tests between User and SimpleLazyObject-wrapped User failed. 2009-10-20 14:11:08 +00:00
csrf_tests Moved contrib.csrf.* to core code. 2009-10-27 00:36:34 +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 Fixed #8847, #10370: added some missing methods to MultiValueDict after [8399]. Thanks, James Turk and rfk. 2009-03-31 06:30:07 +00:00
datatypes Fixed #10238: coerce TextField values to unicode in the oracle backend. 2009-03-13 19:57:00 +00:00
dateformat Fixed #12127 -- Corrected teardown of dateformat tests. Thanks to apollo13 for the report, and Karen Tracey for the debugging help. 2009-11-02 08:26:03 +00:00
datetime_safe Added missing files form [7946] 2008-07-18 17:39:31 +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 Added 'key_prefix' keyword argument to cache_page() 2009-09-28 21:54:54 +00:00
defaultfilters Fixed #10675 -- Added unicode paragraph and line-sep handling to escapejs. 2009-04-12 04:55:41 +00:00
defer_regress Fixed #10733 -- Added a regression test for queries with multiple references to multiple foreign keys in only() clauses. Thanks to mrts for the report. 2009-06-06 12:16:06 +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 Fixed #10753 -- Fixed regression in dispatcher after [10398]. Thanks for the patch and tests, minmax 2009-04-10 18:58:32 +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 #10847 -- Modified handling of extra() to use a masking strategy, rather than last-minute trimming. Thanks to Tai Lee for the report, and Alex Gaynor for his work on the patch. 2009-04-30 15:40:09 +00:00
file_storage Fixed a few Python 2.3 incompatibilities that were causing test failures. 2009-05-29 05:23:50 +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 Fixed #11428 -- Ensured that SQL generating commands and dumpdata don't include proxy models in their output. Thanks to Anssi Kaariainen for the report. 2009-07-27 14:32:30 +00:00
forms SECURITY ALERT: Corrected regular expressions for URL and email fields. 2009-10-09 20:57:59 +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 Fixed the tests from [9438] to work consistantly across databases. In particular, it was failing on newer versions of PostgreSQL after [10586]. 2009-04-22 22:38:14 +00:00
generic_relations_regress Fixed #9546: GenericRelations inherited from base models no longer query using the wrong content type. 2009-04-03 19:52:14 +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 Fixed #10188: prevent newlines in HTTP headers. Thanks, bthomas. 2009-05-08 11:15:23 +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 Tweaked an i18n test that is a bit sensitive to Python versions. It returns 2008-03-17 16:03:46 +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
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 #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +00:00
mail 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:24:56 +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 #12190 -- Corrected a regression in the ability to instantiate ForeignKeys outside of models. Thanks to jittat for the report. 2009-11-10 15:21:12 +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 Added test for pickling of a model with an `ImageField`, refs #11103. 2009-05-29 04:06:09 +00:00
model_forms_regress Fixed #11149 -- Don't call save_form_data on file-type fields multiple times when saving a model form. 2009-05-19 23:13:33 +00:00
model_formsets_regress Fixed #11872 -- Instantiate the correct model in BaseInlineFormSet.__init__ when instance is None. Thanks tobias. 2009-10-30 09:11:56 +00:00
model_inheritance_regress Fixed #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +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 Fixed #10208: `ModelAdmin` now respects the `exclude` and `field` atributes of custom `ModelForm`s. Thanks, Alex Gaynor. 2009-04-22 15:48:51 +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 Fixed an assumed ordering in the queries regression tests by making it explicit. 2009-08-20 16:05:25 +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 #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +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
signals_regress Fixed #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +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 Fixed #11833: name conflict in filter test. 2009-09-10 16:35:23 +00:00
test_client_regress Fixed #11371: Made `django.test.Client.put()` work for non-form-data PUT (i.e. JSON, etc.). Thanks, phyfus. 2009-10-26 15:02:54 +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 Fixed #10061 -- Added namespacing for named URLs - most importantly, for the admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch. 2009-07-16 16:16:13 +00:00
utils Fixed #12127 -- Corrected teardown of dateformat tests. Thanks to apollo13 for the report, and Karen Tracey for the debugging help. 2009-11-02 08:26:03 +00:00
views Fixed #12125 -- Fixed a typo in the generic views date_based test that caused it to fail in November. Thanks brutasse. 2009-11-01 22:12:40 +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