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
|
|
|
\_| \_\____/\____/ \_/ |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_|
|
|
|
|
"""
|
|
|
|
|
2020-08-13 23:33:25 +03:00
|
|
|
import django
|
|
|
|
|
2013-12-05 15:05:25 +04:00
|
|
|
__title__ = 'Django REST framework'
|
2022-09-21 16:08:12 +03:00
|
|
|
__version__ = '3.14.0'
|
2013-12-05 15:05:25 +04:00
|
|
|
__author__ = 'Tom Christie'
|
2019-11-05 19:43:32 +03:00
|
|
|
__license__ = 'BSD 3-Clause'
|
2019-01-16 16:27:35 +03:00
|
|
|
__copyright__ = 'Copyright 2011-2019 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'
|
2017-09-25 16:36:31 +03:00
|
|
|
|
2020-08-13 23:33:25 +03:00
|
|
|
|
|
|
|
if django.VERSION < (3, 2):
|
|
|
|
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
|
2019-03-03 11:20:45 +03:00
|
|
|
|
|
|
|
|
2022-09-22 21:07:43 +03:00
|
|
|
class RemovedInDRF315Warning(DeprecationWarning):
|
2022-09-21 16:08:12 +03:00
|
|
|
pass
|