推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
eluotao
V2EX  ›  Python

求一份 Python 带权限认证的 api 模板学习!

  •  
  •   eluotao · Apr 6, 2021 via iPhone · 1203 views
    This topic created in 1895 days ago, the information mentioned may be changed or developed.

    框架 django or flask 都可以!适合新手学习的!

    想学习 api 权限认证,有没有前辈知道的提供一下,请喝咖啡一杯!

    诚意求学!还望各位前辈指点一二!

    luckyc
        1
    luckyc  
       Apr 8, 2021 via iPhone
    自己实现一下?数据库记录用户对应的模块权限
    进模块之前用装饰器判断一下有没有权限。没有就 403
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2699 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 1885ms · UTC 10:48 · PVG 18:48 · LAX 03:48 · JFK 06:48
    ♥ Do have faith in what you're doing.