I have a visual method that is called through the AJAX request. Redirected to, but I can not redirect to work. If application_type = request.POST ['application_type'] if application_type == 'job': apply_job (request) alif application_type =
def: = 'availability': to apply (request) Return of Return ('useraccount_dashboard') KeyError: HttpResponseRedirect (reverse_lazy ('useraccount_dashboard') except for messages.error (Request, 'Request Fail!') Other: Extend HTML 404
/ Pre>
No comments:
Post a Comment