Set the STATIC_ROOT conf as follows import os # ignore if once imported STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
Also see of you've allowed that particular host. Thanks and Regards Lakshyaraj Dash On Wed, Nov 9, 2022, 20:57 Mh Raffi <jmra...@gmail.com> wrote: > Hi, > I run cmd to collect static files but files are stored in c:\ but not in > the actual project folder. > My project folder is on the desktop. > while running the command am into that root folder of the project. > and i have images that are also not stored. I have an app in railway host > and debug in a false mode. > I tried the option of white noise and it was still the same. > Can anyone let me know where I am missing? > > > Thanks & Regards > Mohammed Raffi.J > > > -- > 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/CAKfPRhVnz55d%2B%3Dw2N5Q2pJwj96ksnOWFO0njWPExGwNrzA6mMA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKfPRhVnz55d%2B%3Dw2N5Q2pJwj96ksnOWFO0njWPExGwNrzA6mMA%40mail.gmail.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/CAF7qQgBJe0v4JBU_MQ2YJbzEQ1gzttgRz4OfUhdK87soS4VQgw%40mail.gmail.com.