2011年12月2日

摘要: settings.pyMEDIA_ROOT = '/home/lotus/django/myblog/css'MEDIA_URL = '/statics/'STATIC_ROOT = '/home/lotus/django/myblog'STATIC_URL = '/static/'urls.pyif settings.DEBUG:urlpatterns += patterns('', (r'^statics/(?P<path>.*)$', 'django.views.stati 阅读全文

posted @ 2011-12-02 21:40 仆本浪人 阅读(749) 评论(1) 推荐(0) 编辑