Ahh, so that is what it is all about.

Having two or more servers running the same code (maybe with small
differences) They could have different data, and other differences, than
code. E.g. setup.

The settings.py is the settings you want on all the servers.
The local_settings is what is specific for each server.

So in my newbie-fooling-around situation, it would not really matter. But if
I had a bigger setup, I would divide the settings into the ones that should
affect all servers, and the ones that are specific for individual servers.

The former goes in settings.py, the latter in local_settings.py, and of
course the latter should never be synchronized between servers, while the
former could.

Thanks ;)


On Mon, Jul 18, 2011 at 4:30 PM, ionic drive <[email protected]> wrote:

> Dear Lucy,
>
> its all a matter of development and production server.
>
> as example on development-server we do have English only, but on
> production-server a lot more languages are set as active.
>
> Sure for 100% of security, it would be best to have set the languages
> similar on production and development. Because I already have seen
> languages crashing the system.
>
> Right now it works for me just fine that way.
>
> Hope I could bring some light into the cloud.
>
> --
> Raphael Reumayr
> email: [email protected]
> Phone: +43 680 3115028
> http://develissimo.com
>
> Develissimo e.U.
> Goethestr. 91
> 4020 Linz
> Austria / Europe
>
>
> On Mon, 2011-07-18 at 15:40 +0200, Lucy Brennan wrote:
> > Yep I remember that question :) And I did not forget about the
> > local_settings.py, but I really thought I had checked for that before
> > posting :(
> >
> > Could you please explain just why it belongs more in local_settings.py
> > than in settings.py?
> >
> > Notice that the LANGUAGE_CODE variable is set in both.
> >
> > Lucy
> >
> > On Mon, Jul 18, 2011 at 3:25 PM, ionic drive <[email protected]>
> > wrote:
> >         Hi Lucy,
> >
> >         you found the mailing list... good.
> >         do you remember the days you have been asking for
> >         local_settings.py? :-)
> >         i am just kidding again.
> >
> >         a perfect place to put:
> >
> >         LANGUAGES = (
> >                ('en', gettext_noop('English')),
> >                ('de', "Deutsch"),
> >                ('sv'), "Svenska"),
> >                and so on,
> >         )
> >
> >         would be local_settings.py
> >
> >         greetings
> >         sc
> >
> >
> >
> >         go in there and write
> >
> >
> >         On Mon, 2011-07-18 at 06:08 -0700, Lucy Brennan wrote:
> >         > I set up a Satchmo project using clonesatchmo.
> >         >
> >         > Initially the language chooser drop down was empty.
> >         >
> >         > I then followed all the steps described in:
> >         > http://www.satchmoproject.com/docs/dev/translation.html.
> >         That includes
> >         > specifying the list with several languages.
> >         >
> >         > Now I can choose English from the list. But why only
> >         English, and not
> >         > German, etc.? What is wrong?
> >         >
> >         > I also tried explicitly setting:
> >         > L10N_SETTINGS = {
> >         >   'currency_formats' : {
> >         >      'EURO' : {'symbol': u'€', 'positive' : u"€%(val)0.2f",
> >         > 'negative': u"€(%(val)0.2f)",
> >         >                'decimal' : ','},
> >         >   },
> >         >   'default_currency' : 'EURO',
> >         >   'show_admin_translations': True,
> >         >   'allow_translation_choice': True,
> >         > }
> >         >
> >         > And setting:
> >         > USE_L10N = True
> >         > USE_I18N = True
> >         >
> >         > Im using: Django 1.2.3, and Satchmo 0.9.1.
> >         >
> >         > Lucy
> >         >
> >
> >
> >
> >         --
> >         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 satchmo-users
> >         [email protected].
> >         For more options, visit this group at
> >         http://groups.google.com/group/satchmo-users?hl=en.
> >
> >
> >
> >
> > --
> > 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 satchmo-users
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/satchmo-users?hl=en.
>
>
>
>
> --
> 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.
>
>

-- 
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.

Reply via email to