byashimov / django-controlcenter

Set of widgets to build dashboards for Django projects
BSD 3-Clause "New" or "Revised" License
989 stars 85 forks source link

Fix tests for Django 2.1 #25

Closed PiDelport closed 6 years ago

PiDelport commented 6 years ago

This avoids an _"AssertionError: MyWidget0.templatename is not defined." on Django 2.1, which no longer silences {% include %} exceptions.

Django deprecation notes:

https://docs.djangoproject.com/en/2.1/internals/deprecation/#deprecation-removed-in-2-1

codecov-io commented 6 years ago

Codecov Report

Merging #25 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop    #25   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files            8      8           
  Lines          369    369           
======================================
  Hits           369    369

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 6680248...ff80cfa. Read the comment docs.

byashimov commented 6 years ago

Thank you very much :)