1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00
django/tests/regressiontests
Brian Rosner 65be56816f Fixed #5780 -- Adjusted the ModelAdmin API to allow the created/updated objects
to be passed to the formsets prior to validation.

This is a backward incompatible change for anyone overridding save_add or
save_change. They have been removed in favor of more granular methods
introduced in [8266] and the new response_add and response_change nethods.
save_model has been renamed to save_form due to its slightly changed behavior.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 20:52:40 +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 #8047: property detect an external database backend and set sys.path accordingly. Patch from Leo Soto. 2008-08-08 18:48:18 +00:00
admin_views Fixed #5780 -- Adjusted the ModelAdmin API to allow the created/updated objects 2008-08-09 20:52:40 +00:00
admin_widgets Use a FileField instead of an ImageField in the admin_widgets test so that folks without PIL can still run the tests. 2008-08-08 23:06:28 +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 #6254: Made fetchone() in the oracle backend correctly convert 2008-01-04 22:51:22 +00:00
bug639 File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features. 2008-08-08 20:59:02 +00:00
cache Fixed #7919 -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available. Patch from Karen Tracey. 2008-08-02 05:56:57 +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 #2070: refactored Django's file upload capabilities. 2008-07-01 15:10:51 +00:00
datatypes Fixed #3689, #5223 -- Fixed "1st of January" comparisons for SQLite without breaking the other backends. 2008-02-23 08:36:41 +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 #7718 -- Added a naive implementation of sorted() for Python 2.3 compatibility, and modified test cases to import the function when required. 2008-07-13 08:48:18 +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 a test case using extra sql that didnt fit Oracle syntax. 2008-07-03 19:02:43 +00:00
file_storage Fixed #8187: made PIL imports consistant. Thanks, bastih. 2008-08-09 14:18:09 +00:00
file_uploads File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features. 2008-08-08 20:59:02 +00:00
fixtures_regress Fixed #7572 -- Force the closure of the database connection at the end of fixture loading as a workaround for MySQL bug #37735. Thanks to Simon Litchfield for his help in narrowing down this issue. 2008-06-30 12:18:29 +00:00
forms Fixed #7920 -- Made tests compatible with Python 2.6's Decimal repr change, patch from Karen Tracey. 2008-08-02 04:48:14 +00:00
httpwrappers Fixed a Python 2.3 problem from [6927]. 2007-12-17 08:50: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 FormFields and db model Fields. 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 #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
m2m_through_regress Fixed #6095 -- Added the ability to specify the model to use to manage a ManyToManyField. Thanks to Eric Florenzano for his excellent work on this patch. 2008-07-29 12:41:08 +00:00
mail Fixed #7574 -- Fixed the handling of lazy translation in email headers. 2008-07-26 03:37:25 +00:00
many_to_one_regress Added tests for accessing nullable ForeignKey after saving and fetching from the database (refs #8093). 2008-08-03 03:03:46 +00:00
max_lengths Removed several deprecated features for 1.0 (refs #7830): 2008-08-02 04:56:11 +00:00
middleware Fixed Python 2.3 problem I introduced all the way back in [6852]. :-( 2008-01-06 07:23:21 +00:00
model_fields Fixed #7920 -- Made tests compatible with Python 2.6's Decimal repr change, patch from Karen Tracey. 2008-08-02 04:48:14 +00:00
model_inheritance_regress Fixed #7853 -- Fixed another case of deleting inherited models with foreign key 2008-07-28 01:32:46 +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 #7560 -- Moved a lot of the value conversion preparation for 2008-07-29 05:09:29 +00:00
modeladmin Fixed #7885 -- Prevent duplicates in fields and fieldsets declarations. Thanks julien and wamberg for the patches. 2008-08-01 18:55:43 +00:00
null_fk Fixed #7530, #7716 -- When using select_related() and encountering a NULL 2008-07-27 01:18:23 +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 Updated the tests. 2008-08-09 17:19:44 +00:00
requests Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or 2008-07-21 07:57:10 +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 Renamed a field in a test case that was preventing the tests from 2008-07-02 16:59:17 +00:00
serializers_regress File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features. 2008-08-08 20:59:02 +00:00
string_lookup Fixed #2170 -- "exact" lookups in MySQL are now case-sensitive (the same as other backends). 2008-06-30 10:25:35 +00:00
syndication Forgot to commit a new file from [7328]. 2008-03-20 06:56:46 +00:00
templates Fixed #8031 - url tag no longer silences NoReverseMatch exceptions since this is very rarely useful 2008-08-05 14:16:13 +00:00
test_client_regress Fixed #7919 -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available. Patch from Karen Tracey. 2008-08-02 05:56: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 #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 Revert [7849] and [7850]. Brain failure on my part. 2008-07-06 14:20:30 +00:00
utils Removed some potentially misleading code (it isn't executed) after the changes 2008-07-23 04:41:53 +00:00
views Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +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