2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 01:36:29 +00:00

Added static files directory

- Improved display of part image
This commit is contained in:
Oliver
2018-04-14 18:22:31 +10:00
parent 72b44e15f4
commit a31ec388f4
8 changed files with 56 additions and 27 deletions

View File

@@ -136,6 +136,10 @@ USE_TZ = True
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')