Skip to content

Commit

Permalink
rm useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 10, 2020
1 parent e5676f3 commit bdb9667
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shop/serializers/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def __init__(self, *args, **kwargs):

def get_price(self, product):
price = product.get_price(self.context['request'])
# TODO: check if this can be simplified using str(product.get_price(...))
return '{:f}'.format(price)

def render_html(self, product, postfix):
Expand Down

0 comments on commit bdb9667

Please sign in to comment.