src/p4l/management/commands/get_subject_label.py
changeset 21 dad1f8de08a9
parent 20 fa466993084a
child 22 48ff361f96c8
equal deleted inserted replaced
20:fa466993084a 21:dad1f8de08a9
     1 # -*- coding: utf-8 -*-
       
     2 from django.core.management import BaseCommand
       
     3 from p4l.models import Subject
       
     4 from p4l.utils import fill_label_for_model
       
     5 
       
     6 
       
     7 class Command(BaseCommand):
       
     8 
       
     9     def handle(self, *args, **options):
       
    10         fill_label_for_model(Subject, 'subject', 'http://skos.um.es/unescothes/CS000')
       
    11