@@ -188,7 +188,7 @@ class ControlField(ReadOnlyModel):
188188 p42 = models .CharField (max_length = 1 , blank = True )
189189 p43 = models .CharField (max_length = 1 , blank = True )
190190 occ_num = models .IntegerField (null = True , blank = True )
191- remainder = models .CharField (max_length = 100 , blank = True )
191+ remainder = models .CharField (max_length = 100 , null = True , blank = True )
192192
193193 def get_tag (self ):
194194 return '{:03}' .format (self .control_num )
@@ -797,7 +797,7 @@ class BibRecord(MainRecordTypeModel):
797797 index_change_count = models .IntegerField (null = True , blank = True )
798798 is_on_course_reserve = models .NullBooleanField (null = True , blank = True )
799799 is_right_result_exact = models .NullBooleanField (null = True , blank = True )
800- allocation_rule_code = models .CharField (max_length = 1 , blank = True )
800+ allocation_rule_code = models .CharField (max_length = 1 , null = True , blank = True )
801801 skip_num = models .IntegerField (null = True , blank = True )
802802 cataloging_date_gmt = models .DateTimeField (null = True , blank = True )
803803 marc_type_code = models .CharField (max_length = 1 , blank = True )
@@ -1197,7 +1197,7 @@ class HoldingRecord(MainRecordTypeModel):
11971197 null = True ,
11981198 blank = True )
11991199 is_inherit_loc = models .NullBooleanField (null = True , blank = True )
1200- allocation_rule_code = models .CharField (max_length = 1 , blank = True )
1200+ allocation_rule_code = models .CharField (max_length = 1 , null = True , blank = True )
12011201 accounting_unit = models .ForeignKey ('AccountingUnit' ,
12021202 db_column = 'accounting_unit_code_num' ,
12031203 to_field = 'code_num' ,
0 commit comments