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'
|
2020-09-28 18:18:23 +03:00
|
|
|
__version__ = '3.12.1'
|
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
|
|
|
|
|
|
|
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
|
2019-03-03 11:20:45 +03:00
|
|
|
|
|
|
|
|
2020-04-06 17:30:49 +03:00
|
|
|
class RemovedInDRF313Warning(DeprecationWarning):
|
2019-03-03 11:20:45 +03:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2020-04-06 17:30:49 +03:00
|
|
|
class RemovedInDRF314Warning(PendingDeprecationWarning):
|
2019-03-03 11:20:45 +03:00
|
|
|
pass
|