I'm guessing you're running a development server (manage.py runserver). I'd
suggest solving this as a two step process:

1) Determine if the request for the static file is actually hitting the
development server or not (eg. if you're running behind a reverse proxy)
2) Fire up your debugger and walk through the code

Django core and related apps (eg. staticfiles) is *extremely* well
documented and easy to read. Walking through the code will get you to the
source of the problem pretty quickly, and you'll probably learn a thing or
two about how Django generally processes requests too, which is invaluable
in the long run.

Kind Regards,
Michael Thomas

On Wed, Jun 2, 2021 at 8:16 PM sukhy gill <[email protected]> wrote:

> Dear  frnd,
>          I am getting stuck at same point with static with new project.
> May I get setting for settings.py ?
>
> Regards
>
> On Sat, May 29, 2021, 18:29 Chelsea Fan <[email protected]
> wrote:
>
>> Is it working now?
>>
>> On Sat, 29 May 2021, 3:40 pm lalit suthar, <[email protected]>
>> wrote:
>>
>>> read this https://docs.djangoproject.com/en/2.2/intro/tutorial06/ and
>>> check how you are giving paths. Also after loading the page on your browser
>>> go to "View Page Source" and click on the CSS file link and check if the
>>> file is opening or not.
>>>
>>> On Saturday, 29 May 2021 at 17:57:21 UTC+5:30 [email protected]
>>> wrote:
>>>
>>>> Yes Sir,There was no mistake in code. Code problem was only in mail
>>>> content actually code was correct as instruction given by Aniket Sir
>>>>
>>>> Regards
>>>>
>>>>
>>>> On Sat, May 29, 2021, 13:14 lalit suthar <[email protected] wrote:
>>>>
>>>>> have you checked Aniket's answer?
>>>>>
>>>>> On Saturday, 29 May 2021 at 11:09:07 UTC+5:30 [email protected]
>>>>> wrote:
>>>>>
>>>>>> Done Sir, but not working
>>>>>>
>>>>>> On Sat, May 29, 2021, 10:50 Venu Gopal <[email protected] wrote:
>>>>>>
>>>>>>> In Firefox ---- Goto Preferences ---> Choose Privacy and Security
>>>>>>> ---> scroll down until you get cookies and site data --> clear data
>>>>>>> Chrome ---- Goto Settings ---> Choose Privacy and Security --->
>>>>>>> select cookies and other site data --> select see all cookies and site 
>>>>>>> data
>>>>>>> --> Remove all
>>>>>>>
>>>>>>> On Sat, May 29, 2021 at 9:50 AM sukhy gill <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> @Venu Gopal
>>>>>>>>
>>>>>>>> No Sir, I don't know, how to do this.
>>>>>>>>
>>>>>>>> May I know Sir, how to do the same?
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> On Sat, May 29, 2021, 09:41 Venu Gopal <[email protected] wrote:
>>>>>>>>
>>>>>>>>> Hi, Have you tried deleting existing cache and cookies in the
>>>>>>>>> browser?
>>>>>>>>>
>>>>>>>>> On Sat, May 29, 2021 at 12:08 AM sukhy gill <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> 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 a topic in
>>>>>>>>> the Google Groups "Django users" group.
>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>> https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe
>>>>>>>>> .
>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>> to [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/django-users/CAOhYkiyqw8k5zCL1XZo9U%2BY9_JR57p55xf-%3DtFf6Fa4HVskPSw%40mail.gmail.com
>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAOhYkiyqw8k5zCL1XZo9U%2BY9_JR57p55xf-%3DtFf6Fa4HVskPSw%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/CAJ8btZave0utnYTAcrxafKes6sUZ3%2BX%2B0v1EGs-pJSF1%2BT4qxw%40mail.gmail.com
>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAJ8btZave0utnYTAcrxafKes6sUZ3%2BX%2B0v1EGs-pJSF1%2BT4qxw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>> the Google Groups "Django users" group.
>>>>>>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>> [email protected].
>>>>>>>
>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/django-users/CAOhYkiy80sPnGJ2uJPuJODECKv3UfQxATOit%2BwNZnr%3D%2BgiuojQ%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/django-users/CAOhYkiy80sPnGJ2uJPuJODECKv3UfQxATOit%2BwNZnr%3D%2BgiuojQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "Django users" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/d9863d84-b712-4edd-bcd3-cb56e56d93e2n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/django-users/d9863d84-b712-4edd-bcd3-cb56e56d93e2n%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/6270c1f5-a1d9-4904-a5ed-85e21030b894n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/6270c1f5-a1d9-4904-a5ed-85e21030b894n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJwZnde0ziuGc5LwbYDRLfHBqS6ywB8TaWN9T5VMy1swYGe%3DJw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJwZnde0ziuGc5LwbYDRLfHBqS6ywB8TaWN9T5VMy1swYGe%3DJw%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/CAJ8btZYjaVPUW%2BheBkr1As%2BjRZWaF-T%2BKNJoFLCUQYBRbmBWfw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJ8btZYjaVPUW%2BheBkr1As%2BjRZWaF-T%2BKNJoFLCUQYBRbmBWfw%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/CAEdx1fpgQD49JNGvtTpj7_7fBhOTWGAjbSvZcCUv8nJc1N_NUQ%40mail.gmail.com.

Reply via email to