Revision 49df775e
b/astakos/im/views.py | ||
---|---|---|
401 | 401 |
response['Location'] = next |
402 | 402 |
response.status_code = 302 |
403 | 403 |
return response |
404 |
html = render_to_string(template, context_instance=get_context(request, extra_context)) |
|
405 |
return HttpResponse(html) |
|
404 |
context = get_context(request, extra_context) |
|
405 |
response.write(render_to_string(template, context_instance=context)) |
|
406 |
return response |
|
406 | 407 |
|
407 | 408 |
def activate(request): |
408 | 409 |
""" |
Also available in: Unified diff