Skip to content

Commit

Permalink
Added dates on order
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhssingh committed Dec 25, 2018
1 parent adf6105 commit 3e27f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions order/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ class Meta:
model = Order
fields = ('id', 'name', 'mobile', 'email', 'status', 'outlet_id',
'preparation_time', 'suborder_set', 'total', 'outlet',
'managed_by')
read_only_fields = ('status', 'preparation_time', 'total',)
'managed_by', 'create_date', 'update_date')
read_only_fields = ('status', 'preparation_time', 'total', 'create_date', 'update_date')


class OrderUpdateSerializer(serializers.ModelSerializer):
Expand Down

0 comments on commit 3e27f12

Please sign in to comment.