JsonResponses raus
This commit is contained in:
parent
d194800253
commit
2c70ff7e2d
|
|
@ -186,7 +186,7 @@ def getICSFileExAll(request, code, ag):
|
|||
if(request.method == "GET"):
|
||||
try:
|
||||
agency = Agency.objects.get(pk=ag)
|
||||
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl_all:
|
||||
if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl_all):
|
||||
c = Calendar()
|
||||
absencedays = Absence.objects.filter(agency=ag).exclude(confirm_status=2)
|
||||
for ab in absencedays:
|
||||
|
|
|
|||
Loading…
Reference in New Issue