Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Nov 6, 2024
1 parent 94f7f3b commit 921f69b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
14 changes: 7 additions & 7 deletions cfl_common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
include_package_data=True,
install_requires=[
"django==4.2.16",
"djangorestframework==3.15.1",
"django-two-factor-auth==1.17.0",
"django-countries==7.6.1",
"pyjwt==2.6.0",
"pgeocode==0.4.0",
"django-pipeline==3.1.0",
"django-csp==3.8",
"more-itertools==8.7.0",
"libsass==0.23.0",
"django-import-export==4.2.0",
"django-pipeline==3.1.0",
"django-two-factor-auth==1.17.0",
"djangorestframework==3.15.1",
"libsass==0.23.0",
"more-itertools==8.7.0",
"pgeocode==0.4.0",
"pyjwt==2.6.0",
],
tests_require=[],
test_suite="tests",
Expand Down
5 changes: 2 additions & 3 deletions portal/templates/portal/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ <h4>Teacher/Tutor</h4>
<div class="d-flex justify-content-end row">
<button class="button button--home button--primary teacher--home--button button--icon"
type="submit"
name="teacher_signup"
value="teacher_signup">
name="teacher_signup">
Register<span class="iconify" data-icon="mdi:chevron-right"></span>
</button>
</div>
Expand Down Expand Up @@ -179,7 +178,7 @@ <h4>Independent learner</h4>
<button type="submit"
name="independent_student_signup"
class="button button--home button--icon"
value="independent_student_signup">
value="Register">
Register<span class="iconify" data-icon="mdi:chevron-right"></span>
</button>
</div>
Expand Down
2 changes: 0 additions & 2 deletions portal/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def render_signup_form(request):
)

if request.method == "POST":
print("IN POST")
print(request.POST)
if "teacher_signup-teacher_email" in request.POST:
teacher_signup_form = TeacherSignupForm(
request.POST, prefix="teacher_signup"
Expand Down

0 comments on commit 921f69b

Please sign in to comment.