From d2beef203257436b67ed6f351735f19d6f0e4a8b Mon Sep 17 00:00:00 2001 From: Andrii Marynets Date: Thu, 3 Aug 2017 00:24:16 +0300 Subject: [PATCH] Add parameter to function for TravisCI --- membership/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/membership/models.py b/membership/models.py index a84d12ca..6b6f4413 100644 --- a/membership/models.py +++ b/membership/models.py @@ -19,7 +19,7 @@ REGISTRATION_MESSAGE = {'subject': "Validation mail", 'from': 'test@test.com'} -def get_anonymous_user_instance(): +def get_anonymous_user_instance(CustomUser): return CustomUser(name='Anonymous', email='anonymous@ungleich.ch', validation_slug=make_password(None))