Skip to content

Commit

Permalink
Update comments on users.forms
Browse files Browse the repository at this point in the history
  • Loading branch information
SEJeff committed Aug 10, 2011
1 parent 614e8f5 commit 1c1cfc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mango/users/forms.py
Expand Up @@ -31,6 +31,7 @@ def render(self, name, value, attrs=None):


# This is very much a W.I.P. to get the ssh key validation working
# TODO: Fix this shit
class MultipleChoiceAnyField(forms.MultipleChoiceField):
"""A MultipleChoiceField with no validation."""

Expand All @@ -39,8 +40,6 @@ def valid_value(self, *args, **kwargs):

def UserFormFactory(hide_username=True):
class UserForm(forms.ModelForm):
# TODO: The magic to do the ssh keys is almost certainly using a MultiValueWidget
# TODO: Use django.contrib.admin.helpers.AdminForm to group these together

# django-uni-form stuff to make the pretty
helper = FormHelper()
Expand Down

0 comments on commit 1c1cfc1

Please sign in to comment.