Hello,

Can somebody guide me how and where to configure MEASUREMENT_SYSTEM
setting in satchmo.

def default_dimension_unit():
val = config_value_safe('PRODUCT','MEASUREMENT_SYSTEM', (None,
None))[0]if val == 'metric':
    return 'cm'else:
    return 'in'


-- 
Thanks
Puneet
http://www.asicguru.com

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

Reply via email to