Beard spot
2013年4月2日 星期二
[Django]引用ajax,出現csrf錯誤
›
2013年3月11日 星期一
[Django] refresh div with JQuery
›
Example: Template 1 <script> function refresh_infos(element){ var id = "test" $.ajax({ type: ...
2013年3月9日 星期六
[Codeigniter]ajax upload
›
Simple Example: Controller: public function upload_file(){ $file_element_name = $_POST['file_element_name']; ...
2013年2月21日 星期四
[Code_Note] 引用外部API - 設計排版
›
在設計排版部分,可以將外部API獨立成method, 只要將需要的資料利用變數丟入即可 這樣可以加強程式的彈性 ex: requestData("1") def requestData(a): request_data = ...
2013年1月30日 星期三
[Django] 如何取得django form資料
›
先簡單記錄一下,如何在python後台取得前端傳送的django form資料: if request.method == "POST": form = xxForm(request.POST , prefix='fd') ...
2013年1月21日 星期一
[Python] 開發環境檔案夾選擇
›
小技巧: 在不同系統中可以建立多個不同變數: local_folder = 'D:/projects/a' online_folder = '/django_projects/b' 利用if判斷讓系統自行判斷存入資料夾 if ...
2012年9月2日 星期日
[Django-Firebird] Django連結Firebird整理
›
首先: 檔案部分位於: Django 1.3 (or higher) > django-firebird Django 1.4 > django-firebird driv...
›
首頁
查看網路版