django/tests/regressiontests
Karen Tracey a9931e5655 [1.0.X] Fixed the test added for #9005 to use the e.args[0] instead of e.message. Exceptions didn't have 'message' before Python 2.5, and it was deprecated as of Python 2.6. args[0] works without error or DeprecationWarning from Python 2.3 through 2.6.
r10394 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 19:48:26 +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 #8268: Modified admin scripts tests to use JYTHONPATH when appropriate. Thanks to leosoto for the patch. 2008-08-16 02:29:10 +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 [1.0.X] Fixed #9969: choices with options groups (added in [7977]) now work correctly in the admin with list_display and list_filter. Thanks, ramiro. Backport of r10318 from trunk; thanks, cramm. 2009-04-01 21:17:54 +00:00
admin_widgets [1.0.X] Fixed #9258 -- Use _default_manager in ForeignKeyRawIdWidget.label_for_value. Thanks nullie for the patch. 2008-11-15 02:21:32 +00:00
app_loading Fixed #10526 -- More fixes when specifying installed apps using "foo.*". 2009-03-18 01:08:34 +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 [1.0.X] Fixed #5543: callproc() and friends now work with Oracle and our FormatStylePlaceholderCursor. 2009-01-16 22:24:45 +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
bug8245 [1.0.X] 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:28:22 +00:00
cache [1.0.X] Fixed #10016: the cache middleware no longer vomits when handed long URLs. Thanks, Matt Croydon. Backport of r10335 from trunk. 2009-04-01 18:20:53 +00:00
comment_tests [1.0.X] Add internationalisation support to the comment templates. Fixed #8868, #8905 2008-10-05 05:20:00 +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
custom_columns_regress [1.0.X] 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:34:00 +00:00
custom_managers_regress [1.0.X] Fixed #2698 -- Fixed deleting in the presence of custom managers. 2009-03-20 22:14:31 +00:00
datastructures [1.0.X] Fixed #8847, #10370: added some missing methods to MultiValueDict after [8399]. Thanks, James Turk and rfk. Backport of r10241 from trunk. 2009-03-31 22:02:37 +00:00
datatypes [1.0.X] Fixed #10238: coerce TextField values to unicode in the oracle backend. Backport of [10049] from trunk. 2009-03-13 19:58:56 +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 [1.0.X] Fixed #9474: user_passes_test may now be applied multiple times. Backport of r10328 from trunk. 2009-04-01 16:18:25 +00:00
defaultfilters [1.0.X] Fixed #10513: floatformat now works with floatish things, not just real floats. Thanks, Alex. Backport of [10278] from trunk. 2009-03-31 22:04:15 +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 [1.0.X] Fixed #10256 -- Corrected the interaction of extra(select=) with values() and values_list() where an explicit list of columns is requested. 2009-02-22 11:18:19 +00:00
file_storage [1.0.x] Fixed #9508 -- Added an appropriate FileField.__hash__ implementation. 2009-03-08 10:01:59 +00:00
file_uploads [1.0.X] Fixed #10254: Changed the regex in get_valid_filename to allow unicode alphanumerics (thanks gulliver). Also updated the file_uploads test for this case to check the name after saving the uploaded file. As it was the test ensured that files with unicode characters in their names could be uploaded, but it wasn't actually ensuring that the unicode characters were preserved through save. 2009-04-04 17:42:43 +00:00
fixtures_regress [1.0.X] Fixed #9942 -- Added a to_python handler for FloatField to ensure correct typing of deserialized data before saving. Underlying problem is analogous to #8298, fixed in [8515]. Thanks to David Larlet <larlet@gmail.com> for the report and fix. 2009-01-03 04:59:05 +00:00
forms [1.0.X] Fixed #10149. FileFields? in a form now validate max_length. Based on a patch by Massimo Scamarcia. Backport of r10227 from trunk. 2009-03-30 22:56:05 +00:00
formwizard [1.0.X] Fixed #9473: FormWizard now works with NullBooleanFields. As a bonus, we now have the beginnings of a test suite for FormWizard. Thanks, Keith Bussell. Backport of r10316 and r10319 from trunk. 2009-04-01 15:07:31 +00:00
generic_inline_admin [1.0.X] Fixed #10522: accept tuples in `generic_inlineformset_factor(exclude)`. Thanks, mk. Backport of r10375 from trunk. 2009-04-03 20:04:39 +00:00
generic_relations_regress [1.0.X] Fixed #9546: GenericRelations inherited from base models no longer query using the wrong content type. Backport of r10373 from trunk. 2009-04-03 19:56:30 +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.0.X] Fixed #10184: QueryDicts with multiple values can now be safely pickled. Thanks, Alex Gaynor. 2009-03-31 19:34:08 +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 [1.0.X] Replace test use of assertTrue with failUnless. No matter how many times we try, Python 2.3 still doesn't recognize assertTrue. 2009-04-04 17:54:35 +00:00
introspection [1.0.X] Fixed up the tests added for #9779 to run under Python 2.3, which doesn't have set. 2009-04-04 19:12:52 +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 [1.0.X] Fixed #9214: EmailMessage now respects the From header instead of blindly using from_email. Thanks, Tai Lee. 2009-02-24 17:02:03 +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 [1.0.X] Fixed #9649 -- Better error handling in model creation. 2009-03-06 04:53:33 +00:00
max_lengths Removed several deprecated features for 1.0 (refs #7830): 2008-08-02 04:56:11 +00:00
middleware [1.0.X] The tests added in r9185 were altering the test environment in bad 2008-10-08 08:42:39 +00:00
model_fields [1.0.X] Fixed #5903 -- DecimalField.get_default() now correctly returns a Decimal object when the model instance was not retrieved from the database. Thanks Justin Driscoll and pigletto. 2009-02-11 20:14:24 +00:00
model_forms_regress [1.0.X] Fixed #9319 -- Fixed a crash when using the same model field in multiple 2008-10-08 10:11:02 +00:00
model_inheritance_regress [1.0.X] Fixed #10406 -- Fixed some problems with model inheritance and pk fields. 2009-03-04 07:24:30 +00:00
model_inheritance_select_related Removed a stray debugging print that slipped in. 2008-06-29 09:40:48 +00:00
model_regress [1.0.X] Backport of [10024] from trunk. Refs #10443: Added Oracle to the #10443 regression test exemption, since we don't yet support it. 2009-03-10 22:50:37 +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 [1.0.X] Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report. 2009-03-24 11:50:08 +00:00
null_queries [1.0.X] Improved table join handling for comparisons against NULL. 2009-03-06 02:09:59 +00:00
one_to_one_regress [1.0.X] Improved table join handling for comparisons against NULL. 2009-03-06 02:09:59 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries [1.0.X] Fixed #9926 -- Fixes for some select_related() situations. 2009-03-24 05:54:35 +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 [1.0.X] Fixed #9926 -- Fixes for some select_related() situations. 2009-03-24 05:54:35 +00:00
serializers_regress [1.0.X] Corrected code in serializers_regress testcase so that, in the case where an exception has been raised, rollback is called before attempting to leave transaction management. With the old code the original exception (IntegrityError on InnoDB) was getting hidden by a transaction management error resulting from attempting to leave transaction management with a pending commit/rollback. 2009-01-18 22:09:56 +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 [1.0.X] Fixed the test added for #9005 to use the e.args[0] instead of e.message. Exceptions didn't have 'message' before Python 2.5, and it was deprecated as of Python 2.6. args[0] works without error or DeprecationWarning from Python 2.3 through 2.6. 2009-04-04 19:48:26 +00:00
test_client_regress [1.0.X]: Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield. 2009-03-31 16:09:22 +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 [1.0.X] Fixed another case of reverse URL resolving that wasn't working. 2008-09-30 05:57:13 +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