Commit e23f20cf authored by fred's avatar fred
Browse files

use class to access to manager

parent 2587edbe
......@@ -38,7 +38,7 @@ class Subscriber(models.Model) :
def save(self, *args, **kwargs):
existing_subscriber = self.objects.filter(
existing_subscriber = Subscriber.objects.filter(
if existing_subscriber and !=
# reset existing subscriber
existing_subscriber.is_validated = None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment