示例#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)
示例#2
0
 def get(self, request, *args, **kwargs):
     return conf.run_flow('USERS_FLOW_DOWN', request=self.request)
示例#3
0
 def form_valid(self, form):
     return conf.run_flow('USERS_FLOW_UP',
                          request=self.request,
                          user=form.user,
                          is_new=False)
示例#4
0
 def get(self, request, *args, **kwargs):
     return conf.run_flow("USERS_FLOW_DOWN", request=self.request)