Skip to content

Commit

Permalink
Update src/registrar/admin.py
Browse files Browse the repository at this point in the history
Co-authored-by: zandercymatics <[email protected]>
  • Loading branch information
rachidatecs and zandercymatics authored Oct 8, 2024
1 parent b1dd91f commit 99c112a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registrar/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ def _handle_status_change(self, request, obj, original_obj):
if obj_is_not_approved and not obj.domain_is_not_active():
# REDUNDANT CHECK / ERROR SCREEN AVOIDANCE:
# This action (moving a request from approved to
# another status when the domain is already active (READY),
# another status) when the domain is already active (READY),
# would still not go through even without this check as the rules are
# duplicated in the model and the error is raised from the model.
# This avoids an ugly Django error screen.
Expand Down

0 comments on commit 99c112a

Please sign in to comment.