| author | cavaliet |
| Mon, 02 Sep 2013 17:49:41 +0200 | |
| changeset 20 | fa466993084a |
| parent 12 | 57efd01f1715 |
| permissions | -rw-r--r-- |
| 9 | 1 |
# -*- coding: utf-8 -*- |
2 |
from django.core.management import BaseCommand |
|
3 |
from p4l.models import Theme |
|
| 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(Theme, 'theme', 'http://www.iiep.unesco.org/plan4learning/scheme/Themes') |
| 9 | 11 |