mirror of
https://github.com/django/django.git
synced 2025-12-08 02:36:40 +00:00
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
This commit is contained in:
parent
5587485d49
commit
6c0042430e
24 changed files with 29 additions and 29 deletions
|
|
@ -21,7 +21,7 @@ class EmailBackend(ConsoleEmailBackend):
|
|||
if not isinstance(self.file_path, str):
|
||||
raise ImproperlyConfigured('Path for saving emails is invalid: %r' % self.file_path)
|
||||
self.file_path = os.path.abspath(self.file_path)
|
||||
# Make sure that self.file_path is an directory if it exists.
|
||||
# Make sure that self.file_path is a directory if it exists.
|
||||
if os.path.exists(self.file_path) and not os.path.isdir(self.file_path):
|
||||
raise ImproperlyConfigured(
|
||||
'Path for saving email messages exists, but is not a directory: %s' % self.file_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue