1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00
django/tests/regressiontests
Jannis Leidel c14937cf7a Fixed #12508 - Added ability to dynamically add inlines in the admin app.
Refs #13. Also introduces an ``empty_form`` attribute on formsets to make it easier to implement dynamic forms.

Many thanks to Zain Memon for the initial patch from his Summer of Code 2009 project, Stanislaus Madueke for his django-dynamic-formset app and all the other people helping out.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26 15:02:53 +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
admin_registration
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 ModelAdmin.fields wasn't able to refer to fields only on a custom form 2010-01-23 16:44:42 +00:00
admin_views Make use of new ability to override admin add form templates and removed a litle bit of redundancy in the templates. 2010-01-12 23:35:29 +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
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
bug8245
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
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
custom_managers_regress
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
db_typecasts
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 Fixed #12508 - Added ability to dynamically add inlines in the admin app. 2010-01-26 15:02:53 +00:00
formwizard
generic_inline_admin Fixed #12577. Reverted some changes from [12098] since [12206] made them unneccessary. Also, added a test for using generic inlines with unique_together. Thanks for the report, Raffaele Salmaso. 2010-01-21 01:40:21 +00:00
generic_relations_regress Fixed #12664 -- Fixed GenericRelation.m2m_reverse_name to return the correct pk column name. 2010-01-22 18:39:48 +00:00
get_or_create_regress
httpwrappers Fixed #12470 - django.contrib.messages CookieStorage failing silently in safari when comma is used in message 2010-01-23 23:13:00 +00:00
humanize Fixed #11783 -- ordinal template tag now catches TypeError. Thanks, realpolitik and punteney 2010-01-10 21:37:20 +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
inline_formsets Fixed #12512. Changed ModelForm to stop performing model validation on fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev. 2010-01-12 02:29:45 +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
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
middleware_exceptions Fixed #6094 again -- fixed broken unit tests. Thanks, isagalaev 2010-01-10 18:48:08 +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 #12596. Calling super from a ModelForm's clean method is once again optional. Failing to call super only skips unique validation as documented. Thanks for the initial patch and tests, carljm. 2010-01-21 02:28:03 +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
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 ModelForms. Thanks, Alex Gaynor. 2009-04-22 15:48:51 +00:00
multiple_database Fixed #12672 -- Added the ability to configure which applications are available on which database. 2010-01-25 12:23:30 +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
null_queries
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
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
reverse_single_related
select_related_regress
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 some missing __init__.py files to two tests 2010-01-10 17:49:41 +00:00
string_lookup
syndication
templates Fixed #6587 -- Removed nasty __path__ hacking in templatetag loading. Thanks to Øyvind Satvik and Andrew Badr for their work on this patch. 2010-01-26 01:38:50 +00:00
test_client_regress Fixed #12659 -- Return a more meaningful KeyError message when ContextList lookups fail. Thanks to rodriguealcazar for the suggestion. 2010-01-22 15:31:14 +00:00
test_runner Corrected the tests for DjangoTestRunner so they pass under Postgres. 2009-12-22 06:00:57 +00:00
test_utils
text
urlpatterns_reverse Fixed #11960 -- Improved error message for redirects. Thanks, mattmcc 2010-01-10 18:44:39 +00:00
utils Fixed #10979 -- Fixed misleading FixedOffset.__repr__(). Thanks, gsong 2010-01-10 17:28:20 +00:00
views Fixed: 3274: Added date_list context variable to the archive_month generic view, consistent with archive_index and archive_year. Thanks Sean Brant. 2010-01-10 19:52:17 +00:00
__init__.py