This commit is contained in:
holger.trampe 2021-01-29 17:08:29 +01:00
parent 8c3a183286
commit 2995ab3240
1 changed files with 7 additions and 4 deletions

View File

@ -137,9 +137,13 @@ def getICSFileEx(request, code, ag):
#try:
agency = Agency.objects.get(pk=ag)
print(agency)
print(agency.agencycal_publicstatus)
print(agency.agencycalurl)
send_mail(
'KAL INFO',
str(agency.pk) + " " + str(agency.agencycal_publicstatus),
'noreply@digitale-agentur.com',
["htrampe@gmail.com"],
fail_silently=True
)
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl:
c = Calendar()
@ -693,7 +697,6 @@ def showUserLog(request, pk):
@login_required
def dashboard(request):
print("HI DARIUS! SIEHST DU DAS HIER?")
# UPDATE FUNCTIONS BY NEW MODEL-CHANGES FOR COPIEN SOME DATA
toUpdate(request)