摘要:
创建一个自己的setting xxx.setting export DJANGO_SETTINGS_MODULE="xxx.setting" 然后在项目中import原生的settings 阅读全文
posted @ 2018-06-18 17:11
PhoenixTree(梧桐树)
阅读(464)
评论(0)
推荐(0)
摘要:
ROOT_URLCONF root URLconf module urlpatterns “include” other URLconf modules chops off whatever part of the URL matched up to that point and sends the 阅读全文
posted @ 2018-06-18 16:14
PhoenixTree(梧桐树)
阅读(148)
评论(0)
推荐(0)
摘要:
在正则表达式的字符串前面加上r表示这个是一个raw字符串,只以正则表达式的元字符进行解析,不用理会ascii的特殊字符。 阅读全文
posted @ 2018-06-18 15:51
PhoenixTree(梧桐树)
阅读(1077)
评论(0)
推荐(0)

浙公网安备 33010602011771号