MyNotes
  • ipython安裝及與virtualenv一起使用
    • 1. create ipython profile setting file:
    • 2. 啟動ipython
    • 3. 讓ipython 與 virtualenv一併使用:
  • 利用nginx 及 gunicorn來佈署Django application
    • Django的設定
    • gunicorn指令
    • nginx設定
  • 利用django-crontab來佈署系統cron jobs
    • 安裝 django-crontab Django application
    • settings.py 設定
    • cron function 範例
  • Django Email範例
    • settings.py
    • email python code
  • Django登入畫面範例
    • settings.py
    • urls.py
    • View functions need login protection
    • Login template 範例
  • 信用卡金流串接範例
    • 重要參數設定:
    • Form class: 定義要傳給第三方金流公司的參數
    • View function: render form template code
    • Template code: 自動送出order form
    • Model/Form class: 用來儲存金流處理server回call時, 傳入的參數
    • Callback view function 範例:
 
MyNotes
  • Docs »
  • Edit on GitHub


© Copyright 2013, Ryan Nieh.

Built with Sphinx using a theme provided by Read the Docs.