old_contents: from django.core.management.base import BaseCommand
  from projects import tasks
  
  class Command(BaseCommand):
  
      def handle(self, *args, **kwargs):
          tasks.update_docs_pull()
  
  
new_contents: from django.core.management.base import BaseCommand
  from projects import tasks
  from projects.models import Project
  
  class Command(BaseCommand):
  
      def handle(self, *args, **kwargs):
          if not len(args):
              tasks.update_docs_pull()
          else:
              for slug in args:
                  p = Project.objects.get(slug=slug)
                  print "Building %s" % p
                  tasks.update_docs(p.pk)
  
  
  
subject: Allow slugs to be passed to the update_repos command to specify one project.