Jacek Tomaszewski
|
6947814e2a
|
Refactor tests: refactor ModelValidationTest.
|
2012-12-06 17:59:28 +01:00 |
|
Jacek Tomaszewski
|
5b51a7b793
|
Add fallback language feature and base tests.
|
2012-11-13 16:28:42 +01:00 |
|
Jacek Tomaszewski
|
0949e95441
|
Add MultilingualManager and its tests.
|
2012-11-11 16:28:29 +01:00 |
|
Jacek Tomaszewski
|
37b5c0f03f
|
Fix errors pointed by Travis.
|
2012-11-10 22:09:07 +01:00 |
|
Jacek Tomaszewski
|
c7b8b77e86
|
Allow tests to be run together with other apps.
|
2012-11-10 19:31:46 +01:00 |
|
Dirk Eschler
|
98e5e593f2
|
Merged app cache reset handling from django-modeltranslation-wrapper into ModeltranslationTestBase and cleaned up debug code from last commit.
|
2012-10-26 14:00:52 +02:00 |
|
Dirk Eschler
|
aa274b72a2
|
Used override of default database setting based on the DB env var present on travis-ci.
|
2012-10-25 11:09:22 +02:00 |
|
Dirk Eschler
|
60d8fd5262
|
Added a SECRET_KEY to test settings. Silences a DeprecationWarning and takes care of the fact that the upcoming Django 1.5 won't even start without one.
|
2012-10-24 17:20:44 +02:00 |
|
Dirk Eschler
|
4b4238b847
|
Removed deprecated MODELTRANSLATION_TRANSLATION_REGISTRY setting from test settings.
|
2012-10-24 16:17:07 +02:00 |
|
Dirk Eschler
|
5c0f4da084
|
Added staticfiles to INSTALLED_APPS only if Django 1.3 or later is used.
|
2012-10-24 14:13:04 +02:00 |
|
Dirk Eschler
|
dcd406a0df
|
Refactored tests to use a separate models.py.
|
2012-10-24 13:48:09 +02:00 |
|
Dirk Eschler
|
1aa515e739
|
Added missing DEFAULT_LANGUAGE setting.
|
2012-07-13 08:04:11 +00:00 |
|
Dirk Eschler
|
1c8e82890d
|
Major refactoring of the admin integration. Subclassed BaseModelAdmin and InlineModelAdmin. Patching options in init doesn't seem to be thread safe. Instead used provided hooks like get_form, get_formset and get_fieldsets. This should resolve several problems with the exclude and fieldsets options and properly support options in inlines. Added a new admin option exclude_languages to exclude certain translation fields per admin class. Moved tests to separate folder and added tests for TranslationAdmin. To run the tests the settings provided in model.tests.modeltranslation have to be used (settings.LANGUAGES override doesn't work for TranslationAdmin).
|
2012-07-04 09:29:05 +00:00 |
|