mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Add Admin model for Program Letter #5265

Closed annagav closed 1 year ago

annagav commented 1 year ago

Pre-Flight checklist

What are the relevant tickets?

Fix https://github.com/mitodl/micromasters/issues/5256

What's this PR do?

Add Admin model for Program Letter

How should this be manually tested?

Go to django admin and try to create a MicromastersProgramCommendation. Check the following things:

  1. You can filter letters by program
  2. you can see creation and update dates
  3. you can create a MicromastersProgramCommendation successfully
  4. you can search by user email
Screen Shot 2022-12-06 at 8 55 01 AM Screen Shot 2022-12-06 at 8 53 56 AM
codecov-commenter commented 1 year ago

Codecov Report

Merging #5265 (dec7cac) into master (22fde05) will decrease coverage by 0.00%. The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master    #5265      +/-   ##
==========================================
- Coverage   93.68%   93.68%   -0.01%     
==========================================
  Files         501      501              
  Lines       23273    23286      +13     
  Branches      965      965              
==========================================
+ Hits        21804    21815      +11     
- Misses       1362     1364       +2     
  Partials      107      107              
Impacted Files Coverage Δ
grades/admin.py 84.44% <84.61%> (+0.02%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.