2017-01-16 16:51:07 +03:00
|
|
|
r"""
|
2014-08-19 16:28:07 +04:00
|
|
|
______ _____ _____ _____ __
|
|
|
|
| ___ \ ___/ ___|_ _| / _| | |
|
|
|
|
| |_/ / |__ \ `--. | | | |_ _ __ __ _ _ __ ___ _____ _____ _ __| |__
|
2013-12-05 15:05:25 +04:00
|
|
|
| /| __| `--. \ | | | _| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
|
2014-08-19 16:28:07 +04:00
|
|
|
| |\ \| |___/\__/ / | | | | | | | (_| | | | | | | __/\ V V / (_) | | | <
|
2013-12-05 15:05:25 +04:00
|
|
|
\_| \_\____/\____/ \_/ |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_|
|
|
|
|
"""
|
|
|
|
|
|
|
|
__title__ = 'Django REST framework'
|
2024-06-14 18:34:21 +03:00
|
|
|
__version__ = '3.15.2'
|
2013-12-05 15:05:25 +04:00
|
|
|
__author__ = 'Tom Christie'
|
2019-11-05 19:43:32 +03:00
|
|
|
__license__ = 'BSD 3-Clause'
|
2023-06-13 12:01:29 +03:00
|
|
|
__copyright__ = 'Copyright 2011-2023 Encode OSS Ltd'
|
2012-09-20 16:06:27 +04:00
|
|
|
|
2013-12-05 15:05:25 +04:00
|
|
|
# Version synonym
|
|
|
|
VERSION = __version__
|
2013-02-01 18:03:28 +04:00
|
|
|
|
|
|
|
# Header encoding (see RFC5987)
|
|
|
|
HTTP_HEADER_ENCODING = 'iso-8859-1'
|
2013-03-01 19:24:25 +04:00
|
|
|
|
2013-03-06 16:29:56 +04:00
|
|
|
# Default datetime input and output formats
|
2013-03-06 16:19:39 +04:00
|
|
|
ISO_8601 = 'iso-8601'
|
2022-06-24 11:59:20 +03:00
|
|
|
STD_DURATION = 'standard'
|
2017-09-25 16:36:31 +03:00
|
|
|
|
2020-08-13 23:33:25 +03:00
|
|
|
|
2024-04-26 17:50:40 +03:00
|
|
|
class RemovedInDRF316Warning(DeprecationWarning):
|
2022-09-21 16:08:12 +03:00
|
|
|
pass
|
2023-06-13 09:55:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
class RemovedInDRF317Warning(PendingDeprecationWarning):
|
|
|
|
pass
|