Bruce, thanks for answer.
Does models.py get imported automatically for all INSTALLED_APPS?


On Sep 18, 5:49 pm, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote:
> When I want to do something like that, I:
> 1) Set up an app for the local site.  Usually I call it "site", and put it
> in the project directory for the store.
> 2) Add a "models.py" to the app, containing only the imports I need.
> 3) Add "site" to INSTALLED_APPS.
>
>
>
> On Thu, Sep 18, 2008 at 1:27 AM, Bojan Mihelac <[EMAIL PROTECTED]> wrote:
>
> > I monkey patched moneyfmt function to format proper price with
> > currency for shop I am working on.Currently I have it in urls.py like
> > this:
>
> > # monkey patch moneyfmt
> > import satchmo.l10n.utils
> > import imutil.hrmoney
> > satchmo.l10n.utils.moneyfmt = imutil.hrmoney.hr_moneyfmt
>
> > I wonder where is the best place to put monkey patch so it is read
> > only once when satchmo starts?
>
> > thanks,
> > Bojan
>
> --
> Bruce Kroezehttp://solidsitesolutions.com
> Dynamic Designs, Optimized
--~--~---------~--~----~------------~-------~--~----~
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