GCal Mapping: Callback mechanism using channels
This commit is contained in:
committed by
Martin Bauer
parent
ba0cde09c1
commit
fcb04058b5
@@ -61,7 +61,6 @@ def eventplanning( request ):
|
||||
"""
|
||||
View for a specific user, to edit his events
|
||||
"""
|
||||
EventParticipation.raiseBeforeReadSignal()
|
||||
# non-members see the grid - but cannot edit anything
|
||||
if not EventParticipation.isMember( request.user ):
|
||||
return events_grid(request)
|
||||
@@ -78,8 +77,6 @@ def eventplanning( request ):
|
||||
|
||||
|
||||
def events_grid( request ):
|
||||
EventParticipation.raiseBeforeReadSignal()
|
||||
|
||||
usernames = [ u.username for u in EventParticipation.members() ]
|
||||
|
||||
all_future_events = list ( Event.objects.filter( date__gte = datetime.date.today() ).order_by( 'date') )
|
||||
@@ -135,7 +132,6 @@ class EventUpdate( UpdateView ):
|
||||
|
||||
|
||||
class EventCreate( CreateView ):
|
||||
|
||||
form_class = EventForm
|
||||
model = Event
|
||||
template_name_suffix = "_update_form"
|
||||
|
||||
Reference in New Issue
Block a user