i have django_cms application. runs correctly both locally , remotely once deploy. problem comes when want use whitenoise manage staticfiles. once install white noise , adjust settings.py file below details,
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) project_root = os.path.dirname(os.path.abspath(__file__)) static_root = os.path.join(project_root, 'staticfiles') static_url = '/static/' media_root = os.path.join(project_root, 'media') media_url = '/media/' staticfiles_dirs = ( os.path.join(project_root, 'static'), ) staticfiles_storage = 'whitenoise.django.gzipmanifeststaticfilesstorage'
and try run server error below.
valueerror: file 'filer/js/addons/popup_handling.js' not found <whitenoise.storage.compressedmanifeststaticfilesstorage object @ 0x7f9a96e45690>.
this error on local server , when run heroku logs
same error.
kindly assist.
Comments
Post a Comment