hmpf / easydmp

MIT License
7 stars 2 forks source link

Migrate: Add field "locked" to Template #215

Closed hmpf closed 3 years ago

hmpf commented 3 years ago

Split up the function of Template.published so that "published" handles visibility and "locked" handles readonly-ness.

codecov[bot] commented 3 years ago

Codecov Report

Merging #215 (710a4a6) into master (c41782f) will increase coverage by 0.02%. The diff coverage is 65.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #215      +/-   ##
==========================================
+ Coverage   58.35%   58.37%   +0.02%     
==========================================
  Files          91       92       +1     
  Lines        6320     6364      +44     
==========================================
+ Hits         3688     3715      +27     
- Misses       2632     2649      +17     
Impacted Files Coverage Δ
src/easydmp/dmpt/api/v2/serializers.py 88.46% <ø> (ø)
src/easydmp/dmpt/admin.py 56.09% <51.85%> (-0.62%) :arrow_down:
src/easydmp/dmpt/models.py 58.07% <66.66%> (+0.08%) :arrow_up:
...dmp/dmpt/migrations/0004_add_locked_to_template.py 80.00% <80.00%> (ø)
src/easydmp/dmpt/forms.py 45.39% <100.00%> (ø)
src/easydmp/dmpt/import_template.py 76.31% <100.00%> (ø)
src/easydmp/lib/admin.py 47.82% <100.00%> (+3.64%) :arrow_up:
src/easydmp/plan/admin.py 80.00% <100.00%> (-1.25%) :arrow_down:

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 c41782f...45d223d. Read the comment docs.