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

@@ -124,6 +124,7 @@ class Storage(models.Model):
password = models.CharField(max_length=128, blank=True, null=True)
token = models.CharField(max_length=512, blank=True, null=True)
url = models.URLField(blank=True, null=True)
path = models.CharField(blank=True, default='', max_length=256)
created_by = models.ForeignKey(User, on_delete=models.PROTECT)
def __str__(self):