2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 09:46:31 +00:00

Changed tracking into to datetime field

- Added moment.js for formatting dates
-
This commit is contained in:
Oliver
2018-05-10 21:13:36 +10:00
parent 7b478fed4e
commit dcf74292b6
6 changed files with 14413 additions and 3 deletions

View File

@@ -93,7 +93,8 @@ TEMPLATES = [
]
REST_FRAMEWORK = {
'EXCEPTION_HANDLER': 'rest_framework.views.exception_handler'
'EXCEPTION_HANDLER': 'rest_framework.views.exception_handler',
'DATETIME_FORMAT': '%Y-%m-%d %H:%M',
# 'EXCEPTION_HANDLER': 'InvenTree.utils.api_exception_handler',
# 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
# 'PAGE_SIZE': 50,