Changeset - ae85f67539b6
[Not reviewed]
version_5
0 1 0
Dennis Fink - 9 years ago 2015-10-16 20:29:27
dennis.fink@c3l.lu
Remove united kingdom and united states in BPM form from the donate page
1 file changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
ennstatus/donate/views.py
Show inline comments
 
@@ -7,6 +7,13 @@ from ennstatus.donate.functions import l
 
from ennstatus.root.forms import BPMForm
 
from ennstatus.root.constants import BPM_ADDRESSES
 

	
 
COUNTRIES = [
 
    ('luxembourg', 'Luxembourg'),
 
    ('belgium', 'Belgium'),
 
    ('france', 'France'),
 
    ('germany', 'Germany'),
 
]
 

	
 
donate_page = Blueprint('donate', __name__)
 

	
 

	
 
@@ -15,6 +22,7 @@ def index():
 

	
 
    current_app.logger.info('Handling index')
 
    form = BPMForm()
 
    form.country.choices = COUNTRIES
 
    country_choices = [choice[0] for choice in form.country.choices]
 

	
 
    if request.method == 'POST':
0 comments (0 inline, 0 general)