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: fcipol...@gmail.com

> On Jan 29, 2021, at 6:23 AM, hari49pf <hari4...@gmail.com> 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 fcip...@gmail.com 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 <hari...@gmail.com> 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 <hari...@gmail.com> 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 django-users...@googlegroups.com. 
>> > 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/ceb2424c-870d-4467-a29a-7337d0471283n%40googlegroups.com.
> <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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9ABE99B8-C223-45ED-8608-51E68799D7F0%40gmail.com.

Reply via email to