mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Comments for settings.py
This commit is contained in:
		| @@ -231,16 +231,20 @@ USE_TZ = True | |||||||
| # Static files (CSS, JavaScript, Images) | # Static files (CSS, JavaScript, Images) | ||||||
| # https://docs.djangoproject.com/en/1.10/howto/static-files/ | # https://docs.djangoproject.com/en/1.10/howto/static-files/ | ||||||
|  |  | ||||||
|  | # Web URL endpoint for served static files | ||||||
| STATIC_URL = '/static/' | STATIC_URL = '/static/' | ||||||
|  |  | ||||||
|  | # The filesystem location for served static files | ||||||
| STATIC_ROOT = CONFIG.get('static_root', os.path.join(BASE_DIR, 'static')) | STATIC_ROOT = CONFIG.get('static_root', os.path.join(BASE_DIR, 'static')) | ||||||
|  |  | ||||||
| STATICFILES_DIRS = [ | STATICFILES_DIRS = [ | ||||||
|     os.path.join(BASE_DIR, 'InvenTree', 'static'), |     os.path.join(BASE_DIR, 'InvenTree', 'static'), | ||||||
| ] | ] | ||||||
|  |  | ||||||
|  | # Web URL endpoint for served media files | ||||||
| MEDIA_URL = '/media/' | MEDIA_URL = '/media/' | ||||||
|  |  | ||||||
|  | # The filesystem location for served static files | ||||||
| MEDIA_ROOT = CONFIG.get('media_root', os.path.join(BASE_DIR, 'media')) | MEDIA_ROOT = CONFIG.get('media_root', os.path.join(BASE_DIR, 'media')) | ||||||
|  |  | ||||||
| # crispy forms use the bootstrap templates | # crispy forms use the bootstrap templates | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user