Commit ce54a5c7 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

room clearing command did not include a .save()

parent 411412fa
Pipeline #1388 passed with stage
in 3 minutes and 30 seconds
......@@ -9,7 +9,9 @@ class Command(BaseCommand):
def handle(self, *args, **kwargs):
count = 0
for student in Student.objects.all():
self.stdout.write("Removing %s from %s." % (student, = None
count += 1
self.stdout.write("Successfully overwrote %d student room(s)." % count)
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