Skip to content

Commit

Permalink
remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
raylrui committed Oct 24, 2024
1 parent 55a0439 commit f91d867
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ def to_representation(self, instance):

class OptionalFieldsMixin:
def make_fields_optional(self):
# Get the list of fields to exclude

# Make all fields optional
# Make all fields optional
for field in self.fields.values():
field.required = False

Expand Down

0 comments on commit f91d867

Please sign in to comment.