遵循restfulAPI,可以根据自己需求扩展
myapp\apiauth\auth.py 为api认证的装饰器
myapp\apiauth\views.py 是api的处理
url为 http://127.0.0.1:8000/api/host_ip/
myapp\client\api_request.py 客户端的示例 如何发送请求。
-
Notifications
You must be signed in to change notification settings - Fork 0
s57445560/apiauth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
django的api认证
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published