django1/tests/regressiontests
Brian Rosner f751d5b713 Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now).
This case pops up with generic foreign key inlines after [9297]. Added tests
to handle future regressions with generic foreign key inlines in the admin.

Thanks markus and danielr for patches.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:03:44 +00:00
..
admin_ordering Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_registration Improved admin model registration options: you can now register using register(Model, **options) and even register(Model, ModelAdmin, **options). This isn't documented yet -- a much expanded version of docs/admin.txt is on the way. 2008-07-23 18:58:06 +00:00
admin_scripts Fixed #9293: Corrected expected test output for the admin_scripts tests, following the changes to --verbosity in 9110. Thanks to Alex for the report. 2008-10-04 01:16:30 +00:00
admin_validation Fixed #8027: correctly validate fields/fieldsets in `ModelAdmin` validation when using custom `ModelForm`s. 2008-08-28 15:43:04 +00:00
admin_views Fixed #8910 -- Added force_unicode during admin log message creation to avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg. 2008-11-10 17:13:41 +00:00
admin_widgets Fixed #8787 -- Fixed failing admin_widgets tests. This fixes ManyToManyRawIdWidget which was broken with [8823]. Thanks Alex Gaynor. 2008-09-02 06:10:14 +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 #5461 -- Refactored the database backend code to use classes for the creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. 2008-08-11 12:11:25 +00:00
bug639 Updated a few save() methods on models to accept force_insert and force_update 2008-08-28 19:28:17 +00:00
cache More be-nice-to-the-buildbot: be better about cleaning up files created by the cache/session tests. 2008-10-10 21:41:12 +00:00
comment_tests Add internationalisation support to the comment templates. Fixed #8868, #8905 2008-10-05 05:09:21 +00:00
context_processors Fixed #8092, #3828 -- Removed dictionary access for request objects so that GET and POST data doesn't "overwrite" request attributes when used in templates (since dictionary lookup is performed before attribute lookup). This is backwards-incompatible if you were using the request object for dictionary access to the combined GET and POST data, but you should use `request.REQUEST` for that instead. 2008-08-03 19:55:26 +00:00
datastructures Fixed #7496 -- It's now possible to pickle SortedDicts with pickle protocol 2 2008-08-25 04:00:15 +00:00
datatypes Fixed #8354: the MySQL backend no longer raises a cryptic error. Instead, it raises a less-cryptic error. Obiously this isn't a perfect solution by any means, but it'll do until we can revisit timezone handling in the future. 2008-09-01 17:48:39 +00:00
dateformat Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 2007-11-29 19:39:46 +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 Fixed a missing __init__.py from [7153] 2008-02-26 20:23:10 +00:00
defaultfilters Fixed #5748 -- Made floatformat filter round properly on all platforms and handle NaN input correctly on Windows. Also added tests for these cases. Thanks for the report and initial patch to SmileyChris and PJCrosier. 2008-11-08 01:44:46 +00:00
dispatch Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
extra_regress Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
file_storage Yet more file storage testing cleanup for the sake of buildbots; this should be the last of it, I hope. 2008-10-10 22:13:16 +00:00
file_uploads Fixed #8622: accessing POST after a POST handling exception no longer throws the server into an infinite loop. Thanks to vung for tracking this one down and fixing it. 2008-08-30 19:56:14 +00:00
fixtures_regress Added new fixture file accidentally left out of [9357]. 2008-11-06 11:21:06 +00:00
forms Add tests mistakenly left out of r9397. 2008-11-10 20:01:51 +00:00
generic_inline_admin Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now). 2008-11-13 19:03: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 Fixed #8278: fixed `QueryDict.update(QueryDict)`. Thanks, julien. 2008-08-29 16:49:19 +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 #9171 -- Fixed a few places where we were assuming lists instead of 2008-09-27 05:57:10 +00:00
m2m_regress [8721] introduced some internal field names. We hide them from the list of 2008-08-30 04:52:56 +00:00
m2m_through_regress Added a test to show that [8472] also fixed #8254. 2008-08-24 17:54:51 +00:00
mail Fixed #9383 -- Don't open a network connection for sending email if there's 2008-10-24 04:38: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 Added a test from kcarnold to show that #7498 is fixed. Refs #7498. 2008-08-27 05:44:26 +00:00
max_lengths Removed several deprecated features for 1.0 (refs #7830): 2008-08-02 04:56:11 +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 #5079 -- Avoid converting Decimals to floats during save to the database. 2008-11-12 00:35:24 +00:00
model_forms_regress Fixed #9319 -- Fixed a crash when using the same model field in multiple 2008-10-08 10:09:44 +00:00
model_inheritance_regress Fixed #9406 -- Ensure that each database column is only represented once in the 2008-10-24 06:09:47 +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 #8316 -- Put tighter restrictions on the type of Foreign Key fields 2008-09-01 00:49:03 +00:00
modeladmin Fixed #9171 -- Fixed a few places where we were assuming lists instead of 2008-09-27 05:57:10 +00:00
null_fk Fixed #7530, #7716 -- When using select_related() and encountering a NULL 2008-07-27 01:18:23 +00:00
null_fk_ordering Fixed #7512 -- Fixed an oversight when I first fixed ordering on nullable 2008-09-01 02:43:55 +00:00
null_queries Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
one_to_one_regress Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also: 2008-08-01 23:16:59 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries Fixed #9411 -- Changed the test from r9081 to be more robust across different database backends. 2008-10-24 06:24:04 +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 #8036 -- Fixed a case when attempting to traverse non-existent related 2008-08-26 20:44:20 +00:00
serializers_regress Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way. 2008-09-01 22:15:35 +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 Added a test to ensure that strings in RSS are properly escaped. Refs #6533. 2008-08-27 19:52:27 +00:00
templates Fixed #8966 -- Changed is_safe for length_is filter to False, since its return value is a boolean, not a string. 2008-10-28 19:00:49 +00:00
test_client_regress Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion. 2008-11-12 11:22:05 +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 #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
urlpatterns_reverse Fixed another case of reverse URL resolving that wasn't working. 2008-09-30 05:52:35 +00:00
utils Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-aware 2008-08-26 08:08:55 +00:00
views Fixed #7602 -- Corrected lookup keyword arguments in archive_month and archive_week to properly range when date_field is from DateField. Thanks nullie for the original patch and Colin Grady for the test coverage. 2008-08-23 04:46:33 +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