Python django_静态

Python django_静态,python,django,django-static,Python,Django,Django Static,我无法呈现某人发送给我的python应用程序 settings.py: STATIC_URL = '/static/' DJANGO_STATIC = True DJANGO_STATIC_NAME_PREFIX = '/static' DJANGO_STATIC_SAVE_PREFIX = '/tmp/cache-archinot INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes',

我无法呈现某人发送给我的python应用程序

settings.py:

STATIC_URL = '/static/'
DJANGO_STATIC = True
DJANGO_STATIC_NAME_PREFIX = '/static'
DJANGO_STATIC_SAVE_PREFIX = '/tmp/cache-archinot


INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django_static',
)
当我运行服务器时,我得到:

ImportError: No module named django_static
我从网上下载了zip

https://github.com/peterbe/django-static
但是我不知道把我下载的东西放在哪里。请帮助我,我是python django等的新手。。 哦,最后,如果我评论这句话

#'django_static',
然后服务器运行,但我无法呈现任何页面,因为他们使用django_static作为模板


感谢您使用
pip
easy\u安装
django static

pip安装django static

轻松安装django static

如果遇到任何问题,可以在此处查看配置说明


django static
光盘解压缩到某个地方的目录中,然后通过运行
python setup.py install来安装它。