Fetch the repository succeeded.
This action will force synchronization from 37丫37/sadmin, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
python v2.6
django v1.6
Bootstrap v3.2.0
1.安装django 1.6
2.将项目解压在任意目录下,进入项目目录
3.同步数据库,需要先创建好数据库,数据库连接信息在website/settings.py文件中定义
# python manage.py syncdb
4.运行项目
# python manage.py runserver 0.0.0.0:80
5.浏览器访问
1.用户隶属于某个角色(组的概念),角色具有一定的权限
2.当用户访问某个url时,获取当用户的用户名和要访问的URL地址,判断用户隶属的角色是否包含所以访问的url
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。