Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Stackorigin – The Community of Question and Answers

Stackorigin – The Community of Question and Answers Logo Stackorigin – The Community of Question and Answers Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
Home/ Questions/Q 16745
Next
In Process
ashok
  • 0
ashok
Asked: September 1, 20212021-09-01T11:00:23+00:00 2021-09-01T11:00:23+00:00In: Programming

differences between DEBUG = True and False in Django?

  • 0

differences between DEBUG = True and False in Django?

debugdjango
  • 1 1 Answer
  • 132 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • mysql Truncate and Drop table
    • Incorrect table definition; there can be only one auto column and it must be defined as a key
    • Django DateTime form widget in forms
    • CharFields must define a 'max_length' attribute in Django
    • Difference between auto_now and auto_now_add-django
    • How to Check Django Database Connection
    • What kind of database's support Django
    • Django TemplateSyntaxError - 'staticfiles' is not a registered tag library
    • difference between 'content' and 'text'
    • object has no attribute 'acquire'

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. ashok
      2021-09-01T11:03:50+00:00Added an answer on September 1, 2021 at 11:03 am
      1. The DEBUG=True, if there is error, page will show details of error.
      2. if DEBUG=False, the ALLOWED_HOSTS of settings.py will work, you should take carefully to set it.
      3. the media and static will not provide access for DEBUG=False, you have to provide them with the help of webserver, like Nginx or Apache.
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Adv 120x600

    Looking for advertising?

    Consider These Things If You Appreciate What stackorigin Does: Stackorigin is a community where you can ask questions and find answers, for free to everyone. We would appreciate it if you bought us a coffee if you liked what we were doing.

    Buy me a Coffe

    Adv 120x600

    • Random
    • Answers
      • On: May 13, 2022
      • Answer: 1

      How does a spill pallet work

      • On: October 13, 2020
      • Answers: 2

      What happens if we drink spoiled milk? Any health benefits?

      • On: July 20, 2022
      • Answers: 2

      How do I update my access key id from an ...

      • On: August 2, 2020
      • Answer: 1

      Which is the best immunity driving products?

      • On: July 28, 2022
      • Answer: 1

      youtube autoplay video

    • hari
      hari added an answer date_sortie = forms.DateField(label='Release year',required=False, widget=forms.SelectDateWidget) January 29, 2023 at 4:50 pm
    • hari
      hari added an answer auto_now it updates field each time, while auto_now_add updates on creation… January 29, 2023 at 5:46 am
    • hari
      hari added an answer r.text is the content of the response in Unicode, and r.content is… January 27, 2023 at 4:33 pm
    • sam
      sam added an answer You can't get a new one except after the rest.… January 6, 2023 at 10:37 am
    • sam
      sam added an answer The order is Try, Except, Else should get   January 6, 2023 at 9:28 am

    Adv 120x600

    Trending Categories

    Health
    2031Questions
    , 4Followers
    Programming
    1188Questions
    , 0Followers
    Technology
    216Questions
    , 3Followers
    General Knowledge
    131Questions
    , 0Followers
    Business & Finance
    84Questions
    , 4Followers

    Adv 120×600

    Stats

    • Questions 4k
    • Answers 1k
    • Best Answers 105
    • Users 100

    Users

    niyadas823

    niyadas823

    • 0 Questions
    • 0 Answers
    nirala3

    nirala3

    • 2 Questions
    • 0 Answers
    Perrywalton

    Perrywalton

    • 1 Question
    • 0 Answers
    veeraa

    veeraa

    • 0 Questions
    • 0 Answers
    Stewesmitz

    Stewesmitz

    • 0 Questions
    • 0 Answers

    Adv 120×600

    Explore

    • Recent Questions
    • Most Answered
    • Answers
    • No Answers
    • Most Visited
    • Most Voted
    • Random
    • Polls

    Footer

    Stackorigin - The Community of Question and Answers

    Stackorigin

    Stackorigin is the world’s largest Q&A networking site, Stackorigin community brings you the collaboration of all the various Questions and the related Answers given by the community.

    About

    • About Us
    • Contact Us
    • FAQ
    • Submit Guest Post Article on Technology, Education, Health, Apps, Gadgets, IoT, AI, Business, Digital Marketing and More

    Info

    • Privacy Policy
    • Terms and Conditions
    • Community Guidelines
    • Tags

    Products

    • Tutorials
    • Advertising
    • Categories
    • Corona
    • StackHow

    Follow

    © 2022 Stackorigin. All Rights Reserved.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.