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/ 

global name 'pytz' is not defined

 

Django Version: 1.6.5  Exception Value: 

global name 'pytz' is not defined

 Exception Location: 
/myprojects/EnvProVM3/lib/python2.7/site-packages/django_pyodbc/operations.py 
in _switch_tz_offset_sql, line 74  Python Executable: 
/myprojects/EnvProVM3/bin/python  Python Version: 2.7.5  
Error during template rendering 

In template 
/home/10019751/myprojects/EnvProVM3/lib/python2.7/site-packages/grappelli_safe/templates/admin/change_list.html,
 
error at line *140*

/home/10019751/myprojects/EnvProVM3/lib/python2.7/site-packages/django_pyodbc/operations.py
 
in _switch_tz_offset_sql 

            if pytz is None:


-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to