Source

django-template-project / source / conf / apps / web / staticfinders.py

Full commit
1
2
3
4
5
6
7
from django.core.files.storage import FileSystemStorage
from django.contrib.staticfiles.finders import BaseStorageFinder
from django.conf import settings


class StaticRootFinder(BaseStorageFinder):
    storage = FileSystemStorage(settings.STATIC_ROOT, settings.STATIC_URL)