Commit 8fbdf8eb authored by ViolanteCodes's avatar ViolanteCodes
Browse files

deleted old join_words function fom LoginForm

parent 4edf7dc4
......@@ -20,19 +20,6 @@ class LoginForm(forms.Form):
word_5 = forms.CharField(max_length=9, required=False)
word_6 = forms.CharField(max_length=9, required=False)
login_string = forms.CharField(max_length=255, required=False)
# def join_words(self):
# """Pull cleaned data from form and join into code_phrase"""
# word_list = []
# word_list.append(self.cleaned_data['word_1'])
# word_list.append(self.cleaned_data['word_2'])
# word_list.append(self.cleaned_data['word_3'])
# word_list.append(self.cleaned_data['word_4'])
# word_list.append(self.cleaned_data['word_5'])
# word_list.append(self.cleaned_data['word_6'])
# join_key = '-'
# code_phrase = join_key.join(word_list)
# return code_phrase
def build_code_phrase(self, cleaned_word_data=[]):
"""Join form cleaned data into code_phrase"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment