codingjoe / django-pictures

Responsive cross-browser image library using modern codes like AVIF & WebP
BSD 2-Clause "Simplified" License
248 stars 20 forks source link

add support for django-cleanup #25

Closed vchrisb closed 2 years ago

vchrisb commented 2 years ago

This is adding initial support for django-cleanup.

fix for #23

vchrisb commented 2 years ago

@codingjoe do you have a better proposal how to conditionally add django_cleanup.apps.CleanupConfig to INSTALLED_APPS? I've tried Django's modify_settings, but it did not load the app in the test.

codecov[bot] commented 2 years ago

Codecov Report

Merging #25 (e5907cc) into main (589b4ea) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          342       342           
=========================================
  Hits           342       342           
Impacted Files Coverage Δ
pictures/models.py 100.00% <100.00%> (ø)

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 589b4ea...e5907cc. Read the comment docs.