mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Support displayname and principal-URL tags in PROPFIND requests
This commit is contained in:
parent
873dec1d5d
commit
71819cdb39
3 changed files with 26 additions and 18 deletions
|
@ -229,6 +229,11 @@ class Calendar(object):
|
|||
"""Etag from calendar."""
|
||||
return '"%s"' % hash(self.text)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Calendar name."""
|
||||
return self.path.split(os.path.sep)[-1]
|
||||
|
||||
@property
|
||||
def text(self):
|
||||
"""Calendar as plain text."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue