8

Codestyle fixes (flake8)

This also adds the flake8 dependencies to the test extras for
installation.
This commit is contained in:
Michael van Tellingen
2017-05-28 09:13:08 +02:00
parent 55da67523f
commit 3eac2cd4dd
21 changed files with 123 additions and 114 deletions

View File

@@ -1,9 +1,10 @@
from __future__ import absolute_import, unicode_literals
from django.utils.translation import ugettext_lazy as _
from wagtail_personalisation.models import Segment
from wagtail.wagtailcore import blocks
from wagtail_personalisation.models import Segment
def list_segment_choices():
for segment in Segment.objects.all():