This website requires JavaScript.
Explore
Help
Sign In
Hopiu
/
django-modeltranslation
Watch
1
Star
0
Fork
You've already forked django-modeltranslation
0
mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced
2026-05-09 05:44:42 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
7b8cafbde7
django-modeltranslation
/
modeltranslation
/
tests
History
Dirk Eschler
a3db814551
Added unittest for FileField and ImageField and incorporated a small fix for the pre_save method of TranslationField (thanks to Bruno Tavares).
2012-10-12 12:59:52 +00:00
..
__init__.py
Added unittest for FileField and ImageField and incorporated a small fix for the pre_save method of TranslationField (thanks to Bruno Tavares).
2012-10-12 12:59:52 +00:00
settings.py
Added missing DEFAULT_LANGUAGE setting.
2012-07-13 08:04:11 +00:00
urls.py
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