django-modeltranslation icon indicating copy to clipboard operation
django-modeltranslation copied to clipboard

Translates Django models using a registration approach.

Results 131 django-modeltranslation issues
Sort by recently updated
recently updated
newest added

Added the ability to specify language codes during registration of translation fields. This allows for setting the translations needed for each model. ``` from modeltranslation.translator import translator, TranslationOptions from .models...

I'm using TabbedTranslationAdmin in the admin class, and getting this result, any idea why? ![Screenshot 2023-04-04 at 14 33 17](https://user-images.githubusercontent.com/16549860/229792716-2f30e691-456f-4171-9b4c-cec27c446122.png) with thanks

discussion

Model-translation works well when i want to access column of the same model. But when it comes to relationship, it doesn’t work always give you the original model field and...

Thank you for this awesome package. The plugin works perfectly for our needs except, however, when used with the `annotate()` where the annotate contains a Subquery expression or an F...

Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.4 to 0.5.0. Changelog Sourced from sqlparse's changelog. Release 0.5.0 (Apr 13, 2024) Notable Changes Drop support for Python 3.5, 3.6, and 3.7. Python 3.12 is now...

dependencies

Bumps [django](https://github.com/django/django) from 4.2.10 to 4.2.11. Commits 61a986f [4.2.x] Bumped version for 4.2.11 release. 3c9a277 [4.2.x] Fixed CVE-2024-27351 -- Prevented potential ReDoS in Truncator.words(). 7973951 [4.2.x] Added release date for...

dependencies

I've added tests, but don't know how I could add migrations for the new models needed for testing.

Somehow the field.model is not yet a class, but still a string, in this particular case. Tried a fix (modeltranslation/fields.py), but issue seems deeper, I guess it should really just...

I have a abstract `Link` base class, used for my `Teaser` and `ContentNav` models. The base class has a field `file`, that is then translated in each of the real...

By definition, a [ValuesIterable](https://pydoc.dev/django/latest/django.db.models.query.ValuesIterable.html) should yield dicts for each row in the queryset: > Iterable returned by QuerySet.values() that yields a dict for each row. Similary, [ValuesListIterable](https://pydoc.dev/django/latest/django.db.models.query.ValuesListIterable.html) yields tuples, and...