Commit 2c1d3808 authored by Aurélien Bompard's avatar Aurélien Bompard

Better fix for a085efb7

parent 771e86e9
Pipeline #3965317 failed with stage
in 9 minutes and 40 seconds
......@@ -19,10 +19,10 @@
from __future__ import absolute_import, unicode_literals
from django import forms
from django import __version__
from django.core.validators import validate_email
from django.utils.encoding import smart_text
from django.utils.translation import ugettext_lazy as _
from django.utils.version import get_complete_version
from postorius.fieldset_forms import FieldsetForm
......@@ -595,7 +595,7 @@ class ListIdentityForm(ListSettingsForm):
label=_('Display name'),
help_text=_('Display name is the name shown in the web interface.')
)
if __version__ < '1.9':
if get_complete_version() < (1, 9):
subject_prefix = forms.CharField(
label=_('Subject prefix'),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment