On 4/2/07 2:48 AM, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote:
[snip]
> But I agree with Malcolm that there should be some sort of limit to
> the amount of data that we should include in there. If you want to
> contribute some data that is so massive that it would best fit in a
> database, it might not be the best candidate for localflavor.
> Also, I'm not sure it makes sense to put models in localflavor,
> because models are the types of things that people tend to want to
> have control over, and we end up making subframeworks that let people
> customize (see, for example, the User.get_profile() stuff).

This depends on the data in question. We are talking here about (IMHO) 
very strict formated data (area codes, zip codes, organizational names, 
...) which are usually defined by the one's country government so there 
are no danger of sub framework explosion.

> 
> Neboj˚a, does that help? If you're still unsure, it might help if you
> gave more specifics on what sort of information/logic you wanted to
> include.

I primary asked this because I want to include City - zip code - area 
code data. This type of information is useful to have but it fits very 
poorly with choice lists.

If I wanted to use choice lists I will probably come up with something 
like this:

ZIP_CHOICES = ((1234, 'city name'), (1356, 'city name2),...)
AREA_CHOICES = ((12, 'city name'), (13, 'city name2'),...)

And this is what I want to avoid, repetition of the city names in the 
booth lists.

-- 
Nebojša Đorđević - nesh, ICQ#43799892, http://www.linkedin.com/in/neshdj
Studio Quattro - Niš - Serbia
http://studioquattro.biz/ | http://code.google.com/p/django-utils/
Registered Linux User 282159 [http://counter.li.org]



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to