Re: Settings for an application - define as a model?

2009-02-17 Thread Rob
OK, thanks a lot for that. I have only just started using Django and, for that matter, Python. It's really valuable to gain a bit of insight into how the more experienced might tackle the issues I am facing. Thanks again for the suggestions, Rob On Feb 16, 11:47 pm, Alex Gaynor wrote: > On Mon

Re: Settings for an application - define as a model?

2009-02-16 Thread Alex Gaynor
On Mon, Feb 16, 2009 at 6:29 PM, Russell Keith-Magee wrote: > > On Tue, Feb 17, 2009 at 6:24 AM, Rob wrote: > > > > I'm writing a Django app to act as the front-end interface to a backup > > application, using MySQL as the database. I need to store some > > variables to act as the "global" setti

Re: Settings for an application - define as a model?

2009-02-16 Thread Russell Keith-Magee
On Tue, Feb 17, 2009 at 6:24 AM, Rob wrote: > > I'm writing a Django app to act as the front-end interface to a backup > application, using MySQL as the database. I need to store some > variables to act as the "global" settings specific to my app - like > UNIX backup location, etc. > > At present

Settings for an application - define as a model?

2009-02-16 Thread Rob
I'm writing a Django app to act as the front-end interface to a backup application, using MySQL as the database. I need to store some variables to act as the "global" settings specific to my app - like UNIX backup location, etc. At present I have a model called Setting, with two fields - name and