django-rest-framework/rest_framework/__init__.py

38 lines
1.0 KiB
Python
Raw Normal View History

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
\_| \_\____/\____/ \_/ |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_|
"""
import django
2013-12-05 15:05:25 +04:00
__title__ = 'Django REST framework'
__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'
__copyright__ = 'Copyright 2011-2019 Encode OSS Ltd'
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'
if django.VERSION < (3, 2):
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
class RemovedInDRF315Warning(DeprecationWarning):
pass
class RemovedInDRF317Warning(PendingDeprecationWarning):
pass