File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ class BuildSerializer(FlexFieldsModelSerializer):
115
115
state = BuildStateSerializer (source = '*' )
116
116
_links = BuildLinksSerializer (source = '*' )
117
117
118
-
119
118
class Meta :
120
119
model = Build
121
120
fields = [
@@ -441,7 +440,6 @@ class ProjectSerializer(FlexFieldsModelSerializer):
441
440
created = serializers .DateTimeField (source = 'pub_date' )
442
441
modified = serializers .DateTimeField (source = 'modified_date' )
443
442
444
-
445
443
class Meta :
446
444
model = Project
447
445
fields = [
@@ -472,12 +470,13 @@ class Meta:
472
470
]
473
471
474
472
expandable_fields = {
475
- 'active_versions' : (VersionSerializer ,
473
+ 'active_versions' : (
474
+ VersionSerializer ,
476
475
{
477
- # NOTE: this has to be a Model method, can't be a
478
- # ``SerializerMethodField`` as far as I know
479
- 'source' : 'active_versions' ,
480
- 'many' : True ,
476
+ # NOTE: this has to be a Model method, can't be a
477
+ # ``SerializerMethodField`` as far as I know
478
+ 'source' : 'active_versions' ,
479
+ 'many' : True ,
481
480
}
482
481
)
483
482
}
You can’t perform that action at this time.
0 commit comments