mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-12 07:13:09 +00:00
This changes how _registry looks, now info about all seen models is stored (including unregistered ascendants of registered models), to avoid recomputing parents options when determining translation fields of a submodel. ``TranslationOption`` instances have just two dictionaries of fields: ``local_fields`` (similar to the former ``localized_fieldnames``) and ``fields`` to match Django naming and precompute only what's necessary. |
||
|---|---|---|
| .. | ||
| management | ||
| static/modeltranslation | ||
| tests | ||
| __init__.py | ||
| admin.py | ||
| fields.py | ||
| manager.py | ||
| models.py | ||
| settings.py | ||
| translator.py | ||
| utils.py | ||