mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-14 10:08:28 +02:00
ifix(email): Create the log file only if required
+ update some translations + update some tests to correctly mock unlink as well + fix flake8 errors and sort the imports in email module + update some log messages to pass base message + parameters instead of rendered string (works better with Sentry)
This commit is contained in:
@ -307,7 +307,7 @@ class Queue(models.Model):
|
||||
null=True,
|
||||
help_text=_('If logging is enabled, what directory should we use to '
|
||||
'store log files for this queue? '
|
||||
'If no directory is set, default to /var/log/helpdesk/'),
|
||||
'The standard logging mechanims are used if no directory is set'),
|
||||
)
|
||||
|
||||
default_owner = models.ForeignKey(
|
||||
|
Reference in New Issue
Block a user