Hi Ken,

Oh well, manage.py shell gives me:
django.core.exceptions.ImproperlyConfigured: Invalid currency locale specified 
for SHOP_CURRENCY_LOCALE: 'en_US.UTF-8'. You'll need to set the locale for your 
system, or configure the SHOP_CURRENCY_LOCALE setting in your settings module.

I wonder if it’s possible to run Mezzanine + Cartridge inside OpenBSD at all, 
but given that we’re talking about Python, it shouldn’t be an issue, right?

-- 
Eric Boo
Sent with Airmail

On 4 July, 2014 at 9:54:44 pm, Ken Bolton ([email protected]) wrote:

Hi Eric,

Look inline below.

On Fri, Jul 4, 2014 at 9:13 AM, Eric Boo <[email protected]> wrote:
I git cloned my live site’s code to a new development server so that I can add 
some more features, and at the same time test it out on a BSD OS (live site’s 
running Debian).

I would keep development and platform migration on separate machine instances. 
Dev/prod parity!

To make life easier, consider using Vagrant for development work. It is cheap, 
local, and portable.

Running the site via gunicorn gave me the locale error, so I tried running it 
as ./manage.py runserver to see if it made a difference. In this case the error 
was the same.

Try `python manage.py shell`, or `shell_plus` if you have the excellent 
django-extensions installed. Below are my results for an ancient Cartridge site.

>>> from mezzanine.conf import settings
>>> settings.SHOP_CURRENCY_LOCALE
"en_US.UTF-8"

hth,
ken
--
You received this message because you are subscribed to a topic in the Google 
Groups "Mezzanine Users" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/mezzanine-users/ahNvEvQkV8s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to