mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Add INVENTREE_BASE_URL setting
- Also adds callable validator!
This commit is contained in:
		| @@ -209,6 +209,7 @@ class ReportTemplateBase(ReportBase): | ||||
|  | ||||
|         context = self.get_context_data(request) | ||||
|  | ||||
|         context['base_url'] = common.models.InvenTreeSetting.get_setting('INVENTREE_BASE_URL') | ||||
|         context['date'] = datetime.datetime.now().date() | ||||
|         context['datetime'] = datetime.datetime.now() | ||||
|         context['default_page_size'] = common.models.InvenTreeSetting.get_setting('REPORT_DEFAULT_PAGE_SIZE') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user