Example #1
0
 def form_valid(self, form):
     return conf.run_flow('USERS_FLOW_UP',
                          request=self.request,
                          data=form.cleaned_data,
                          user=None,
                          is_new=True)
Example #2
0
 def get(self, request, *args, **kwargs):
     return conf.run_flow('USERS_FLOW_DOWN', request=self.request)
Example #3
0
 def form_valid(self, form):
     return conf.run_flow('USERS_FLOW_UP',
                          request=self.request,
                          user=form.user,
                          is_new=False)
Example #4
0
 def get(self, request, *args, **kwargs):
     return conf.run_flow("USERS_FLOW_DOWN", request=self.request)