Skip to content

Commit 73123d4

Browse files
committed
Add preferred countries documentation
1 parent 4814407 commit 73123d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ default_code
105105
Country code selected by default. Overridden when using ``auto_geo_ip``.
106106
Default: ``'us'``
107107

108+
preferred_countries
109+
Array of countries that will always appear at the top of the dropdown.
110+
Default: ``['us', 'gb']``
111+
108112
auto_geo_ip
109113
When True, `freegeoip`_ will be used to autodetect the user's country via Ajax. There is a limit of 15,000 queries per hour, so it should not be used on high-traffic sites. Alternatively use `pygeoip`_, detect server-side, then set the ``default_code``.
110114
Default: ``False``

0 commit comments

Comments
 (0)