Browse Source

Fix commit 5e8abe83 (stupid mistake)

Baptiste Jonglez 10 years ago
parent
commit
09d44329b7
1 changed files with 3 additions and 1 deletions
  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.db.models import Q
 
+from coin.offers.models import OfferSubscription
 
-def ValidateBackendType(object):
+
+class ValidateBackendType(object):
     """Helper validator for configuration backends.
 
     It ensures that the related subscription has the right backend