Upgrade to Django 3.2 (#2056)

This commit is contained in:
Raphael Michel
2021-05-07 12:00:30 +02:00
committed by GitHub
parent 0a7a3537eb
commit 403b8191e4
120 changed files with 1994 additions and 1555 deletions

View File

@@ -101,9 +101,6 @@ def test_csv_simple(event):
@pytest.mark.django_db
def test_csv_order_by_name_parts(event): # noqa
from django.conf import settings
if not settings.JSON_FIELD_AVAILABLE:
raise pytest.skip("Not supported on this database")
c = CSVCheckinList(event)
_, _, content = c.render({
'list': event.checkin_lists.first().pk,
@@ -142,10 +139,6 @@ def test_csv_order_by_name_parts(event): # noqa
@pytest.mark.django_db
def test_csv_order_by_inherited_name_parts(event): # noqa
from django.conf import settings
if not settings.JSON_FIELD_AVAILABLE:
raise pytest.skip("Not supported on this database")
with scope(organizer=event.organizer):
OrderPosition.objects.filter(attendee_name_cached__icontains="Andrea").delete()
op = OrderPosition.objects.get()