Django Tutorial - ImproperlyConfigured exception (pytz isn't installed) Django Tutorial - ImproperlyConfigured exception (pytz isn't installed) django django

Django Tutorial - ImproperlyConfigured exception (pytz isn't installed)


I was also getting the same error.I installed pytz

$ pip install pytz

and then i restarted the server. The exception is no more now.


After continuing to search for django and pytz, I found the 1.6 Django release notes, which mention that you must now install pytz to work with Sqlite3 if USE_TZ=True in your settings.py.

I don't know what effect USE_TZ has on your application, but setting that value to False allows me to proceed in the tutorial. I would hope that the Django tutorial is updated to reflect this change.


The solution is very simple..

pip install pytz

and then stop and restart your server