Hi everybody (specially Malcom), After a long period, I had time to delte the unecessary variables and test it. So, finally, the goes the list of settigns you must include on you default settings file in order to use you application models outside Django web context (a python server side script for instance).
gettext_noop = lambda s: s DATABASE_OPTIONS = {} URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)" It works on my actual project. Good luck! Tkm On 5/11/07, Bruno Tikami <[EMAIL PROTECTED]> wrote: > > Malcolm, it works!!!! > > > Thanks a lot, I shall delete the unecessary global settings. > > TKS!!! > > > Tkm > > On 5/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > > > Hi Bruno, > > > > On Fri, 2007-05-11 at 11:11 -0300, Bruno Tikami wrote: > > > Hello Malcolm > > > > > > Thanks for you fast reply!!!! > > > > > > I'll try to put the missing settings on my project.settings . Do I > > > have to call configure() in some diferent way after I do that? I mean, > > > if my settings have all the global settings... > > > > No. The first argument to configure() is a class or a module, so that > > the code can access each of the settings as an attribute. So if you > > project settings contains every single global setting, you will be able > > to pass that in (boy is that going to be a big file, though). Note that > > you may not actually need every single global setting, but you will need > > a fair chunk of them, I expect. > > > > Regards, > > Malcolm > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---