Django获取请求的IP地址
x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') # 判断是否使用代理 if x_forwarded_for: ip = x_forwarded_...
2018 年以来的技术笔记。地址没变,只是不再铺在首页上。
x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') # 判断是否使用代理 if x_forwarded_for: ip = x_forwarded_...
https://www.cnblogs.com/wenqiangit/p/11194551.html
https://www.cnblogs.com/wenqiangit/p/11194551.html
https://juejin.cn/post/7083429856330907685
https://aber.sh/articles/Django-Admin-Name/
https://www.cnblogs.com/baiyangcao/p/pymssql_basic.html
https://pythondjango.cn/django/rest-framework/1-RESTfull-API-why-DRF/
https://www.cnblogs.com/peng-zone/p/11833320.html
https://blog.51cto.com/u_15966109/6082754
the problem is my settings AUTHENTICATION_BACKENDS = ( 'member.backends.EmailPasswordBackend' ) does not ha...