django / django-localflavor

Country-specific Django helpers, formerly of contrib fame

Home Page:https://django-localflavor.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brazilian bank codes

mawkee opened this issue · comments

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?

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

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