from django.http import HttpResponseRedirect urlpatterns += patterns('', (r'^my_url$', lambda r: HttpResponseRedirect('http://www.google.com')) )