AI security fixes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.shortcuts import render
|
||||
|
||||
@@ -10,7 +12,9 @@ from eventplanner.snippets import (
|
||||
|
||||
@login_required
|
||||
def home_view(request):
|
||||
context = {}
|
||||
context = {
|
||||
"GOOGLE_MAPS_API_KEY": os.environ.get("GOOGLE_MAPS_API_KEY", ""),
|
||||
}
|
||||
|
||||
# Event participation for slider text
|
||||
if EventParticipation.isMember(request.user):
|
||||
|
||||
Reference in New Issue
Block a user