Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd a settings option to allow MediaFile translations to be skipped #679
Conversation
|
Ah, nice, thank you. It gives an easy speed bump if translations aren't used (eg. I don't think we use mediafile translations. Anywhere). Could you fix the travis check? (make line 143 in default_settings.py shorter, and perhaps move the "if trans" block into the if settings.FEINCMS_MEDIAFILE_TRANSLATIONS? |
|
@mjl sure thing - should be done now :) |
|
Thanks! |
This new setting is specifically targeting a fix for #675
To be clear, this isn't really a solution to the problem, basically the root of the issue here is that the
translationslazy-eval property is largely inefficient (perhaps just in certain cases, but at Thread we're seeing this be really costly, given hundreds ofMediaFiles)But at the same time, as a feature I think it makes sense regardless - and it fortunately sidesteps the root issue very nicely.