Changed tracking into to datetime field

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

No files matched your search

+2 -1
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,