本地主机在浏览器中为我提供数据,如屏幕截图所示,但是Volly课程给了我 '请求超时。'
*它在窗口8中运行良好,但最近我将窗口8改为10,所以现在我面临这个问题,但我认为这不是因为这个原因*
def activate(request, a_code): """ Activate User's Account by code from his email. """ try: user = User.objects.get(activatecode__code=a_code) user.is_active = True context = {} return render(request, "user/success.html", context)