notifications: Rename notifications.py to email_notifications.py.

This library is entirely about email notifications specifically, and
this rename should help make the codebase more readable.
This commit is contained in:
Tim Abbott
2019-03-15 10:51:39 -07:00
parent 28a4c143c8
commit 50dc317466
13 changed files with 12 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ from django.conf import settings
from django.utils.timezone import now as timezone_now
from confirmation.models import one_click_unsubscribe_link
from zerver.lib.notifications import build_message_list
from zerver.lib.email_notifications import build_message_list
from zerver.lib.send_email import send_future_email, FromAddress
from zerver.lib.url_encoding import encode_stream
from zerver.models import UserProfile, UserMessage, Recipient, \