mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
isort 5.0 config/docs (#1736)
This commit is contained in:
@@ -113,7 +113,7 @@ class Organizer(LoggedModel):
|
||||
), tz)
|
||||
|
||||
def allow_delete(self):
|
||||
from . import Order, Invoice
|
||||
from . import Invoice, Order
|
||||
return (
|
||||
not Order.objects.filter(event__organizer=self).exists() and
|
||||
not Invoice.objects.filter(event__organizer=self).exists() and
|
||||
|
||||
Reference in New Issue
Block a user