python-django學習筆記-第一個hello world

1.配置項目 配置項目的setting文件,將sign應用添加至項目中 2.添加index配置路徑 打開urls.py添加/index/配置路徑 3.在view中創建index 打開view.py創建index方法 3.Django框架處理流程 4.cookie的使用 response = HttpResponseRedirect('/event_manage/') response.set_co
相關文章
相關標籤/搜索