1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-07-26 16:09:49 +03:00
django-rest-framework/rest_framework
Mahdi Rahimi 1ce0853ac5
Refactor get_field_info method to include max_digits and decimal_places attributes in SimpleMetadata class ()
* Refactor get_field_info method to include max_digits and decimal_places attributes in SimpleMetadata class

* Add new test to check decimal_field_info_type

* Update rest_framework/metadata.py

---------

Co-authored-by: Mahdi <mahdi@Mahdis-MacBook-Pro.local>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2023-04-27 10:24:13 +06:00
..
authtoken Add username search field for TokenAdmin () () 2023-04-08 14:56:49 +06:00
locale Translations updated from transifex and compiled 2020-10-13 22:05:24 +02:00
management Add --api-version CLI option to generateschema () 2022-09-22 10:36:01 +01:00
schemas Use PrimaryKeyRelatedField pkfield in openapi () 2022-12-10 22:48:43 +06:00
static/rest_framework Bump version of jQuery to 3.6.4 & updated ref links () 2023-03-28 15:43:25 +06:00
templates/rest_framework Use consistent spelling for "authorization" () 2023-04-04 13:38:23 +06:00
templatetags Made relative URLs clickable as well. () 2022-06-08 15:03:00 +01:00
utils Use ZoneInfo as primary source of timezone data () 2023-04-08 15:16:00 +06:00
__init__.py Use correct class to indicate present deprecation () 2022-09-22 14:07:43 -04:00
apps.py Make DEFAULT_PAGINATION_CLASS None by default. () 2017-09-25 15:36:30 +02:00
authentication.py replace partition with split in BasicAuthentication () 2022-12-08 09:52:35 +06:00
checks.py Fix punctuation in system check () 2020-04-20 16:40:05 -07:00
compat.py Replaced parse_header with parse_header_parameters. () 2022-07-14 14:20:36 +02:00
decorators.py if else optimization () 2022-01-27 15:02:20 +00:00
documentation.py Updated url()'s with path() and re_path() () 2020-08-25 13:50:02 +02:00
exceptions.py feat: Add some changes to ValidationError to support django style vadation errors () 2023-02-06 17:30:48 +06:00
fields.py Use ZoneInfo as primary source of timezone data () 2023-04-08 15:16:00 +06:00
filters.py Ordering filter bug with model property serializer field () 2021-03-16 12:53:39 +00:00
generics.py Allow generic requests, responses, fields, views () 2023-02-22 21:39:01 +06:00
metadata.py Refactor get_field_info method to include max_digits and decimal_places attributes in SimpleMetadata class () 2023-04-27 10:24:13 +06:00
mixins.py Re-prefetch related objects after updating () 2023-01-11 15:30:15 +06:00
negotiation.py Replaced parse_header with parse_header_parameters. () 2022-07-14 14:20:36 +02:00
pagination.py Ensure CursorPagination respects nulls in the ordering field () 2023-04-08 16:42:28 +06:00
parsers.py Refactor: Replace try/except with contextlib.suppress() () 2022-10-05 11:02:00 +01:00
permissions.py Fix Respect can_read_model permission in DjangoModelPermissions () 2023-01-13 14:52:54 +06:00
relations.py Handle Nested Relation in SlugRelatedField when many=False () 2023-04-08 12:27:14 +06:00
renderers.py Represent SafeString as plain string on schema rendering. () 2022-11-23 20:42:06 +06:00
request.py Allow generic requests, responses, fields, views () 2023-02-22 21:39:01 +06:00
response.py Allow generic requests, responses, fields, views () 2023-02-22 21:39:01 +06:00
reverse.py Dropped Python 2 compatibility. () 2019-04-30 17:53:44 +02:00
routers.py Add SimplePathRouter () 2023-01-12 14:16:48 +06:00
serializers.py Support UniqueConstraint () 2023-03-03 13:04:47 +06:00
settings.py Avoid importing django.test package when not testing () 2022-10-14 16:30:26 +01:00
status.py Added http 102, 103, 421, and 425 status codes () 2022-02-03 11:57:47 +00:00
test.py Make APIClient.force_authenticate() work with user=None () 2022-09-15 09:35:48 +01:00
throttling.py Fix error in throttling when request.user is None () 2022-06-24 13:02:11 +01:00
urlpatterns.py Updated url()'s with path() and re_path() () 2020-08-25 13:50:02 +02:00
urls.py Replace all url() calls with path() or re_path() () 2020-09-08 15:32:27 +01:00
validators.py Implement __eq__ for validators () 2023-04-09 14:53:47 +06:00
versioning.py Replace all url() calls with path() or re_path() () 2020-09-08 15:32:27 +01:00
views.py Preserve exception messages for wrapped Django exceptions () 2022-10-11 12:48:57 +00:00
viewsets.py Fixes that namespaced views now also appear in the extra actions () 2022-08-31 11:17:19 +01:00