diff --git a/allauthdemo/polls/views.py b/allauthdemo/polls/views.py index 737a6fc..b927e57 100755 --- a/allauthdemo/polls/views.py +++ b/allauthdemo/polls/views.py @@ -304,7 +304,14 @@ def create_event(request): demo_users = DemoUser.objects.all() # Render the template - return render(request, "polls/create_event.html", {"G_R_SITE_KEY": settings.RECAPTCHA_PUBLIC_KEY, "user_email": request.user.email, "events": events, "demo_users": demo_users}) + return render(request, + "polls/create_event.html", + { + "G_R_SITE_KEY": settings.RECAPTCHA_PUBLIC_KEY, + "user_email": request.user.email, + "events": events, + "demo_users": demo_users + }) else: return HttpResponseNotAllowed() diff --git a/allauthdemo/templates/polls/create_event.html b/allauthdemo/templates/polls/create_event.html index 466d438..479d5eb 100755 --- a/allauthdemo/templates/polls/create_event.html +++ b/allauthdemo/templates/polls/create_event.html @@ -133,9 +133,9 @@