added option to choose webdav path

This commit is contained in:
vabene1111
2021-01-22 20:29:29 +01:00
parent fce293e722
commit f1b7ed7d7a
6 changed files with 51 additions and 7 deletions

View File

@ -238,7 +238,7 @@ class StorageForm(forms.ModelForm):
class Meta:
model = Storage
fields = ('name', 'method', 'username', 'password', 'token', 'url')
fields = ('name', 'method', 'username', 'password', 'token', 'url', 'path')
help_texts = {
'url': _('Leave empty for dropbox and enter only base url for nextcloud (<code>/remote.php/webdav/</code> is added automatically)'), # noqa: E501