django-modeltrans
django-modeltrans copied to clipboard
TranslationModelForm is slow
I was profiling import time in a project using django-modeltrans after reading https://adamj.eu/tech/2023/03/02/django-profile-and-improve-import-time/, while I noticed the time it takes to import a forms module containing a form based on TranslationModelForm
is somewhat excessive, replacing the use of TranslationModelForm
by ModelForm
reduced the import time by a factor 3.