--- a/.hgtags Tue Oct 08 16:34:00 2013 +0200
+++ b/.hgtags Tue Oct 08 16:35:44 2013 +0200
@@ -33,3 +33,5 @@
33a82766e9f964e05e3a75fb260e6f4e4aa92784 V00.13
e643f31ed0464510512ff33a70146fde4c093394 V00.14
500e8af5c1e568689ffa984480e463caaa43d4fe V00.15
+500e8af5c1e568689ffa984480e463caaa43d4fe V00.15
+e2043b49682d1833eab3281f63bb5f13acb05a99 V00.15
--- a/src/jocondelab/management/commands/populate_notice_years.py Tue Oct 08 16:34:00 2013 +0200
+++ b/src/jocondelab/management/commands/populate_notice_years.py Tue Oct 08 16:35:44 2013 +0200
@@ -1,17 +1,17 @@
# -*- coding: utf-8 -*-
-from django.core.management.base import NoArgsCommand
-from core.models import (Notice)
+from django.core.management.base import BaseCommand
+from core.models import Notice
from core.utils import show_progress
from jocondelab.models import NoticeYears
from django.db import reset_queries, transaction
from optparse import make_option
import re
-class Command(NoArgsCommand):
+class Command(BaseCommand):
help = "Extract Years from MILL field"
- option_list = NoArgsCommand.option_list + (
+ option_list = BaseCommand.option_list + (
make_option('-b', '--batch-size',
dest= 'batch_size',
type='int',