SmileyChris/django-countries
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models. observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 86
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4821
- days_rel: n/a
- days_push: 85
- n_releases_24m: 0
Adoption not part of the score
1532 stars · 301 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Django application providing a CountryField model field with all ISO 3166-1 countries, translated country names, and static flag icon files. It includes integrations for Django forms, Django REST Framework, and graphene-django GraphQL.
Use cases
- add a country field to a Django model
- populate a country dropdown in a Django form
- display flag icons for countries in templates
- serialize country fields with Django REST Framework
- expose country choices via GraphQL
- support multiple country selection in forms
- get translated country names for i18n
When to choose
- you are building a Django or DRF project that needs country selection or country data
- you want ISO 3166-1 country codes with localized names out of the box
- you need flag icon static assets bundled with your Django app
When to avoid
- you are not using Django or a Django-based stack
- you need country data beyond ISO 3166-1 such as states, cities, or postal codes
- you need a general-purpose geocoding or geography library
Facets
library · maturity stable
ui-components internationalization form-handling web-development backend python django country-codes iso-3166 flag-icons django-rest-framework graphql localization web-server
3 sources
- readme: https://github.com/SmileyChris/django-countries · fetched 2026-08-28 · 321bfdbe91de
- homepage: http://smileychris.github.io/django-countries/ · fetched 2026-08-29 · 249308c1abe6
- registry_pypi: https://pypi.org/pypi/django-countries/json · fetched 2026-08-29 · b9bd733d8638
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SmileyChris/django-countries | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="SmileyChris/django-countries")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem