Question

I am using Satchmo in Django. I want to activate the UPS shipping module in it or make it the default shipping module in the using the settings file. But, I do not want to use the admin interface to do the same as described here.

What can I do to achieve this or something similar like this?

Was it helpful?

Solution

Shipping module settings in Satchmo are done in django-livesettings, i.e. they can be set through the admin interface (and are stored in the database). On production systems, however, this is often disabled by exporting the settings from the database and putting a corresponding LIVESETTINGS_OPTION into settings.py.

This means that you do not need to use the admin interface to change your settings. If you put them (and everything else you may have changed in the admin interface at YOURSITEADDRESS/admin/settings/) into LIVESETTINGS_OPTIONS, they will not be accessible through the admin any longer. There is a handy settings export function available at YOURSITEADDRESS/admin/settings/export/.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top