forked from gergely/calendar-social
Add the Response model
This is to store RSVPs.
This commit is contained in:
parent
3308be40ee
commit
06c7b2ea52
@ -103,6 +103,24 @@ class ResponseType(Enum):
|
|||||||
return Enum.__eq__(self, other)
|
return Enum.__eq__(self, other)
|
||||||
|
|
||||||
|
|
||||||
|
class EventAvailability(Enum):
|
||||||
|
free = 0
|
||||||
|
busy = 1
|
||||||
|
|
||||||
|
|
||||||
|
class UserAvailability(EventAvailability):
|
||||||
|
tentative = 2
|
||||||
|
|
||||||
|
|
||||||
|
class ResponseVisibility(Enum):
|
||||||
|
private = 0
|
||||||
|
organisers = 1
|
||||||
|
attendees = 2
|
||||||
|
followers = 3
|
||||||
|
friends = 4
|
||||||
|
public = 5
|
||||||
|
|
||||||
|
|
||||||
class SettingsProxy:
|
class SettingsProxy:
|
||||||
"""Proxy object to get settings for a user
|
"""Proxy object to get settings for a user
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user