fixing typo in slug regen manage command
authorCharles Holbrow <charlesholbrow@gmail.com>
Mon, 25 Mar 2013 23:56:35 +0000 (19:56 -0400)
committerCharles Holbrow <charlesholbrow@gmail.com>
Mon, 25 Mar 2013 23:56:35 +0000 (19:56 -0400)
karmaworld/apps/notes/management/commands/regen_note_slugs.py

index 56b801ad2699af0b5ab2d7974696d4b4799982df..4dc03ca06a9530141a39cc95ea721e95b86b8a3c 100644 (file)
@@ -10,7 +10,7 @@ class Command(BaseCommand):
     help = "regenerate all note slugs"
 
     def handle(self, *args, **kwargs):
-        notes = Note.objects.fall()
+        notes = Note.objects.all()
         for n in notes:
             n.slug = None
             n.save()