-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Assigned a callable to model choices attribute to deal with the…
… latest NOTIFICATION_CHOICES Created get_notification_choices() to dynamically update the choices attribute of models with the latest NOTIFICATION_CHOICES. this fixes issues in tests where the updates that applied on NOTIFICATION_CHOICES don't reflect on the choices attributes in the models.
- Loading branch information
1 parent
22e6b1e
commit 59656ff
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters