Changeset - 4abf18c39fcd
[Not reviewed]
version_5
0 3 0
Dennis Fink - 9 years ago 2015-10-16 20:39:49
dennis.fink@c3l.lu
Remove united_kingdom and united_states
3 files changed with 0 insertions and 22 deletions:
0 comments (0 inline, 0 general)
ennstatus/donate/views.py
Show inline comments
 
@@ -7,13 +7,6 @@ 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__)
 

	
 

	
 
@@ -22,7 +15,6 @@ 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':
ennstatus/root/constants.py
Show inline comments
 

	
 
BPM_ADDRESSES = {
 
    'united_kingdom': {
 
        'address': '372 Old Street',
 
        'postal_code': 'EC1V 9AU',
 
        'city': 'London',
 
        'country': 'United Kingdom',
 
    },
 
    'united_states': {
 
        'address': '8345 NW 66 Street 2000',
 
        'postal_code': '33166-2626',
 
        'city': 'Miami',
 
        'country': 'United States of America',
 
    },
 
    'germany': {
 
        'address': 'Zum Bürgerwehr 28',
 
        'postal_code': 'D-54516',
ennstatus/root/forms.py
Show inline comments
 
@@ -10,8 +10,6 @@ from wtforms.validators import InputRequ
 

	
 
COUNTRIES = [
 
    ('luxembourg', 'Luxembourg'),
 
    ('united_kingdom', 'United Kingdom'),
 
    ('united_states', 'United States of America'),
 
    ('belgium', 'Belgium'),
 
    ('france', 'France'),
 
    ('germany', 'Germany'),
0 comments (0 inline, 0 general)