Stripe checkout #104411
@ -9,7 +9,7 @@ from django.dispatch import receiver
|
||||
import alphabetic_timestamp as ats
|
||||
import django.db.models.signals as django_signals
|
||||
|
||||
from looper.models import Order
|
||||
from looper.models import Customer, Order
|
||||
import looper.admin_log
|
||||
import looper.signals
|
||||
|
||||
@ -33,8 +33,6 @@ def timebased_order_number():
|
||||
@receiver(django_signals.post_save, sender=User)
|
||||
def create_customer(sender, instance: User, created, raw, **kwargs):
|
||||
"""Create Customer on User creation."""
|
||||
from looper.models import Customer
|
||||
|
||||
if raw:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user