On Wed, Nov 1, 2017 at 11:35 AM, Stodge wrote:
> I'm trying to add an extra directory for each app that will contain
> Javascript/CSS files. I created a custom storage.py in my app containing a
> copy of the code from Django's AppDirectoriesFinder class, but I changed
> source_dir from "static" t
There's a flaw in my plan as STATICFILES_STORAGE is a string and not a
tuple.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegr
As usual, despite working on this for a while, the solution hits me after I
post here.
I have to define a custom finder that uses my custom storage. Bingo!
class CatalogFinder(AppDirectoriesFinder):
storage_class = AppCatalogStorage
def __init__(self, apps=None, *args, **kwargs):
3 matches
Mail list logo