Skip to content

Instantly share code, notes, and snippets.

@Marceloromeugoncalves
Created March 3, 2022 03:53
Show Gist options
  • Save Marceloromeugoncalves/96dc01fe47521c5bb90b0ea5ea734387 to your computer and use it in GitHub Desktop.
Save Marceloromeugoncalves/96dc01fe47521c5bb90b0ea5ea734387 to your computer and use it in GitHub Desktop.
Django - Choices para os estados brasilerios.
ESTADOS_CHOICES = [
['AC', 'Acre'],
['AL', 'Alagoas'],
['AP', 'Amapá'],
['AM', 'Amazonas'],
['BA', 'Bahia'],
['CE', 'Ceará'],
['ES', 'Espírito Santo'],
['GO', 'Goiás'],
['MA', 'Maranhão'],
['MT', 'Mato Grosso'],
['MS', 'Mato Grosso do Sul'],
['MG', 'Minas Gerais'],
['PA', 'Pará'],
['PB', 'Paraíba'],
['PR', 'Paraná'],
['PE', 'Pernambuco'],
['PI', 'Piauí'],
['RJ', 'Rio de Janeiro'],
['RN', 'Rio Grande do Norte'],
['RS', 'Rio Grande do Sul'],
['RO', 'Rondônia'],
['RR', 'Roraima'],
['SC', 'Santa Catarina'],
['SP', 'São Paulo'],
['SE', 'Sergipe'],
['TO', 'Tocantins'],
['DF', 'Distrito Federal'],
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment