You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Flask-Migrate¶ Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations are made available through the Flask command-line interface. Why Use Flask-Migrate vs. Alembic Directly?¶ Flask-Migrate is an extension that configures Alembic in the proper way to work with your Flask and Flask-SQLAlchemy application. In terms of t
Eve. The Simple Way to REST¶ Version 2.2.1. Eve is an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services. Eve is powered by Flask and Cerberus and it offers native support for MongoDB data stores. Support for SQL, Elasticsearch and Neo4js backends is provided by community extensions. T
Poll Without Pain. The performance of nonblocking I/O meets the convenience of coroutines. Packed with a bunch of useful protocols and a first-class toolkit for concurrency, diesel is the best way to write network applications in Python. Try It (requires RFC 6455 WebSockets): from diesel.web import DieselFlask from diesel.util.queue import Fanout from diesel import first app = DieselFlask(__name__
Many web applications require users to sign in and out in order to perform important tasks (like administration duties). In this article, we'll create an authentication system for our application. In the previous article, we built a contact page using the Flask-WTF and Flask-Mail extensions. We'll use Flask-WTF, once again, this time to validate a user's username and password. We'll save these cre
前回はこちら→セキュリティテストプラットフォームMinion最速ガイド こんにちは。こんばんは。CTOの馬場です。 OSSのセキュリティテストプラットフォームのガイドの第2回です。 たぶん日本最速級Administration Guideだとおもいます。 前回の セキュリティテストプラットフォームMinion最速ガイド の続きです。 今回はAdministration Menu関連とPluginについてです。 User / Site / Group / Plan の関係 Administration Menuについてちょろっと解説します。 User Minionのユーザのこと。 メールアドレスごとに作成します。 Roleを持ちます (user|administrator) 複数のGroupに参加できます Site チェック対象のサイト(URL)のこと。 URLごとに作成します。 Owner
Flask の test_client() とか test_request_context() とか app_context()。 The Application Context The Request Context flask/app.py flask/ctx.py flask/testing.py werkzeug/test.py Flask-Testing Flask.wsgi_app() の動作 class Flask(_PackageBoundObject): # ... def wsgi_app(self, environ, start_response): with self.request_context(environ): try: response = self.full_dispatch_request() except Exception, e: response
June 26, 2013 How I Structure My Flask Applications Flask has been my preferred web framework as of late. I think it has a great core feature set and Armin, the main author, has done well to keep it's API minimal and easy to digest even for developers that are relatively new to Python. However, given that it is a rather minimal framework, it can be often difficult to decide on how to structure an
13.02.27 バグの発生箇所を掴んだ。OpenIDサーバーだった。開発環境ではエラーが出なくて本番環境でのみ出現するのでサーバーを疑っていたのだけど違った。 本番環境でデバッグログ出したら Error attempting to use stored discovery information: Claimed ID does not match (different subjects!) Expected <wrong-openid> got <right-openid> Attempting discovery to verify endopoint Performing discovery on <wrong-openid> というメッセージが出ていた。 OpenIDサーバーから戻ってきた所でおかしくなっているようだ。referrer出力するようにしたらOpenIDサーバーが認証
Flask-Classy¶ Flask-Classy is an extension that adds class-based views to Flask. But why? I ❤ Flask. Like a lot. But sometimes projects get a little big and I need some way of managing and organizing all the different pieces. I know what you’re saying: “But what about Blueprints?” You’re right. Blueprints are pretty awesome. But I found that they aren’t always enough to encapsulate a specific cont
New Werkzeug and Flask Releases written on Thursday, June 13, 2013 I'm very happy to announce that after a long break there are finally new releases for Werkzeug and Flask. These releases took their fair amount of time and I will ensure the process is quicker next time around. There is however a good reason it took this long: they come with support for Python 3 and we had to do some API changes in
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く