mirumee / django-prices

Django fields for the prices module
158 stars 53 forks source link

Django 2.1 support: add render argument to MoneyInput render method #65

Closed itbabu closed 6 years ago

itbabu commented 6 years ago

The renderer argument was added in Django 1.11. Support for subclasses that don’t accept it is removed in Django 2.1 and you get a TypeError:

TypeError: render() got an unexpected keyword argument 'renderer'
codecov[bot] commented 6 years ago

Codecov Report

Merging #65 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   96.15%   96.15%           
=======================================
  Files           4        4           
  Lines         104      104           
  Branches       10       10           
=======================================
  Hits          100      100           
  Misses          2        2           
  Partials        2        2
Impacted Files Coverage Δ
django_prices/widgets.py 88.23% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f50d07e...986b6ff. Read the comment docs.