Skip to content

Correct spelling of 'receive' #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pycon/mentorship/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pycon/pycon_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Expand Down
2 changes: 1 addition & 1 deletion pycon/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h4>{% trans "Proposal Mentorship" %}</h4>
{% elif request.user.mentorship_mentee.get.potential_sessions_as_mentee %}
<span class="widget-label">{% trans "View your potential mentorship slots!" %}</span>
{% else %}
<span class="widget-label">{% trans "Sign up to recieve mentorship on your proposal" %}</span>
<span class="widget-label">{% trans "Sign up to receive mentorship on your proposal" %}</span>
{% endif %}
</a>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="span12">

{% if potential_slots %}
<h1>PyCon Proposal Mentorship Signup Recieved</h1>
<h1>PyCon Proposal Mentorship Signup Received</h1>
<p>
As soon as we have a sufficient number of Mentors and Mentees available for a slot,
<b>we'll email you at {{ request.user.email }} with confirmation</b>.
Expand Down