Document the COUNTRIES_FIRST setting in common.py
This change introduces a way to help filling form, with the constant we can specify the order of the countries that should come first. This will reduce the chance of commiting a mistake while filling form. Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
@@ -3938,3 +3938,11 @@ SUPPORT_HOW_TO_UNENROLL_LINK = ''
|
||||
|
||||
######################## Setting for content libraries ########################
|
||||
MAX_BLOCKS_PER_CONTENT_LIBRARY = 1000
|
||||
|
||||
######################## Setting for django-countries ########################
|
||||
# django-countries provides an option to make the desired countries come up in
|
||||
# selection forms, if left empty countries will come up in ascending order as before.
|
||||
# This accepts a list of ISO3166-1 two letter country code, For example,
|
||||
# COUNTRIES_FIRST = ['SA', 'BH', 'QA'] will display these countries on top of the list
|
||||
# https://github.com/SmileyChris/django-countries#show-certain-countries-first
|
||||
COUNTRIES_FIRST = []
|
||||
|
||||
Reference in New Issue
Block a user