maykinmedia / mozilla-django-oidc-db

Database-backed settings for mozilla-django-oidc, with modified unique identifiers for users
MIT License
4 stars 0 forks source link

Feature/customizable cache prefix #36

Closed stevenbal closed 2 years ago

stevenbal commented 2 years ago

From https://github.com/open-formulieren/open-forms/pull/592#discussion_r806022212

Allows overriding of the SoloModel cache prefix for custom configs, without having to duplicate all the other cache code, by using the CachingMixin

codecov-commenter commented 2 years ago

Codecov Report

Merging #36 (645ea4f) into master (0975973) will increase coverage by 0.51%. The diff coverage is 77.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   92.91%   93.42%   +0.51%     
==========================================
  Files          22       24       +2     
  Lines         536      578      +42     
==========================================
+ Hits          498      540      +42     
  Misses         38       38              
Impacted Files Coverage Δ
mozilla_django_oidc_db/models.py 76.13% <56.41%> (+1.74%) :arrow_up:
mozilla_django_oidc_db/compat.py 100.00% <100.00%> (ø)
testapp/settings.py 100.00% <100.00%> (ø)
tests/test_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 0975973...645ea4f. Read the comment docs.