diff --git a/pycon/mentorship/views.py b/pycon/mentorship/views.py index 88ce5a35..f0a8a005 100644 --- a/pycon/mentorship/views.py +++ b/pycon/mentorship/views.py @@ -22,7 +22,7 @@ def mentorship_view(request): mentee, created = request.user.mentorship_mentee.get_or_create(user=request.user) if (not request.user.mentorship_mentee.get().eligible) or (len(request.user.mentorship_mentee.get().potential_sessions_as_mentee) > 0): return render( - request, "mentorship/mentorship_signup_recieved.html", + request, "mentorship/mentorship_signup_received.html", { "potential_slots": request.user.mentorship_mentee.get().potential_sessions_as_mentee, "assigned_slots": request.user.mentorship_mentee.get().assigned_sessions_as_mentee, @@ -64,7 +64,7 @@ def mentorship_view(request): mentee.save() return render( - request, "mentorship/mentorship_signup_recieved.html", + request, "mentorship/mentorship_signup_received.html", { "potential_slots": request.user.mentorship_mentee.get().potential_sessions_as_mentee, "assigned_slots": request.user.mentorship_mentee.get().assigned_sessions_as_mentee, diff --git a/pycon/pycon_api/models.py b/pycon/pycon_api/models.py index a24bb59d..059c4f73 100644 --- a/pycon/pycon_api/models.py +++ b/pycon/pycon_api/models.py @@ -77,7 +77,7 @@ def verify_request(cls, request): expected_signature = sha1(base_string.encode('utf-8')).hexdigest() # Ensure that the actual request signature matches - # the one we recieved, and raise AuthenticationError if it does not. + # the one we received, and raise AuthenticationError if it does not. if expected_signature != request.META['HTTP_X_API_SIGNATURE']: raise AuthenticationError('Invalid signature.') diff --git a/pycon/templates/dashboard.html b/pycon/templates/dashboard.html index 6225d02d..d8d9a9a7 100644 --- a/pycon/templates/dashboard.html +++ b/pycon/templates/dashboard.html @@ -179,7 +179,7 @@

{% trans "Proposal Mentorship" %}

{% elif request.user.mentorship_mentee.get.potential_sessions_as_mentee %} {% trans "View your potential mentorship slots!" %} {% else %} - {% trans "Sign up to recieve mentorship on your proposal" %} + {% trans "Sign up to receive mentorship on your proposal" %} {% endif %} diff --git a/pycon/templates/mentorship/mentorship_signup_recieved.html b/pycon/templates/mentorship/mentorship_signup_received.html similarity index 97% rename from pycon/templates/mentorship/mentorship_signup_recieved.html rename to pycon/templates/mentorship/mentorship_signup_received.html index 8d974c1a..40e35d48 100644 --- a/pycon/templates/mentorship/mentorship_signup_recieved.html +++ b/pycon/templates/mentorship/mentorship_signup_received.html @@ -10,7 +10,7 @@
{% if potential_slots %} -

PyCon Proposal Mentorship Signup Recieved

+

PyCon Proposal Mentorship Signup Received

As soon as we have a sufficient number of Mentors and Mentees available for a slot, we'll email you at {{ request.user.email }} with confirmation.