X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/64d26c022dc182339b33c3cd8e4ef1978b150573..8f031335a8a0dabceec381b89eb0cbbcb2f4b637:/src/newsletter/models.py diff --git a/src/newsletter/models.py b/src/newsletter/models.py index af57d381c..86e1a0d4d 100644 --- a/src/newsletter/models.py +++ b/src/newsletter/models.py @@ -4,7 +4,7 @@ import hashlib from django.db import models -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django.conf import settings @@ -28,4 +28,5 @@ class Subscription(models.Model): class Newsletter(models.Model): slug = models.SlugField(blank=True) page_title = models.CharField(max_length=255, blank=True) - phplist_id = models.IntegerField() + phplist_id = models.IntegerField(null=True, blank=True) + crm_id = models.IntegerField(null=True, blank=True)