2014-03-31 4 views

답변

0

views.py 코드를 공유해야합니다.

 
from django.http import HttpResponseRedirect 
def index(request): 
    # you logic to check login 
    return HttpResponseRedirect('/') # it will redirect you to "/" 
:
어쨌든 당신은 HttpResponseRedirect
예를 사용할 수 있습니다
관련 문제