[mezzanine-users] global name 'pytz' is not defined

2014-06-27 Thread ninh2k
Hi, I am looking for the fix to the error below. I already tried adding to /cartridge/shop/admin.py: import pytz from django.utils import timezone from django.utils.timezone import utc Also having same error at /admin/blog/blogpost/ Thanks, Ken --- NameError at /admin/shop/product/

Re: [mezzanine-users] global name 'pytz' is not defined

2014-06-27 Thread Stephen McDonald
Looks like a bug recently fixed in django_pyodbc: https://github.com/lionheart/django-pyodbc/commit/df70c8f53f4f01803cb4c4e56e662138a5594b3c You probably don't have that fix. On Sat, Jun 28, 2014 at 6:01 AM, nin...@gmail.com wrote: Hi, I am looking for the fix to the error below. I already

Re: [mezzanine-users] global name 'pytz' is not defined

2014-06-27 Thread ninh2k
Thanks Stephen, that is the fix I need. On Friday, June 27, 2014 4:12:39 PM UTC-5, Stephen McDonald wrote: Looks like a bug recently fixed in django_pyodbc: https://github.com/lionheart/django-pyodbc/commit/df70c8f53f4f01803cb4c4e56e662138a5594b3c You probably don't have that fix. On