我在尝试自动安装 Emacs 软件包时遇到此错误。
Warning (initialization): An error occurred while loading `/Users/username/.emacs.d/init.el':
File error: http://melpa.org/packages/projectile-20150619.800.el, Not found
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
Run Code Online (Sandbox Code Playgroud) 我正在使用 Django Rest 框架实现 API。我想知道 Python 可以像 Ruby 一样将 POST 参数作为数组发送吗?
例如:
POST /api/end_point/
params = { 'user_id': [1,2,3] }
# In controller, we get an array of user_id:
user_ids = params[:user_id] # [1,2,3]
Run Code Online (Sandbox Code Playgroud)