I still see an error with that code bro...
On 19:35, Mon, Jul 26, 2021 Baxtiyor Boboraximov <[email protected] wrote:
> hello . you must add to sittings.py this code.
> STATIC_URL = '/static/'
> STATICFILES_DIRS = (str(BASE_DIR.joinpath('static')),)
>
> пт, 28 мая 2021 г. в 23:39, sukhy gill <[email protected]>:
>
>> Dear Frnds
>> I am unable to link CSS with HTML
>> HTML working but CSS not working inside the .html file with the help of
>> LINK in <head> tag
>>
>> I am using thefollowings:-
>> Setting.py - STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static'),]
>> HTML- {% load static %}
>> <Link rel="stylesheet" href="{% static 'css/syle.css %} />
>>
>> Regards
>>
>> --
>> 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/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMG7-GuaEAfH_e-WFwARBe7%2Bn4Maxx4H%2BX4uv8CK%2BtHSS8HqDA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMG7-GuaEAfH_e-WFwARBe7%2Bn4Maxx4H%2BX4uv8CK%2BtHSS8HqDA%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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAJkmis11RibJB4%3D1eywMFaSGNjjU0ow4zLanWssyWmadhCvQ%2BQ%40mail.gmail.com.