omake.accense.com
CythonTranslation – アクセンスのおまけ
http://omake.accense.com/wiki/CythonTranslation
Http:/ omake.accense.com/static/doc-ja/cython/index.html. Download in other formats:. Powered by Trac 0.12.2.
omake.accense.com
BlockInJinja2Template – アクセンスのおまけ
http://omake.accense.com/wiki/BlockInJinja2Template
Jinja2 で for ループの中でブロックを使いたいとき. Jinja2 で、 for ループの中にブロックを書きたいとき、ありますよね. This is base template base.html #} table {% for object in objects %} tr {% block subtemplate should override this %} {% endblock %} /tr {% endfor %} /table. Extends "base.html" %} {% block subtemplate should override this %} th { object.id } /th td { object.value1 } /td . {% endblock %}. Http:/ jinja.pocoo.org/templates/#block-nesting-and-scope. Download in other formats:. Powered by Trac 0.12.2.
omake.accense.com
SqlAlchemyTranslation – アクセンスのおまけ
http://omake.accense.com/wiki/SqlAlchemyTranslation
ある分野のWebアプリに必須な機能をコンパクトに提供する Django のORMに対して、 SQLでできることを可能なかぎりサポートする ORMにするために、徹底的に抽象化を試みています。 まだ和書も少ないし、オライリーから出ている Essential SQLAlchemy のバージョンはちょっと古い。 SQLAlchemyドキュメント和訳 (底本バージョン: 0.6.5). Download in other formats:. Powered by Trac 0.12.2.
themorethemari.blogspot.com
THE MORE THE MARI: June 2010
http://themorethemari.blogspot.com/2010_06_01_archive.html
THE MORE THE MARI. THE MORE THE MARI blogs about life in MARIMORE Inc, a startup in Tokyo creating products that aim to make our lives easier. Thursday, 10 June 2010. PyCon APAC 2010 シンガポールにいってきましたー. おもしろかったのは、午前のセッションの "The Five Habits Of Test Infected Developers" というテーマの. TDD (Test Driven Development)の開発方法の説明でした。これはとても興味深いで、実際に行っていけばアプリケーションコードよりもテストコードのほうが多くなっていくという。 カンファレンス自体の内容もかなりおもしろかったものです。 プレゼンターの皆さんはガチガチでやっているという感じがなく、かなりルースな感じでプレゼンを行っていました。 Thursday, June 10, 2010. Tags python apac pycon.
omake.accense.com
TwitterBotExample – アクセンスのおまけ
http://omake.accense.com/wiki/TwitterBotExample
Consumer key ,. Get authorization url (). Pickle path (),. Pickle path () ). Get access token (. Pickle path (),. Tm mday ,. Tm hour ,. Pickle path () ). Update profile image (. Start the OAuth session'. Verify with the verifier'. Download in other formats:. Powered by Trac 0.12.2.
omake.accense.com
DjangoUniqueTogetherWithInheritance – アクセンスのおまけ
http://omake.accense.com/wiki/DjangoUniqueTogetherWithInheritance
マルチテーブル継承と unique together を一緒に使うとちょっと困る. From django.db import models class MtParent(models.Model): main = models.CharField(max length=100) def unicode (self): return self.main class MtChild(MtParent): sub = models.CharField(max length=100) extra = models.CharField(max length=100) class Meta: unique together = ('sub', 'extra',) def unicode (self): return '%s, %s' %(self.sub, self.extra). 子モデルで unique together に反するオブジェクトを保存すると . oops! 先に unique together かどうか手動で確かめる。 Download in other formats:.
omake.accense.com
LionetDjangoApp – アクセンスのおまけ
http://omake.accense.com/wiki/LionetDjangoApp
Sphinx でビルドしたドキュメントを公開するための Django アプリケーション、 Lionet を公開しました。 Http:/ pypi.python.org/pypi/lionet/. テキストファイルから簡単に HTML や PDF のドキュメント配布物を作れるので、とても便利。 さて、Sphinx の HTML ビルダは、全てのコンテンツを相対パスで参照する HTML を生成するので、ビルドした ドキュメントはオフラインでも参照できます。 Sphinx のビルダがテンプレートの適用までしてしまうので、プロジェクトごとに見栄えが 違っていたり、デフォルトの 個人的にはあまり好きじゃない レイアウトで表示される。 不満を解決するために作ってみたのが、 lionet という Django アプリケーションです。 Sphinx には、HTML ビルダの他に、pickle ビルダが付属しています。 Lionet は、この pickle データを使ってコンテンツを. Sphinx を使って、好きなドキュメントを pickle ビルダでビルドします。 Lionet standalone/ または /li...
omake.accense.com
rst2mobi – アクセンスのおまけ
http://omake.accense.com/wiki/rst2mobi
このところ、reStructuredText を Mobipocket フォーマットのドキュメントに変換するためのライブラリを細々と開発しています。 Mobipocket フォーマットというのは、Palm の扱う PalmDB というファイル構造をベースにした電子書籍フォーマットで、 Amazon の Kindle がサポートしている AZW と、 DRM (著作権管理機能) を除けば実質的に同じフォーマットです 少なくとも、2010/02 時点の Kindle は、 Mobipocket フォーマットのドキュメントを閲覧できます。 さて、 reStructredText の説明は、必要ないですよね rst2mobi は、 reStructuredText で書かれたドキュメントを Mobipocket に変換するためのライブラリです。 Http:/ rst2mobi.appspot.com/. 感想やご意見を twitter: whosaysni にいただけると、もっと嬉しい。 Download in other formats:. Powered by Trac 0.12.2.
omake.accense.com
Available Reports – アクセンスのおまけ
http://omake.accense.com/report
Active Tickets by Version. All Tickets by Milestone. Assigned, Active Tickets by Owner. Assigned, Active Tickets by Owner (Full Description). All Tickets By Milestone (Including closed). Active Tickets, Mine first. For help on using and creating reports. Download in other formats:. Powered by Trac 0.12.2.