摘要: #encoding:utf-8from django.shortcuts import render_to_responseimport hashlibfrom binascii import b2a_hex def GetData(request,key): ''' 获取GET与Post提交参数的 阅读全文
posted @ 2017-09-17 22:53 雪纷飞 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: __author__ = 'Administrator'from django.utils.safestring import mark_safeclass Page: def __init__(self, current_page, data_count, per_page_count=10, p 阅读全文
posted @ 2017-09-17 22:51 雪纷飞 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 一:保证python运行环境安装 apt-get install python 如果需要进行开发则还要安装python-dev apt-get install python-dev 二:安装django 首先保证安装了pip包 利用pip进行django安装 pip install django 三 阅读全文
posted @ 2017-09-17 21:19 雪纷飞 阅读(409) 评论(0) 推荐(0) 编辑