1 ##############################################################################
2 # Copyright (c) 2016 Max Breitenfeldt and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 import django.forms as forms
14 from account.models import UserProfile
17 class AccountSettingsForm(forms.ModelForm):
20 fields = ['company', 'ssh_public_key', 'pgp_public_key', 'timezone']
22 timezone = forms.ChoiceField(choices=[(x, x) for x in pytz.common_timezones], initial='UTC')