That works if i redirect a django view page to another django view
page.
what if i want to redirect to a non-django view page,like a mp3 file.

Chris Long 写道:

> If you had two views:
>
> def view_1(request):
>    ....
>    return render_to_response(...)
>
> def view_2(request):
>   ....
>   return view_1(request)
> 
> Will return the view_1 but will be under the view_2 URL.
> 
> Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to