Use django-i18nfield library (#418)

This commit is contained in:
Raphael Michel
2017-02-27 21:16:28 +01:00
committed by GitHub
parent 81adbb3813
commit 8b7d2314b8
27 changed files with 84 additions and 544 deletions

View File

@@ -6,8 +6,7 @@ from django.db import models
from django.db.models.signals import post_delete
from django.dispatch import receiver
from django.utils.crypto import get_random_string
from pretix.base.i18n import I18nJSONEncoder
from i18nfield.utils import I18nJSONEncoder
def cachedfile_name(instance, filename: str) -> str: