uppsaladatavetare / foobar-api

The backend of the FooBar kiosk and inventory system.
MIT License
12 stars 6 forks source link

Update django-debug-toolbar to 1.8 #67

Closed pyup-bot closed 6 years ago

pyup-bot commented 6 years ago

There's a new version of django-debug-toolbar available. You are currently using 1.6. I have updated it to 1.8

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.8


This version is compatible with Django 1.11 and requires Django 1.8 or later.

Features


* New decorator ``debug_toolbar.decorators.require_show_toolbar`` prevents
 unauthorized access to decorated views by checking ``SHOW_TOOLBAR_CALLBACK``
 every request. Unauthorized access results in a 404.
* The ``SKIP_TEMPLATE_PREFIXES`` setting allows skipping templates in
 the templates panel. Template-based form widgets' templates are
 skipped by default to avoid panel sizes going into hundreds of
 megabytes of HTML.

Bugfixes
  • All views are now decorated with debug_toolbar.decorators.require_show_toolbar preventing unauthorized access.
  • The templates panel now reuses contexts' pretty printed version which makes the debug toolbar usable again with Django 1.11's template-based forms rendering.
  • Long SQL statements are now forcibly wrapped to fit on the screen.

1.7


Bugfixes



* Recursive template extension is now understood.
* Deprecation warnings were fixed.
* The SQL panel uses HMAC instead of simple hashes to verify that SQL
 statements have not been changed. Also, the handling of bytes and text
 for hashing has been hardened. Also, a bug with Python's division
 handling has been fixed for improved Python 3 support.
* An error with django-jinja has been fixed.
* A few CSS classes have been prefixed with ``djdt-`` to avoid
 conflicting class names.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

codecov[bot] commented 6 years ago

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #67   +/-   ##
========================================
  Coverage    91.59%   91.59%           
========================================
  Files           82       82           
  Lines         3475     3475           
  Branches       184      184           
========================================
  Hits          3183     3183           
  Misses         262      262           
  Partials        30       30

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 5d57529...b51b629. Read the comment docs.