Commit 8df63af1 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

management command images

parent 1b397748
Pipeline #1032 failed with stages
in 37 seconds
from rainboard.models import Robotpkg
logger = logging.getLogger('rainboard.images')
class Command(BaseCommand):
help = 'Populate database with Docker images data'
def handle(self, *args, **options):
for rpkg in Robotpkg.objects.all():
rpkg.update_images()
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