serve file from the download form
This commit is contained in:
		
							parent
							
								
									e340e967a6
								
							
						
					
					
						commit
						64772b13ba
					
				
					 3 changed files with 10 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,13 @@
 | 
			
		|||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{% block head %}
 | 
			
		||||
    {{ super() }}
 | 
			
		||||
    {% if filename is defined %}
 | 
			
		||||
    <meta http-equiv="refresh" content="0;URL='download_file/{{ filename }}'" />
 | 
			
		||||
    {% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block app_content %}
 | 
			
		||||
    <h1>Download</h1>
 | 
			
		||||
    <form action="" method="post" novalidate>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue