@@ -1082,7 +1082,19 @@ def export_ical(request, cat=None, tag=None, organisation_pk=None, place_pk=None
 | 
			
		||||
    if filter.has_category_parameters():
 | 
			
		||||
        return HttpResponseRedirect(filter.get_new_url())
 | 
			
		||||
 | 
			
		||||
    id_cache = hashlib.md5(filter.get_url().encode("utf8")).hexdigest()
 | 
			
		||||
    id_cache = hashlib.md5(
 | 
			
		||||
        (
 | 
			
		||||
            filter.get_url()
 | 
			
		||||
            + "-"
 | 
			
		||||
            + str(tag)
 | 
			
		||||
            + "-"
 | 
			
		||||
            + str(cat)
 | 
			
		||||
            + "-"
 | 
			
		||||
            + str(organisation_pk)
 | 
			
		||||
            + "-"
 | 
			
		||||
            + str(place_pk)
 | 
			
		||||
        ).encode("utf8")
 | 
			
		||||
    ).hexdigest()
 | 
			
		||||
    ical = cache.get(id_cache)
 | 
			
		||||
    if not ical:
 | 
			
		||||
        calendar = CalendarList(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user