mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-09-17 01:32:30 +03:00
Refactor get_field_info method to include max_digits and decimal_places attributes in SimpleMetadata class
This commit is contained in:
parent
0d6ef034d2
commit
7494d7c4a9
|
@ -124,7 +124,8 @@ class SimpleMetadata(BaseMetadata):
|
|||
attrs = [
|
||||
'read_only', 'label', 'help_text',
|
||||
'min_length', 'max_length',
|
||||
'min_value', 'max_value'
|
||||
'min_value', 'max_value',
|
||||
'max_digits', 'decimal_places',
|
||||
]
|
||||
|
||||
for attr in attrs:
|
||||
|
|
Loading…
Reference in New Issue
Block a user