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
59c637ba36
django-modeltranslation
/
modeltranslation
/
tests
History
Dirk Eschler
59c637ba36
More work on the admin integration refactoring. The exclude_languages isn't really thread safe, removed it for now. Handled custom model form fields and exclude options.
2012-07-06 15:49:26 +00:00
..
__init__.py
More work on the admin integration refactoring. The exclude_languages isn't really thread safe, removed it for now. Handled custom model form fields and exclude options.
2012-07-06 15:49:26 +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