Skip to content

Commit

Permalink
fixed ai comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VolodymyrSemchysyn committed Dec 15, 2024
1 parent 8d06af1 commit a513475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cinema/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class TicketListSerializer(TicketSerializer):


class OrderSerializer(serializers.ModelSerializer):
tickets = TicketSerializer(many=True, read_only=False)
tickets = TicketSerializer(many=True, read_only=True)

class Meta:
model = Order
Expand Down
2 changes: 1 addition & 1 deletion cinema_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
)

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = []

Expand Down

0 comments on commit a513475

Please sign in to comment.