Skip to content
Merged

Dev #11

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 join/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
def index(request):

if 'join_status' in request.session and request.session['join_status'] == 'joined':
render(request, 'join/send_verification.html')
return render(request, 'join/send_verification.html')

elif request.method == "POST":
form = JoinForm(request.POST)
Expand Down Expand Up @@ -53,7 +53,7 @@ def index(request):
send_mail(
subject='Verify your identity: Thank you for joining MakeOpenSource!',
html_message = html_content,
plain_message = strip_tags(html_content),
message = strip_tags(html_content),
from_email='no-reply@makeopensource.org',
recipient_list=[email],
fail_silently=False,
Expand Down
4 changes: 2 additions & 2 deletions mos/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
SECRET_KEY = os.getenv('SECRET_KEY')

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True

ALLOWED_HOSTS = ['makeopensource.org','www.makeopensource.org']
ALLOWED_HOSTS = ['dev.makeopensource.org']


# Email Definition
Expand Down