raphaelmerx
|
b9782b6850
|
DurationField accepts integers
|
2015-09-02 16:47:50 -07:00 |
|
Tom Christie
|
9ac646385f
|
Resolve empty HTML charfield behavior. Closes #3318.
|
2015-08-24 10:13:16 +01:00 |
|
José Padilla
|
8af366a732
|
Raise error when source= use on a child.
Closes #3292
|
2015-08-19 12:32:16 -04:00 |
|
Tom Christie
|
18af181191
|
Fix boolean checkboxes setting to False. Closes #3258. Closes #2776.
|
2015-08-13 09:56:03 +01:00 |
|
Keryn Knight
|
08d60f5cc2
|
Refs #3235 - Test demonstrating a single value passed to ListField is lost.
|
2015-08-07 11:41:56 +01:00 |
|
Tom Christie
|
33d6d4a420
|
Test more types of behavior in test_iter_options
|
2015-08-06 12:30:26 +01:00 |
|
Tom Christie
|
24dec32e7a
|
Added test_iter_options
|
2015-08-06 12:18:09 +01:00 |
|
Tom Christie
|
95a1550388
|
Merge branch 'grouped-choices-fix' of https://github.com/maxpeterson/django-rest-framework into maxpeterson-grouped-choices-fix
|
2015-08-06 10:04:52 +01:00 |
|
Tom Christie
|
38a1b3ec6b
|
Rationalize decimal logic. Closes #3222.
|
2015-08-06 09:51:00 +01:00 |
|
Tom Christie
|
8d7c0a8474
|
Merge branch 'feature/filepathfield' of https://github.com/Ins1ne/django-rest-framework into Ins1ne-feature/filepathfield
|
2015-08-03 10:09:46 +01:00 |
|
Tom Christie
|
c5a04a8516
|
Add test for nullable ChoiceField and blank HTML input. Closes #2623.
|
2015-07-27 13:51:03 +01:00 |
|
Aider Ibragimov
|
d845157983
|
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework into feature/filepathfield
|
2015-07-18 23:34:07 +03:00 |
|
Tom Christie
|
0ccb148183
|
Support QueryDict list arguments with ListField. Closes #3155.
|
2015-07-16 15:59:15 +01:00 |
|
Tom Christie
|
264d423493
|
Added allow_empty flag for ListField, ListSerializer, ManyRelation, MultipleChoiceField.
|
2015-07-16 13:51:15 +01:00 |
|
Tom Christie
|
d231f36588
|
Support default values being used for empty HTML fields. Closes #3130.
|
2015-07-16 11:47:40 +01:00 |
|
Max Peterson
|
56b3f19605
|
Add support for grouped choices.
This also adds support for mixing single and paired choices:
```
[
('poor', 'Poor quality'),
'medium',
('good', 'Good quality'),
]
```
|
2015-07-03 12:27:01 +01:00 |
|
José Padilla
|
7351a3f6ca
|
Sort imports with isort
|
2015-06-25 16:55:51 -04:00 |
|
Tom Christie
|
39ece9bee0
|
Support allow_blank=False with trim_whitespace=True.
|
2015-06-24 13:32:54 +01:00 |
|
Xavier Ordoquy
|
dee5fb5647
|
Merge remote-tracking branch 'reference/master' into feature/ipaddress-fix
Conflicts:
docs/api-guide/fields.md
|
2015-06-04 14:21:33 +01:00 |
|
Xavier Ordoquy
|
0c66c7cfa6
|
Merge pull request #3000 from linovia/ovangle/uuid_format2
Add 'format' argument to UUIDField
|
2015-06-03 12:32:23 +01:00 |
|
Xavier Ordoquy
|
f8eacc5bc0
|
Merge pull request #2993 from linovia/bug/2894
MultipleChoiceField empties incorrectly on a partial update using multipart/form-data (#2894)
|
2015-06-01 17:48:20 +01:00 |
|
Xavier Ordoquy
|
14055dd3f4
|
Merge pull request #2989 from ticosax/duration-field
Add DurationField
|
2015-06-01 17:38:57 +01:00 |
|
Nicolas Delaby
|
f701ecceb7
|
Add DurationField
|
2015-06-01 18:20:53 +02:00 |
|
Xavier Ordoquy
|
94e2d3ca61
|
Test case upgrade to use partial data
|
2015-06-01 16:13:12 +01:00 |
|
Xavier Ordoquy
|
989c08109b
|
Failing test case for #2894
|
2015-06-01 16:04:05 +01:00 |
|
Xavier Ordoquy
|
2f524ec1a3
|
Remove an extra MockHTMLDict definition.
|
2015-06-01 15:46:27 +01:00 |
|
Michał Hernas
|
069ea31cfb
|
Added test ensuring DecimalField accepts 2E+2 as 200 and validates
decimal place correctly.
|
2015-05-18 16:42:24 +02:00 |
|
David Sanders
|
8e84a9f6d0
|
Allow invalid outputs to pass through to_representation() for ChoiceField & MultipleChoiceField
|
2015-05-15 18:59:10 +10:00 |
|
Ryan Allen
|
cbea03c85b
|
DateField to_representation can handle str and empty values. Fixes #2656, #2687.
|
2015-04-23 19:31:46 -05:00 |
|
Ryan Allen
|
1f10a39d31
|
Match IntegerField validation with Django's, preventing decimal values being stored as ints, fixes #2835.
Match IntegerField validation with Django IntegerField, prevents decimal values being stored as ints, fixes #2835
On branch master
|
2015-04-20 11:03:05 -04:00 |
|
Thomas Stephenson
|
236b731072
|
Add 'format' argument to UUIDField
To allow serializations to control the representation format of a
UUID value
|
2015-04-12 22:07:25 +10:00 |
|
Andrea Grandi
|
a0049dd489
|
Add a blank line to make lint happier
|
2015-03-22 23:21:09 +00:00 |
|
Andrea Grandi
|
1d883e0825
|
Add two more tests for IPAddressField, checking the IPv4 and IPv6 protocols separately
|
2015-03-22 16:46:16 +00:00 |
|
Aider Ibragimov
|
5f8338e276
|
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework into feature/filepathfield
|
2015-03-03 14:34:18 +03:00 |
|
Aider Ibragimov
|
c20a0250df
|
add FilePathField, update docs
|
2015-03-03 14:34:06 +03:00 |
|
Kevin Wood
|
b582d52afb
|
Fix docstring formatting
|
2015-02-28 13:06:47 -08:00 |
|
Aider Ibragimov
|
de72022f80
|
Merge branch 'master' of https://github.com/Ins1ne/django-rest-framework into feature/ipaddress
|
2015-02-28 14:29:27 +03:00 |
|
Aider Ibragimov
|
4d5eee04a0
|
add IPAddressField, update docs
|
2015-02-28 10:11:38 +03:00 |
|
Kevin Wood
|
78e8b1b010
|
Updated CreateOnlyDefault to call set_context on its default (if callable)
|
2015-02-27 22:14:15 -08:00 |
|
Evan Heidtmann
|
16ffe5e31f
|
Add tests for callable attributes raising exceptions
|
2015-02-26 09:05:37 -08:00 |
|
Tom Christie
|
dec3493d7c
|
Minor cleanup
|
2015-02-06 14:43:43 +00:00 |
|
José Padilla
|
7f801b9a01
|
Add trim_whitespace to CharField #2517
If set to `True` then leading and trailing
whitespace is trimmed. Defaults to `True`.
|
2015-02-06 01:09:19 -04:00 |
|
Tom Christie
|
4ee4b4f2dc
|
Merge master
|
2015-01-30 14:00:25 +00:00 |
|
Tom Christie
|
35f6a82462
|
Added DictField and support for HStoreField.
|
2015-01-23 16:27:23 +00:00 |
|
Tom Christie
|
e8db1834d3
|
Added UUIDField.
|
2015-01-23 15:24:06 +00:00 |
|
Tom Christie
|
11efde8905
|
Merge pull request #2373 from jakul/document-translations-3.1
Document how to translate DRF error messages (version 3.1)
|
2015-01-09 11:57:02 +00:00 |
|
Craig Blaszczyk
|
7f8d314101
|
update tests to expect new error messages
|
2015-01-08 17:16:47 +00:00 |
|
Craig Blaszczyk
|
91e316f781
|
prefer single quotes in source and double quotes in user visible strings; add some missing full stops to user visible strings
|
2015-01-07 12:46:23 +00:00 |
|
Craig Blaszczyk
|
32506e2075
|
update expected error messages in tests
|
2015-01-02 11:08:39 +00:00 |
|
Tom Christie
|
77e3021fea
|
Better behaviour with null and '' for blank HTML fields.
|
2014-12-20 16:26:51 +00:00 |
|