Commit 004cc109 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

Send an email to user when activating

parent ca96a346
......@@ -35,11 +35,12 @@ from optparse import make_option
from import BaseCommand, CommandError
from import activate
from import AstakosUser
class Command(BaseCommand):
args = "<user_id or email> [user_id or email] ..."
args = "<user id or email> [user id or email] ..."
help = "Activates one or more users"
def handle(self, *args, **options):
......@@ -63,7 +64,6 @@ class Command(BaseCommand):
user.is_active = True
self.stdout.write("Activated '%s'\n" % (,))
Markdown is supported
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