Normally fixs tests

This commit is contained in:
2016-12-13 22:22:19 +01:00
parent d14af8e452
commit a284637190
4 changed files with 44 additions and 39 deletions

View File

@ -5,8 +5,6 @@ from django.conf import settings
from datetime import timedelta
from core.models import User
from subscription.models import Subscriber
from subscription.views import get_subscriber
class Election(models.Model):
@ -66,7 +64,7 @@ class List(models.Model):
"""
To allow per list vote
"""
title = models.CharField(_('title'))
title = models.CharField(_('title'), max_length=255)
class Vote(models.Model):