diff --git a/group/forms.py b/group/forms.py index 546dfa89d4..084c06a642 100644 --- a/group/forms.py +++ b/group/forms.py @@ -3,7 +3,7 @@ import os from django import forms class MessageForm(forms.Form): - message = forms.CharField(max_length=5) + message = forms.CharField(max_length=500) class MessageReplyForm(forms.Form): message = forms.CharField(max_length=150) diff --git a/views.py b/views.py index 776f93b459..c445020fc0 100644 --- a/views.py +++ b/views.py @@ -1586,7 +1586,7 @@ def repo_create(request): repo_name = form.cleaned_data['repo_name'] repo_desc = form.cleaned_data['repo_desc'] encrypted = form.cleaned_data['encryption'] - passwd = form.cleasened_data['passwd'] + passwd = form.cleaned_data['passwd'] passwd_again = form.cleaned_data['passwd_again'] user = request.user.username