Skip to content

Commit

Permalink
Merge pull request #34 from edx/ashultz0/verified-name-admin-status
Browse files Browse the repository at this point in the history
fix: update admin to use status instead of is_verified
  • Loading branch information
ashultz0 authored Aug 17, 2021
2 parents 2e35e4c + 66449a2 commit 3e700cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Change Log
Unreleased
~~~~~~~~~~

[0.6.3] - 2021-08-18
~~~~~~~~~~~~~~~~~~~~
* Update admin for verified name status

[0.6.2] - 2021-08-17
~~~~~~~~~~~~~~~~~~~~
* Remove verified name is_verified from model
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Django app housing name affirmation logic.
"""

__version__ = '0.6.2'
__version__ = '0.6.3'

default_app_config = 'edx_name_affirmation.apps.EdxNameAffirmationConfig' # pylint: disable=invalid-name
2 changes: 1 addition & 1 deletion edx_name_affirmation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class VerifiedNameAdmin(admin.ModelAdmin):
"""
list_display = (
'id', 'user', 'verified_name', 'verification_attempt_id', 'proctored_exam_attempt_id',
'is_verified', 'created', 'modified',
'status', 'created', 'modified',
)
readonly_fields = ('id', 'user', 'created', 'modified')
search_fields = ('user__username', 'verification_attempt_id', 'proctored_exam_attempt_id',)
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_verified_name_admin(self):

expected_list_display = (
'id', 'user', 'verified_name', 'verification_attempt_id', 'proctored_exam_attempt_id',
'is_verified', 'created', 'modified',
'status', 'created', 'modified',
)
self.assertEqual(
expected_list_display,
Expand Down

0 comments on commit 3e700cf

Please sign in to comment.