Hi, On Jun 27, 2009, at 10:55 AM, "Daniele Procida" <dani...@apple-juice.co.uk > 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. Hope that helps Laszlo Antal http://www.antalconsulting.com http://twitter.com/lzantal Office: 208-699-7508 > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---