Django Hack-a-thonで聞かれて口頭で答えたのを今思い出したので書いておく。 僕はsettings.pyのINSTALLED_APPSの設定の後にこう書いてる。 IS_LOCAL = os.environ.get('SERVER_SOFTWARE', '').startswith('Dev') if not IS_LOCAL: INSTALLED_APPS.remove("myapp")
本サーバのログを見ていたらCPU警告だらけになっていたので、チューニングして効果のあったものを記録していく。 参考にしたページGoogle App Engineを高速化する3つのtipshttp://mattn.kaoriya.net/software/lang/python/20080526182049.htm ディスク<帯域<CPUの順に制限がキツくなるGoogle App EngineのQuota構成から見るコストパフォーマンスの高いシステム構成http://coreblog.org/ats/now-we-are-free-from-qota-hell Google App Engineのmemcacheを試してみたhttp://taichino.com/programming/487 Google App Engineのmemcache APIがやばすぎるhttp://mattn.
templates/404.html, 500.htmlを適当に書き換えておく これらはdjango.zip内のhtmlに依存していて、その先がmyappに依存しているのでmyappを外すと NoReverseMatch: Reverse for 'settings.myapp.views.list_people' with arguments '()' and keyword arguments '{}' not found.などとエラーが出る。 openidgaeで認証 #urls.py urlpatterns = patterns('', ('^openid/', include('openidgae.urls')), ) + auth_patterns + patterns('', ('^admin/(.*)', admin.site.root), 〜 #settings.py L
Unleash Django with app-engine-patch This article was written and submitted by an external developer. The Google App Engine team thanks Jesaja Everling for his time and expertise. Jesaja Everling February 2009 Introduction The Django framework can make your life as a web developer a lot easier. It takes care of a lot of common problems web developers have to deal with, and offers many "reusable a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く