django1/tests/regressiontests
Adrian Holovaty 1461a76fdd Added tests that I neglected to check in for #8049 in [12159]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 17:21:52 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
admin_util Fixed #12455 -- corrected an oversight in result_headers not honoring admin_order_field 2010-01-10 03:36:59 +00:00
admin_validation Fixed #342 -- added readonly_fields to ModelAdmin. Thanks Alex Gaynor for bootstrapping the patch. 2009-12-22 18:29:00 +00:00
admin_views Fixed #8049 -- Fixed inconsistency in admin site is_active checks. Thanks for patch and tests, isagalaev 2010-01-10 16:51:13 +00:00
admin_widgets Fixed #12444 - Date based widgets now correctly handle input values when using locale-aware formatting. Also fixes #7656. 2009-12-30 22:11:48 +00:00
aggregation_regress Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
app_loading Fixed #10526 -- More fixes when specifying installed apps using "foo.*". 2009-03-18 00:59:40 +00:00
backends Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
bash_completion Refs #11109 -- Touched some whitespace so Trac will display some files correctly. 2009-12-02 00:30:00 +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 #10285 - Added render_comment_list template tag to comments app. Thanks Kyle Fuller for the patch. 2010-01-04 02:29:12 +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 Fixed #12053 - form examples don't validate according to w3c 2010-01-04 21:55:52 +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 #12476 -- Forced the rollout of generators passed to SortedDict so that the data source can be read twice. Thanks to gsf for the report, and Alex for the patch. 2010-01-03 06:54:56 +00:00
datatypes Fixed #12059 - Let TimeField.to_python correctly return a datetime.time object when having a datetime object. 2010-01-09 20:02:41 +00:00
dateformat Fixed #7262 - Added ISO 8601 and microsecond format string to utils.dateformat. Thanks zegor. 2010-01-01 21:39:26 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
delete_regress Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
dispatch Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck. 2009-12-17 22:06:41 +00:00
expressions_regress Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
extra_regress Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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 #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:17:35 +00:00
forms Removed unneeded import, thanks Alex Gaynor. 2010-01-09 22:51:21 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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 Changed an i18n test to use a number that converts consistely from string to float on Pythons up to 2.7. 2010-01-09 20:57:32 +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 Merged soc2009/model-validation to trunk. Thanks, Honza! 2010-01-05 03:56:19 +00:00
introspection Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
localflavor Fixed code duplication caused in [11857]. 2010-01-01 21:35:47 +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 Modified the way EMAIL_BACKEND is specified to make it consistent with the new "use the class name" policy for backends. 2010-01-04 12:05:04 +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 Fixed #10015 -- PostgreSQL 8.3+ no longer barfs when passing an integer as a filter() value for a CharField or TextField. Thanks, carljm 2010-01-09 22:05:10 +00:00
model_forms_regress Fixed #12215: Added len to ModelChoiceIterator. Thanks Alex and Tobias. 2009-12-13 17:46:52 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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
multiple_database Fixed #1142 -- Added multiple database support. 2009-12-22 15:18: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 #7235 -- EmptyQuerySet no longer raises and exception when it's filter()ed (along with some other QuerySet methods). Thanks, taylormarshall 2010-01-09 21:27:39 +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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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 Fixed the tests I broke with [11824]. 2009-12-12 18:45:43 +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
special_headers Added tests that I neglected to check in for #8049 in [12159] 2010-01-10 17:21:52 +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 #6262 -- Added a cached template loader, and modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch. 2009-12-14 12:08:23 +00:00
test_client_regress Fixed #6262 -- Added a cached template loader, and modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch. 2009-12-14 12:08:23 +00:00
test_runner Corrected the tests for DjangoTestRunner so they pass under Postgres. 2009-12-22 06:00:57 +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 #10326: handler500 and handler404 may now be callables. Thanks, dcwatson, adurdin. 2009-12-13 20:29:04 +00:00
utils Fixed #12506 - 'lazy' fails when there are multiple expected classes with the same method 2010-01-05 12:06:45 +00:00
views Merged soc2009/model-validation to trunk. Thanks, Honza! 2010-01-05 03:56:19 +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