| changeset 21 | dad1f8de08a9 |
| parent 20 | fa466993084a |
| child 22 | 48ff361f96c8 |
| 20:fa466993084a | 21:dad1f8de08a9 |
|---|---|
1 # -*- coding: utf-8 -*- |
|
2 from django.core.management import BaseCommand |
|
3 from p4l.models import Theme |
|
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(Theme, 'theme', 'http://www.iiep.unesco.org/plan4learning/scheme/Themes') |
|
11 |