In the 48 hours since I launched the new version of this site, I’ve been inundated with questions about Django, thePython-based web application framework I used tobuildit. I’ve pointed many people at the official Django website, which is loaded with great information. However, most ofit isaimed at programmers — and rightfully so. Django is, after all, a platform forprogramming web applicatio
そんなわけで、前回のチュートリアルの続き。 とりあえずの起動確認が出来たので、 setting.pyを編集してDB接続設定をします。 で、setting.pyを開けてみると、DATABASE_*のような設定があるので、 自分のDBにあった設定をしてみる。 その下もTIME_ZONEやLANGUAGE_CODEとかがあって、英語だけど、丁寧にコメントが打ってある。 そのままでも動きそうだけど、折角なので編集してみる。 こんな感じ。DATABASE_ENGINE = 'mysql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.DATABASE_NAME = 'django' # Or path todatabase file if usingsqlite3.DATABASE_USER = 'django' # Not used

1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く