@@ -254,9 +254,7 @@ class Project(BaseStreamForm, AccessFormData, models.Model):
254254 status = models .TextField (choices = PROJECT_STATUS_CHOICES , default = DRAFT )
255255
256256 form_data = models .JSONField (encoder = StreamFieldDataEncoder , default = dict )
257- form_fields = StreamField (
258- ProjectFormCustomFormFieldsBlock (), null = True , use_json_field = True
259- )
257+ form_fields = StreamField (ProjectFormCustomFormFieldsBlock (), null = True )
260258
261259 # tracks read/write state of the Project
262260 is_locked = models .BooleanField (default = False )
@@ -500,14 +498,12 @@ class ProjectSOW(BaseStreamForm, AccessFormData, models.Model):
500498 Project , related_name = "sow" , on_delete = models .CASCADE
501499 )
502500 form_data = models .JSONField (encoder = StreamFieldDataEncoder , default = dict )
503- form_fields = StreamField (
504- ProjectFormCustomFormFieldsBlock (), null = True , use_json_field = True
505- )
501+ form_fields = StreamField (ProjectFormCustomFormFieldsBlock (), null = True )
506502
507503
508504class ProjectBaseStreamForm (BaseStreamForm , models .Model ):
509505 name = models .CharField (max_length = 255 )
510- form_fields = StreamField (ProjectFormCustomFormFieldsBlock (), use_json_field = True )
506+ form_fields = StreamField (ProjectFormCustomFormFieldsBlock ())
511507
512508 panels = [
513509 FieldPanel ("name" ),
0 commit comments