Found a new clue:
My satchmo store is configured with a single language, es.
to reproduce error, with clonesatchmo.py, just change the following
lines in local_settings.py:
LANGUAGE_CODE = 'en-us'
LANGUAGES = (
('en', gettext_noop('English')),
)
with
LANGUAGE_CODE = 'es-es'
LANGUAGES = (
('es', gettext_noop('Spanish')),
)
Then, when you click on add in admin -> tieredprices
you will be able to see error.
Any advice at what is happening?
On 08/12/2011 01:11 PM, Isaac wrote:
Hi folks,
I'm having trouble enabling tiered price module. I've followed
instructions from
http://www.satchmoproject.com/docs/dev/pricing.html
and all seems to works, until I try to create a new tiered price. Then
I get the following error:
TemplateSyntaxError at /admin/tieredpricing/pricingtier/add/
Caught TypeError while rendering: Lazy object returned unexpected type.
Request Method: GET
Request URL:
http://localhost:8000/admin/tieredpricing/pricingtier/add/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value:
Caught TypeError while rendering: Lazy object returned unexpected type.
Exception Location:
/usr/local/lib/python2.7/dist-packages/django/utils/functional.py in
__wrapper__, line 197
Python Executable: /usr/bin/python
Python Version: 2.7.1
I've not override any tier price template, just enabled module from
settings.py, and tried to create an object of that class. Any clue
about what's happening?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Satchmo
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.