Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/rest_framework/__init__.py: 90%

15 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1r""" 

2______ _____ _____ _____ __ 

3| ___ \ ___/ ___|_ _| / _| | | 

4| |_/ / |__ \ `--. | | | |_ _ __ __ _ _ __ ___ _____ _____ _ __| |__ 

5| /| __| `--. \ | | | _| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ / 

6| |\ \| |___/\__/ / | | | | | | | (_| | | | | | | __/\ V V / (_) | | | < 

7\_| \_\____/\____/ \_/ |_| |_| \__,_|_| |_| |_|\___| \_/\_/ \___/|_| |_|\_| 

8""" 

9 

10import django 

11 

12__title__ = 'Django REST framework' 

13__version__ = '3.13.1' 

14__author__ = 'Tom Christie' 

15__license__ = 'BSD 3-Clause' 

16__copyright__ = 'Copyright 2011-2019 Encode OSS Ltd' 

17 

18# Version synonym 

19VERSION = __version__ 

20 

21# Header encoding (see RFC5987) 

22HTTP_HEADER_ENCODING = 'iso-8859-1' 

23 

24# Default datetime input and output formats 

25ISO_8601 = 'iso-8601' 

26 

27 

28if django.VERSION < (3, 2): 28 ↛ 29line 28 didn't jump to line 29, because the condition on line 28 was never true

29 default_app_config = 'rest_framework.apps.RestFrameworkConfig' 

30 

31 

32class RemovedInDRF313Warning(DeprecationWarning): 

33 pass 

34 

35 

36class RemovedInDRF314Warning(PendingDeprecationWarning): 

37 pass