mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Upgrade to Django 3.2 (#2056)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user