django-wiki / django-nyt

Notification system for Django with batteries included: Email digests, user settings, JSON API
Apache License 2.0
144 stars 47 forks source link

Do not access Settings.user when Settings.pk is unset #92

Closed benjaoming closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #92 into master will not change coverage. The diff coverage is 50%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   76.21%   76.21%           
=======================================
  Files          26       26           
  Lines         555      555           
=======================================
  Hits          423      423           
  Misses        132      132
Impacted Files Coverage Δ
django_nyt/models.py 84.67% <0%> (ø) :arrow_up:
django_nyt/__init__.py 100% <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 c7b2250...701e77d. Read the comment docs.

benjaoming commented 4 years ago

Fixes issue evident over in https://github.com/django-wiki/django-wiki/pull/979