![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
djano框架
wilde_lf
这个作者很懒,什么都没留下…
展开
-
Template下的simple-tags注意事项
Make sure you are not missing any of the following steps:Create a folder called "templatetags" at the same level as models.py and views.py in your application folderYour application must be in the INS...原创 2018-03-14 21:47:17 · 344 阅读 · 0 评论 -
Python Django 中的STATIC_URL 设置和使用解析
使用Django静态设置时,遇到很多问题,经过艰苦的Baidu, stack overflow, Django原档阅读,终于把静态图片给搞出来了。特记录下来。关键的概念:Django中,静态资源的存放通过设置 STATIC_URL, STATICFILES_DIRS 来设置,一般STATIC_URL设置为:/static/STATIC_URL='/static/', 这个static 是在Djan...2018-03-01 00:57:21 · 1472 阅读 · 0 评论 -
Celery配置
http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html原创 2018-05-11 14:41:48 · 209 阅读 · 0 评论