1
0
Parcourir la source

Fix commit 5e8abe83 (stupid mistake)

Baptiste Jonglez il y a 11 ans
Parent
commit
09d44329b7
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      coin/offers/backends.py

+ 3 - 1
coin/offers/backends.py

@@ -6,8 +6,10 @@ repetitive tasks."""
 from django.core.exceptions import ValidationError
 from django.core.exceptions import ValidationError
 from django.db.models import Q
 from django.db.models import Q
 
 
+from coin.offers.models import OfferSubscription
 
 
-def ValidateBackendType(object):
+
+class ValidateBackendType(object):
     """Helper validator for configuration backends.
     """Helper validator for configuration backends.
 
 
     It ensures that the related subscription has the right backend
     It ensures that the related subscription has the right backend