from django.contrib.auth import authenticate, login
from django.contrib.auth.models import User
from django.core.mail import send_mail
+from honeypot.decorators import check_honeypot
+
from .forms import RegistrationForm
from catalogue.models import Document
from organizations.models import Organization
})
+@check_honeypot
def register(request):
if request.method == 'POST':
form = RegistrationForm(request.POST, request.FILES)