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

Django Garnett is a field level translation library that allows you to store strings in multiple languages for fields in Django - with minimal changes to your models and without having to rewrite your...

Results 14 django-garnett issues
Sort by recently updated
recently updated
newest added

Found this via HN and looks like something I could use for a current project. However, requirements are hard pinned to specific versions, including not-the-latest version of Django. Could you...

After getting apps from executor: ``` executor = MigrationExecutor(connection) apps = executor.loader.project_state([migration file]).apps Model = apps.get_model('..', '...') ``` I Have to pass json into translated field to create object. Otherwise,...

After changing CharField into `Translated(CharField(max_length = 10))`, it doesn't return 'allow_blank' and 'null' attributes of the field.

Get an error if trying to update or create when using dictionary, eg: ```Model.objects.update_or_create(translatable_field={'en': "Some text})``` Traceback: ``` Traceback (most recent call last): File "/usr/local/bin/django-admin", line 8, in sys.exit(execute_from_command_line()) File...

Change: from django.contrib.postgres.fields.jsonb import KeyTextTransform To from django.db.models.fields.json import KeyTextTransform

Should have some tests for the logic in `get_default_language` and `get_languages`

Alter the json orm lookup so you can do `Book.objects.filter(title__en='thing')` but not `Book.objects.filter(title__notalang='thing')`

enhancement

Mentioned as a future enhancement in the readme

enhancement