From c563c092c34dacef2a9bffd7b89a89f025b726e9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 8 Dec 2024 20:21:57 +0000 Subject: Tidy imports, remove breakpoint, remove logged in link --- alphabetlearning/payments/views.py | 5 +++-- alphabetlearning/templates/base.html | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/alphabetlearning/payments/views.py b/alphabetlearning/payments/views.py index 5d8449d..7f13e81 100644 --- a/alphabetlearning/payments/views.py +++ b/alphabetlearning/payments/views.py @@ -2,7 +2,8 @@ import requests import stripe from django.conf import settings from django.contrib.auth.decorators import login_required -from django.core.mail import send_mail, mail_admins +from django.core.mail import mail_admins +from django.core.mail import send_mail from django.http import HttpResponse from django.http import HttpResponseBadRequest from django.shortcuts import get_object_or_404 @@ -19,6 +20,7 @@ from alphabetlearning.payments.models import EmailSignup from alphabetlearning.payments.models import EmailVerification from alphabetlearning.resources.models import Resource from alphabetlearning.users.models import User + from .forms import EmailVerificationForm from .models import CartItem from .models import Price @@ -89,7 +91,6 @@ def send_mailgun_verification( verification_url: str = None, warn=False, ): - breakpoint() if warn: warning_message = """ You are already subscribed to our list - no further action is required. diff --git a/alphabetlearning/templates/base.html b/alphabetlearning/templates/base.html index 533d0e8..5aa2193 100644 --- a/alphabetlearning/templates/base.html +++ b/alphabetlearning/templates/base.html @@ -96,11 +96,6 @@ Blog -
  • - {% if request.user.is_authenticated %} - Log out - {% endif %} -
  • -- cgit v1.2.3