未加星标

Webinar: Adding a REST API to a Django Application

字体大小 | |
[开发(python) 所属分类 开发(python) | 发布者 店小二04 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Calvin Hendryx-Parker (CTO of sixfeetup, and founder of the Indianapolis-based IndyPy user group) hosted a webinar for us where he showed how to add a REST API to a Django application.

In the webinar, he shows how to use djangorestframework. This library makes adding a REST API to a Django application very easy. The framework supports serving JSON and HTML endpoints by default, but can be extended to support other formats like XML and CSV.

Calvin discusses how to use viewsets and routers to make the code concise and effective. Furthermore he shows how to add authentication to the API.

To follow along with Calvin, you can clone the repository from GitHub . To do this right in PyCharm go to VCS | Checkout from Version Control | GitHub, and then use the following repository URL: https://github.com/sixfeetup/ElevenNote.git

PyCharm Professional Edition has several features which make Django development a lot easier: tight integration with the framework itself for the manage.py console, and tailored run configurations. Other Professional Edition features that make web development easier are for example the REST client, and the built-in database tooling (from DataGrip, the JetBrains database IDE).

Please keep in mind that Calvin uses several features that are available only in PyCharm Professional Edition, if you’re using PyCharm Community Edition you can try these features 30 days for free by downloading the latest version of PyCharm Professional Edition .

If you have any questions or comments about the webinar, feel free to leave them in the comments below, or you can reach us on Twitter . Calvin is on Twitter as well, his Twitter handle is @calvinhp .

-PyCharm Team

The Drive to Develop

本文开发(python)相关术语:python基础教程 python多线程 web开发工程师 软件开发工程师 软件开发流程

主题: RESTDjangoGitGitHubXMLHTMLTwitter
分页:12
转载请注明
本文标题:Webinar: Adding a REST API to a Django Application
本站链接:http://www.codesec.net/view/523133.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 开发(python) | 评论(0) | 阅读(888)