forked from mirror/django-mailbox
Setting for original message upload_to
Also changed the default from "messages" to separate-by-date directories "mailbox_messages/%Y/%m/%d/"
This commit is contained in:
parent
eec7fb76f9
commit
3b50b052ef
4 changed files with 47 additions and 5 deletions
|
|
@ -81,6 +81,15 @@ Settings
|
|||
* Type: ``boolean``
|
||||
* Controls whether or not we store original messages in ``eml`` field
|
||||
|
||||
* ``DJANGO_MAILBOX_ORIGINAL_MESSAGE_UPLOAD_TO``
|
||||
|
||||
* Default: ``mailbox_messages/%Y/%m/%d/``
|
||||
* Type: ``string``
|
||||
* If original messages saving is enabled, they will be saved to this location.
|
||||
Specifies the ``upload_to`` setting for the eml FileField. For more on
|
||||
FileFields and upload_to, see the
|
||||
`Django docs <https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#handling-uploaded-files-with-a-model>`__
|
||||
|
||||
* ``DJANGO_MAILBOX_DEFAULT_CHARSET``
|
||||
|
||||
* Default: ``iso8859-1``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue