Revision 270dd48d snf-astakos-app/astakos/im/context_processors.py

b/snf-astakos-app/astakos/im/context_processors.py
43 43
    return {'im_modules': IM_MODULES}
44 44

  
45 45
def next(request):
46
    return {'next' : request.GET.get('next', '')}
46
    query_dict = request.__getattribute__(request.method)
47
    return {'next' : query_dict.get('next', '')}
47 48

  
48 49
def code(request):
49 50
    return {'code' : request.GET.get('code', '')}

Also available in: Unified diff