django - How to get collectstatic to collect the static files of an external App -


i'm working on project requires external fileupload package, separate project. 'collectstatic' not include static files of external package. need change external package or can use settings.py of project include static files? works if do:

staticfiles_dirs = (     str(apps_dir.path('my_app/static')),     str(apps_dir.path('../other_app/fileupload/static')) ) 

but not work on deployment server.

you need include app in installed_apps; collectstatic include files automatically.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -