| author | cavaliet |
| Fri, 30 Aug 2013 17:09:14 +0200 | |
| changeset 12 | 57efd01f1715 |
| parent 11 | a88010423961 |
| permissions | -rw-r--r-- |
| 9 | 1 |
# -*- coding: utf-8 -*- |
2 |
from django.core.management import BaseCommand |
|
3 |
from p4l.models import Subject |
|
| 12 | 4 |
from p4l.utils import fill_label_for_model |
| 9 | 5 |
|
6 |
||
7 |
class Command(BaseCommand): |
|
8 |
||
9 |
def handle(self, *args, **options): |
|
| 12 | 10 |
fill_label_for_model(Subject, 'subject', 'http://skos.um.es/unescothes/CS000') |
| 9 | 11 |