mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Use django-i18nfield library (#418)
This commit is contained in:
@@ -3,8 +3,9 @@ from collections import OrderedDict
|
||||
|
||||
from django.template.loader import get_template
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from i18nfield.fields import I18nFormField, I18nTextarea
|
||||
from i18nfield.strings import LazyI18nString
|
||||
|
||||
from pretix.base.i18n import I18nFormField, I18nTextarea, LazyI18nString
|
||||
from pretix.base.payment import BasePaymentProvider
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from django import forms
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from i18nfield.forms import I18nFormField, I18nTextarea, I18nTextInput
|
||||
|
||||
from pretix.base.i18n import I18nFormField, I18nTextarea, I18nTextInput
|
||||
from pretix.base.models import Order
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user