Example #1
0
 def handle(self, *args, **options):
   projects = Project.objects.all()
   for project in projects:
       try:
           calculateProject( project )
       except:
           logger.error("Could not calculate project %s" % project.slug)
Example #2
0
 def handle(self, *args, **options):
     projects = Project.objects.filter(active=True)
     for project in projects:
         try:
             calculateProject( project )
         except:
             logger.error("Could not calculate project %s" % project.slug)
Example #3
0
 def handle(self, *args, **options):
   projects = Project.objects.all()
   for project in projects:
     calculateProject( project )
Example #4
0
 def handle(self, *args, **options):
     projects = Project.objects.all()
     for project in projects:
         calculateProject(project)