GCal Mapping: Callback mechanism using channels
This commit is contained in:
committed by
Martin Bauer
parent
ba0cde09c1
commit
fcb04058b5
@@ -116,8 +116,6 @@ class Event ( models.Model ):
|
||||
return nextEvent
|
||||
|
||||
|
||||
before_read = Signal()
|
||||
|
||||
|
||||
class EventParticipation( models.Model ):
|
||||
OPTIONS = ( ('?' , _('?' )),
|
||||
@@ -147,10 +145,6 @@ class EventParticipation( models.Model ):
|
||||
else:
|
||||
return True
|
||||
|
||||
@staticmethod
|
||||
def raiseBeforeReadSignal():
|
||||
before_read.send( sender=EventParticipation )
|
||||
|
||||
@staticmethod
|
||||
def isMember( user ):
|
||||
return user.has_perm('eventplanner.member')
|
||||
|
||||
Reference in New Issue
Block a user