close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libgmp.so.10: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
Django
【學習動機】
- 提供 light-weight 的 web介面給 drbl-virt 使用
- 考量到 python 已經是所有 linux 必備套件 (Django 是基於 python 的網頁框架)
【Django 測試】
[安裝]
[開發環境]
- 使用 Eclipse 來開發 (但因 Eclipse 是 for java 的,所以必須再安裝新的套件 PyDev)
- 打開 Eclipse 新增 "http://pydev.org/nightly" 到您的 Available Softwate Site
- 搜尋 pydev 並安裝
- 安裝後到 "偏好設定" 去設定 python 直譯器 和 函式庫 的路徑
[使用]
1.1 開啟專案
2.1 開啟 models (模型)
- 若網頁應用需要使用到資料庫,則必須先到 setting.py 設定使用的資料庫資訊 (支援 PostgreSQL, MySQL, SQLite3)
【如何整合到 drbl-virt】
【參考】
Download in other formats: