django/tests/regressiontests
Jacob Kaplan-Moss 8be1bb2268 Fixed #11625: added comment moderation via admin actions.
This is BACKWARDS INCOMPATIBLE if you were using the completely undocumented moderation view from 1.1. That view's been removed in favor of the admin actions.

Thanks, Thejaswi Puthraya.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-23 19:22:31 +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 #11820 -- Corrected the spelling of Grace Hopper's name in a test. Thanks to shields@msrl.com for the report, and apologies to Admiral Hopper for the error. 2009-09-13 04:32:55 +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 #10016: the cache middleware no longer vomits when handed long URLs. Thanks, Matt Croydon. 2009-04-01 18:19:32 +00:00
comment_tests Fixed #11625: added comment moderation via admin actions. 2009-10-23 19:22:31 +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
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 #10825: fixed the 'U' format code to dateformat (and the date/now filter/tag). Thanks to gsong and mir. 2009-05-08 13:39:37 +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 #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 Fixed #11546 -- Modified the mail regression test to avoid getting hung up on 32/64 bit differences. Thanks to Richard Davies for the report. 2009-07-25 05:14:46 +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 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 Modified a test from r10787 so that the comparison order is reliable. Thanks to Alex Gaynor and Tom Tobin for the report via IRC. 2009-05-20 00:19:13 +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 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 #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
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 #10571 -- Ensured that unicode POST data is correctly encoded by the test client. Thanks to Rick Wagner for his help identifying and fixing this problem. 2009-04-11 09:20:10 +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 #12060 - equality tests between User and SimpleLazyObject-wrapped User failed. 2009-10-20 14:11:08 +00:00
views Fixed #10458 -- Corrected the `next_month` and `previous_month` context variables provided with the generic month_archive view. The value returned now matches the docstring and the generic views documentation. Thanks to fperetti for the report and initial patch. 2009-04-13 13:23:03 +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