报错:127.0.0.1/:1 Access to XMLHttpRequest at 'http://www.meiduo.site:8000/qq/login/?next=/' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
解决(浏览器url要对应前端中url):方案(1)浏览器127.0.0.1:8000/login/ --> 前端127.0.0.1:8000/qq/login/ 方案(2)浏览器 www.meiduo.site:8000/login/ --> 前端www.meiduo.site:8000/qq/login/