diff options
author | Akshen | 2019-05-14 11:52:21 +0530 |
---|---|---|
committer | Akshen | 2019-05-14 11:52:21 +0530 |
commit | df1bca4647a456291851c596c39dc96a438913de (patch) | |
tree | fd8fe45f02917aeeb6331bfeb8e1fce7b50721a7 /fossee_manim/views.py | |
parent | 8543fed00c912877375b0835b63c765baed654e2 (diff) | |
download | FOSSEE_animations-df1bca4647a456291851c596c39dc96a438913de.tar.gz FOSSEE_animations-df1bca4647a456291851c596c39dc96a438913de.tar.bz2 FOSSEE_animations-df1bca4647a456291851c596c39dc96a438913de.zip |
Proposal Updates
- Testcases changed
- send_proposal function changed
- models changed
Diffstat (limited to 'fossee_manim/views.py')
-rw-r--r-- | fossee_manim/views.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/fossee_manim/views.py b/fossee_manim/views.py index feaad67..feb23de 100644 --- a/fossee_manim/views.py +++ b/fossee_manim/views.py @@ -282,13 +282,9 @@ def send_proposal(request): form_data = form.save(commit=False) form_data.contributor = user form_data.status = "pending" - if check_repo(form_data.github): - form_data.save() - form.save_m2m() - # makepath(form_data) - else: - messages.warning(request, 'Please enter valid github details') - return render(request, 'fossee_manim/send_proposal.html', + form.save() + else: + return render(request, 'fossee_manim/send_proposal.html', {'form': form, 'categories': categories}) return redirect('/proposal_status/') else: |