aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlos Ratis <dastergon@gentoo.org>2013-09-25 12:16:46 -0700
committerPavlos Ratis <dastergon@gentoo.org>2013-09-25 12:16:46 -0700
commita367f91a9f6f136acd42231b3cb322c1d2bb3064 (patch)
treebdbaa37144b2c913549587a6b747ff30a4281bc5 /okupy/accounts/forms.py
parentMerge pull request #100 from dastergon/gravatar (diff)
parentfix more pep8 errors (diff)
downloadidentity.gentoo.org-master.tar.gz
identity.gentoo.org-master.tar.bz2
identity.gentoo.org-master.zip
Merge pull request #102 from dastergon/settings_improvementsHEADmaster
Settings improvements
Diffstat (limited to 'okupy/accounts/forms.py')
-rw-r--r--okupy/accounts/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/okupy/accounts/forms.py b/okupy/accounts/forms.py
index d26c34b..b73d335 100644
--- a/okupy/accounts/forms.py
+++ b/okupy/accounts/forms.py
@@ -108,6 +108,7 @@ class EmailSettingsForm(forms.Form):
gravatar = forms.EmailField(max_length=254, label='Gravatar Email',
required=False)
+
class ContactSettingsForm(forms.Form):
website = forms.URLField(label='Website', required=False)
im = forms.CharField(max_length=100, label='IM', required=False)
@@ -126,8 +127,9 @@ class GentooAccountSettingsForm(forms.Form):
developer_bug = forms.CharField(
label='Developer Bugs (Bug Number)', required=False)
mentor = forms.CharField(max_length=100, label='Mentor', required=False)
- ssh_key = forms.CharField(widget=forms.Textarea(
- attrs={'cols': 50, 'rows': 8}), label='SSH Key', required=False)
+ planet_feed = forms.URLField(label='Gentoo Planet Feed', required=False)
+ universe_feed = forms.URLField(
+ label='Gentoo Universe Feed', required=False)
# OpenID forms.