Merge branch 'master' of https://github.com/mrunge/django-pyscss
This commit is contained in:
commit
a982128918
|
@ -13,6 +13,7 @@ def find_all_files(glob):
|
|||
"""
|
||||
for finder in finders.get_finders():
|
||||
for path, storage in finder.list([]):
|
||||
if fnmatch.fnmatchcase(os.path.join(storage.prefix or '', path),
|
||||
if fnmatch.fnmatchcase(os.path.join(getattr(storage, 'prefix', '')
|
||||
or '', path),
|
||||
glob):
|
||||
yield path, storage
|
||||
|
|
|
@ -3,6 +3,10 @@ import os
|
|||
import sys
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testproject.testproject.settings")
|
||||
|
||||
import django
|
||||
if hasattr(django, 'setup'):
|
||||
django.setup()
|
||||
|
||||
from django.test.utils import get_runner
|
||||
from django.conf import settings
|
||||
|
||||
|
|
Loading…
Reference in New Issue