try *./manage.py findstatic test.css* Op vrijdag 29 januari 2021 om 15:52:44 UTC+1 schreef [email protected]:
> I’m sending from my phone so it won’t have markdown. > > It looks like your not defining all of them properly. Put a static folder > you’ll manually in trydjango/trydjango. This will be where Staticfiles_dirs > gathers the files. Then static_root will be where is collectstatic will > store them. Static_URL is important as it will be the file name target it > will look for when running collectstatic. > > Try: > > STATIC_ROOT = os.path.join(BASE_DIR, ‘static’) > STATIC_URL = ‘/static/‘ > STATICFILES_DIRS = [ os.path.join(BASE_DIR, ‘trydjango/static’) > > > > Best Regards, > Frank Cipolone > > M: (856) 993-4819 > E: [email protected] > > On Jan 29, 2021, at 6:23 AM, hari49pf <[email protected]> wrote: > > > > <Screenshot_2021-01-29_16-48-54(django_settings).png> > > > above is a screenshot and path for the static folder. > On Friday, January 29, 2021 at 3:05:06 AM UTC+5:30 [email protected] > wrote: > >> Whats your STATIC_DIRS, STATIC_PATH, and STATIC_URL and what it the tree >> to the folder your static is in? >> >> > On Jan 28, 2021, at 1:26 PM, hari49pf <[email protected]> wrote: >> > >> > Yes, i did it created a folder with css & other files, but no use. >> > >> > On 28/01/21 11:49 pm, Larry Martell wrote: >> >> On Thu, Jan 28, 2021 at 10:16 AM hari49pf <[email protected]> wrote: >> >>> Hi, >> >>> >> >>> I am trying to load static file to my project its not loading, >> >>> I have changed the path of static in settting.py still its not >> loading static file. >> >>> tryed to check the file is loading by using >> >>> manage.py findstatic test.css >> >>> PLZ help >> >> Have you run collectstatic? >> >> >> > >> > -- >> > 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/928aaad3-3f02-45e4-91fa-d3a56da673db%40gmail.com. >> >> >> >> -- > 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/ceb2424c-870d-4467-a29a-7337d0471283n%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/ceb2424c-870d-4467-a29a-7337d0471283n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <Screenshot_2021-01-29_16-48-54(django_settings).png> > > -- 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/91c26895-d347-4bef-a62e-7b37d712bbe1n%40googlegroups.com.

