| author | cavaliet |
| Mon, 02 Sep 2013 16:40:28 +0200 | |
| changeset 19 | 6b45fd23e4a0 |
| parent 12 | 57efd01f1715 |
| permissions | -rw-r--r-- |
# -*- coding: utf-8 -*- from django.core.management import BaseCommand from p4l.models import Language from p4l.utils import fill_label_for_model class Command(BaseCommand): def handle(self, *args, **options): fill_label_for_model(Language, 'language', 'http://www.iiep.unesco.org/plan4learning/scheme/Languages')