you should add STATIC_DIR =[

'BASE'/ 'static'

]
to your project settings

On Mon, 29 May, 2023, 9:21 pm Music Fm, <tsir...@gmail.com> wrote:

> Load static
>
> Open a folder call it static then open another file within the static
> forder.
>
> Now type {load static/custom.css }on the html file it will see the static
> that has the css and javascript file
>
> On Mon, May 29, 2023, 4:31 PM Obiorah Callistus <ockpa...@gmail.com>
> wrote:
>
>> please how can i display .css and .js files in my template
>>
>> --
>> 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/5a2ceeec-20f1-46aa-98b9-717c9965b82dn%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/5a2ceeec-20f1-46aa-98b9-717c9965b82dn%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/CAEXS5w%2B5m5ASCFR0YL%3Dt7CPWk%3DM__UVtTtHfLyJ1xcBZzFaEXw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAEXS5w%2B5m5ASCFR0YL%3Dt7CPWk%3DM__UVtTtHfLyJ1xcBZzFaEXw%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/CAA8iRFd7-sv1c4oPmP9Xt99aRzUVSUw4p8Via8nBN4wOLwoHbw%40mail.gmail.com.

Reply via email to