Just do one thing, write STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles'). Ok. This will definitely solve your problem. I've an experience of deploying my django projects. If any problems then message me at dashlakshyaraj2...@gmail.com.
On Wed, Oct 27, 2021, 18:34 'Mr. Aryan Sharma 4-Year B.Tech. Computer Science and Engineering' via Django users <django-users@googlegroups.com> wrote: > i am using heroku > > -- > 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...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/97077339-6e26-4c7d-9653-baf215d1abf7n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/97077339-6e26-4c7d-9653-baf215d1abf7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgB3xhfxGD3Pb-N2uRpMf4FwS6sObWRqRiccR0Z_-QxnEA%40mail.gmail.com.