Changes between Version 2 and Version 3 of CookBookRequiredGroupLogin


Ignore:
Timestamp:
Oct 12, 2007, 11:43:43 AM (17 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookRequiredGroupLogin

    v2 v3  
    1616                if test_func(request.user):
    1717                    return view_func(request, *args, **kwargs)
    18                 return HttpResponseRedirect('%s?%s=%s' % (login_url, REDIRECT_FIELD_NAME, quote(request.get_full_path
    19 ())))
     18                return HttpResponseRedirect('%s?%s=%s' % (login_url, REDIRECT_FIELD_NAME, quote(request.get_full_path())))
    2019            except:
    2120                raise Http404
Back to Top