Hi Ihor,
Thank you for your email. We do not have any reference to heroku but
Digital Oceanś App platform is using heroku. We resolved the above error
by adding this environment variable:
DISABLE_COLLECTSTATIC = 1
But we are planning to enable this once the main deployment is done.
Best Regards,
~Ram
On Monday, December 18, 2023 at 3:02:47 PM UTC-7 Ihor Dmytrenko wrote:
> Why you have heroku in your log? Remove all old dependency configs in your
> settings first and then you need specify
>
> ```python
> STATICFILES_DIRS = [
> os.path.join(BASE_DIR, 'static'),
> ]
>
> STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
> STATIC_URL = '/static/'
>
> HOME_DIRECTORY_SELF_STORAGE = os.path.expanduser('~')
> MEDIA_ROOT = os.path.join(HOME_DIRECTORY_SELF_STORAGE, 'public_html/')
> MEDIA_URL = '/media/'
> DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
> ```
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/dd8bd37a-b000-4872-b56b-06487410665an%40googlegroups.com.