mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 04:54:00 +03:00
b658915846
* Version 3.14.0 * Update docs/community/release-notes.md to use proper links. Co-authored-by: Adam Johnson <me@adamj.eu> * Add community announcement page for version 3.14 * Remove deprecated NullBooleanField. * Change openapi _get_reference removal to 3.15 This deprecation was never released in the 3.13.x series and therefore can't be removed at the same time the replacement is released. * Removing deprecated openapi methods. Co-authored-by: Adam Johnson <me@adamj.eu>
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
r"""
|
|
______ _____ _____ _____ __
|
|
| ___ \ ___/ ___|_ _| / _| | |
|
|
| |_/ / |__ \ `--. | | | |_ _ __ __ _ _ __ ___ _____ _____ _ __| |__
|
|
| /| __| `--. \ | | | _| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
|
|
| |\ \| |___/\__/ / | | | | | | | (_| | | | | | | __/\ V V / (_) | | | <
|
|
\_| \_\____/\____/ \_/ |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_|
|
|
"""
|
|
|
|
import django
|
|
|
|
__title__ = 'Django REST framework'
|
|
__version__ = '3.14.0'
|
|
__author__ = 'Tom Christie'
|
|
__license__ = 'BSD 3-Clause'
|
|
__copyright__ = 'Copyright 2011-2019 Encode OSS Ltd'
|
|
|
|
# Version synonym
|
|
VERSION = __version__
|
|
|
|
# Header encoding (see RFC5987)
|
|
HTTP_HEADER_ENCODING = 'iso-8859-1'
|
|
|
|
# Default datetime input and output formats
|
|
ISO_8601 = 'iso-8601'
|
|
|
|
|
|
if django.VERSION < (3, 2):
|
|
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
|
|
|
|
|
|
class RemovedInDRF313Warning(DeprecationWarning):
|
|
pass
|
|
|
|
|
|
class RemovedInDRF314Warning(PendingDeprecationWarning):
|
|
pass
|
|
|
|
|
|
class RemovedInDRF315Warning(PendingDeprecationWarning):
|
|
pass
|