更改sys_version
This commit is contained in:
parent
bad884ce26
commit
989e0930f2
|
@ -54,4 +54,4 @@ class SignatureViewSet(CustomCreateModelMixin, CustomGenericViewSet):
|
|||
cv2.imwrite(new_path, image)
|
||||
return Response({'path': new_path.replace(BASE_DIR, '')})
|
||||
except Exception:
|
||||
raise ParseError(**SIGN_MAKE_FAIL)
|
||||
raise ParseError(**SIGN_MAKE_FAIL)
|
|
@ -28,7 +28,7 @@ DEBUG = conf.DEBUG
|
|||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
SYS_VERSION = '1.00.00'
|
||||
SYS_VERSION = '1.02.00'
|
||||
|
||||
|
||||
# Application definition
|
||||
|
@ -188,6 +188,7 @@ REST_FRAMEWORK = {
|
|||
'rest_framework.filters.SearchFilter',
|
||||
'rest_framework.filters.OrderingFilter'
|
||||
],
|
||||
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning',
|
||||
'DEFAULT_PAGINATION_CLASS': 'apps.utils.pagination.MyPagination',
|
||||
'DATETIME_FORMAT': '%Y-%m-%d %H:%M:%S',
|
||||
'DATE_FORMAT': '%Y-%m-%d',
|
||||
|
|
Loading…
Reference in New Issue