- schedule = get_active_schedule(request.user)
- if schedule is not None:
- return HttpResponseRedirect(schedule.get_absolute_url())
- else:
- return super(JoinView, self).get(request)
-
- def get_form_kwargs(self):
- kwargs = super().get_form_kwargs()
- kwargs['request'] = self.request
- return kwargs
+ #schedule = get_active_schedule(request.user)
+ #if schedule is not None:
+ # return HttpResponseRedirect(schedule.get_absolute_url())
+ #else:
+ return super(JoinView, self).get(request)