我在用
https://github.com/andreyfedoseev/django-less
因为我想少用在我的项目上。我加了一句更少的查找者。更少的查找者'到django设置中的STATICFILES\u FINDERS,但当我尝试运行时,会遇到这个错误/管理.py集成商
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 163, in handle_noargs
collected = self.collect()
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 103, in collect
for finder in finders.get_finders():
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 252, in get_finders
yield get_finder(finder_path)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/utils/functional.py", line 27, in wrapper
result = func(*args)
File "/Users/jean-lucmartin/lolsales/venv/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 265, in _get_finder
(module, e))
django.core.exceptions.ImproperlyConfigured: Error importing module less.finders: "No module named finders"
所以很明显没有“发现者”模块。。但为什么!?!?!?在
目前没有回答
相关问题 更多 >
编程相关推荐