I do not know I am beginner too

On Wed, Jul 15, 2020, 12:25 AM Jorge Gimeno <jlgimen...@gmail.com> wrote:

> django.contrib.staticfiles by design will serve static files only when
> debug is set to False.  It's not designed to serve static files in a
> production environment.  See here:
> https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/
>
> -Jorge
>
>
> On Mon, Jul 13, 2020 at 5:11 AM Anjana Balakrishnan <
> anjanabalakrishnan1...@gmail.com> wrote:
>
>> Hi,
>>   i am in trouble with django unauthorized access problem.i have a django
>> project and it is now ready for production,so i added debug=False in
>> settings.py file.When i change the debug=false, unauthorized access issue
>> is solved,but the problem is webpages can't access all css and js
>> files(Static folder,)how can i solve tbis issue?Attached a document showing
>> this problems.
>>
>> --
>> 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/2edb567b-0909-4381-a8d7-9634ae688df5o%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/2edb567b-0909-4381-a8d7-9634ae688df5o%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/CANfN%3DK9ud%2BTHqfkB2Jyc4F76c1Q1ov8Ghkt7MqXAOjia0HXZFw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANfN%3DK9ud%2BTHqfkB2Jyc4F76c1Q1ov8Ghkt7MqXAOjia0HXZFw%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/CA%2B4Bgo6Zv7fKuQJJTDGM1saPdWsSmUTJ%2BXDVx4gTHU49AnU4hA%40mail.gmail.com.

Reply via email to