Hi django-developers,
a generic api for registration of new fields would be a good idea.
As IOC, FIFA and ISO-3166 codes are not the same this won't help me:
http://en.wikipedia.org/wiki/Comparison_of_IOC%2C_FIFA%2C_and_ISO_3166_country_codes
But IOC, FIFA and ISO-3166 should have the same api.
On Sun, 2006-07-16 at 23:31 +0200, [EMAIL PROTECTED] wrote:
> Hi django-developers,
>
> I had the need for a field type similar to USStateField: an
> OlympicNationField which takes 3 uppercase letters to the official olympic
> nation abbrevation.
>
> Maybe this is generic enough to go into dja
On 7/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi django-developers,
>
> I had the need for a field type similar to USStateField: an
> OlympicNationField which takes 3 uppercase letters to the official olympic
> nation abbrevation.
I would feel better using ISO 3166-1 country codes
Hi django-developers,
I had the need for a field type similar to USStateField: an OlympicNationField
which takes 3 uppercase letters to the official olympic nation abbrevation.
Maybe this is generic enough to go into django.db.models.fields ?
I attach my solution.
Regards,
Dirk
--
"Feel free