On Jun 27, 8:56 pm, lzantal <[email protected]> wrote: > Hi, > > On Jun 27, 2009, at 10:55 AM, "Daniele Procida" <[email protected] > > > > > wrote: > > > I am wondering what sort of coding/storage approach to take to manage > > contact details in a more sophisticated way. > > > For example, one person might need: > > > Phone (London): xxx xxxxx > > Phone (Edinburgh): xxx xxxxxx > > > and another: > > > Phone (office): xxx xxxx > > Phone (laboratory): xxx xxxx > > Phone (mobile): xxx xxxxx > > > but you can't know in advance how any particular person might need > > their > > details labelled. > > > Is there a name for this kind of scheme, or a standard way of > > handling it? > > > Thanks, > > > Daniele > > I had a similar need a few months ago. > What I did is I stored those info in a database in ini format. > So after running the query I parsed it as an ini conf data. It works > great. >
Doesn't that make searching by number a nightmare? I'd favour Alex's approach myself. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

