GCal Mapping: Callback mechanism using channels

This commit is contained in:
Martin Bauer
2014-04-19 20:36:01 +02:00
committed by Martin Bauer
parent ba0cde09c1
commit fcb04058b5
16 changed files with 185 additions and 45 deletions

View File

@@ -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"