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-10 22:33:09 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
e85f776aa8
django-modeltranslation
/
modeltranslation
/
tests
History
Dirk Eschler
e85f776aa8
Added test for admin inline fieldset.
2012-07-08 18:48:01 +00:00
..
__init__.py
Added test for admin inline fieldset.
2012-07-08 18:48:01 +00:00
settings.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
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