Skip to content

Commit 59c4051

Browse files
committed
always populate from templates on stagings
1 parent 4b81676 commit 59c4051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osf/management/commands/populate_notification_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def populate_notification_types(*args, **kwargs):
6565
defaults=notification_type,
6666
)
6767
nt.object_content_type = content_type
68-
if not nt.template:
68+
if not nt.template or settings.DEV_MODE:
6969
nt.template = template
7070
nt.save()
7171

0 commit comments

Comments
 (0)