'Returns a list of app paths that have a static directory'

def get_staticfiles_apps(self):

    apps = []
    for finder in finders.get_finders():
        if isinstance(finder, finders.AppDirectoriesFinder):
            for app in finder.apps:
                if (app not in apps):
                    apps.append(app)
    return apps
