I've recently updated my django installation from 1.2 to 1.3. On my developer system I didn't get any warnings about deprecated calls. But once I moved the code onto my production apache server, I saw many 'DeprecationWarning' messages in my apache logs. So how do I have to call runserver to these these messages too?
Currently I call it like this:
python manage.py runserver --verbosity 2
The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
The runserver command is a built-in subcommand of Django's manage.py file that will start up a development server for this specific Django project.
Python 2.7 disables the display of DeprecationWarning by default
To re-enable it, set environment variable PYTHONWARNINGS to "d":
export PYTHONWARNINGS="d"; ./manage.py runserver
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With