django / django-localflavor

Country-specific Django helpers, formerly of contrib fame
https://django-localflavor.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
828 stars 290 forks source link

Brazilian bank codes #367

Open mawkee opened 5 years ago

mawkee commented 5 years ago

I don't know if this is something that we want to add to localflavor, but in any case...

On Brazil, there are govern issued bank codes for each bank operating on the country (it's called COMPE code). These are easily available on the internet, and the list is updated every now and then, when a new bank starts to operate on the country.

We thought about adding a choices tuple (similar to br_states.STATE_CHOICES), since we'll be using this and maintaining anyway. Should I submit a PR for this?

benkonrath commented 5 years ago

Sorry for the delay. I think this fits into localflavor provided there's not another package already providing this functionality.

mawkee commented 5 years ago

I could not find one (and I searched a lot). I'll submit a PR then.

Vido commented 5 years ago

376