raphaelmerx
|
b9782b6850
|
DurationField accepts integers
|
2015-09-02 16:47:50 -07:00 |
|
Tom Christie
|
b271946b31
|
Merge pull request #3321 from tomchristie/empty-charfield-html
Resolve empty HTML charfield behavior.
|
2015-08-24 10:41:36 +01:00 |
|
Tom Christie
|
9ac646385f
|
Resolve empty HTML charfield behavior. Closes #3318.
|
2015-08-24 10:13:16 +01:00 |
|
borzdyko
|
21d0e51831
|
Test for regex search filter
|
2015-08-21 18:23:39 +03:00 |
|
Tom Christie
|
0f77c27d34
|
Merge branch 'master' of https://github.com/callorico/django-rest-framework into callorico-master
|
2015-08-20 12:30:33 +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 |
|
James Beith
|
e9d9cb7011
|
Add tests for display_value
|
2015-08-10 12:19:46 +01:00 |
|
Ryan Kaneshiro
|
bc6bf7236b
|
Add test to repro duplicate validation error
Using the ModelSerializer with a model containing a GenericIPAddressField
produces duplicated validation error messages.
|
2015-08-07 16:53:43 -07: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
|
27ac5a3680
|
Support grouped choices
|
2015-08-06 11:43:03 +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
|
a543fae180
|
Merge pull request #2766 from delinhabit/allow-null-list-serializer
Modify subtle ChildSerializer(many=True, allow_null=True) behavior.
|
2015-07-31 10:11:21 +01:00 |
|
Tom Christie
|
e68d737825
|
Respect blank on many to many, and set allow_empty=False if it is not present. Closes #2804.
|
2015-07-30 17:03:08 +01:00 |
|
Tom Christie
|
4fd971e3e5
|
Update exception handler test in line with deprecations
|
2015-07-30 15:42:11 +01:00 |
|
Tom Christie
|
c203ca4c64
|
Deprecations
|
2015-07-30 15:26:42 +01:00 |
|
Tom Christie
|
c5a04a8516
|
Add test for nullable ChoiceField and blank HTML input. Closes #2623.
|
2015-07-27 13:51:03 +01:00 |
|
Ion Scerbatiuc
|
bbd44ae94b
|
Updated the test cases based on the CR comments
|
2015-07-25 08:22:14 -07:00 |
|
Ion Scerbatiuc
|
085c3e8a2b
|
Fixed python 2.6 compatibility
|
2015-07-25 08:10:15 -07:00 |
|
Ion Scerbatiuc
|
bf25a6ecbc
|
Test case for using allow_null with many=True and a fix for it
|
2015-07-25 08:10:15 -07:00 |
|
Tom Christie
|
bdeb28944f
|
Use RuntimeError, not AssertionError when guarding against direct View.queryset evalutation. Refs #3180.
|
2015-07-24 09:13:39 +01:00 |
|
Tom Christie
|
e05021c8c6
|
Guard against erronous direct .queryset evaluation in CBVs.
|
2015-07-23 17:17:18 +01:00 |
|
Tom Christie
|
d14bc3c4e1
|
Fix test cases for python3
|
2015-07-23 14:41:28 +01:00 |
|
Tom Christie
|
90fe0fb881
|
Errors in browsable API on error. Closes #3024.
|
2015-07-23 14:31:25 +01:00 |
|
Tom Christie
|
22631c73a7
|
Resolve assertion error with LimitOffsetPagination and erronous parameters. Closes #2920.
|
2015-07-23 12:41:35 +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
|
7b21336872
|
Rename model to play nice with Django 1.7.
|
2015-07-16 16:18:14 +01:00 |
|
Tom Christie
|
0b6eb4a881
|
Fix for Django 1.7 issue with long default verbose_name arguments on ChoiceField
|
2015-07-16 16:01:50 +01:00 |
|
Tom Christie
|
0ccb148183
|
Support QueryDict list arguments with ListField. Closes #3155.
|
2015-07-16 15:59:15 +01:00 |
|
Tom Christie
|
e14391e041
|
Fix for ModelSerializer ChoiceField with nonstandard args. Closes #3126.
|
2015-07-16 15:46:27 +01:00 |
|
Tom Christie
|
713333d354
|
Merge branch 'master' of github.com:tomchristie/django-rest-framework
|
2015-07-16 15:17:27 +01:00 |
|
Tom Christie
|
806b0b34da
|
Include nested objects in metadata for OPTIONS. Closes #3156. Closes #2915.
|
2015-07-16 15:17:18 +01:00 |
|
Tom Christie
|
264d423493
|
Added allow_empty flag for ListField, ListSerializer, ManyRelation, MultipleChoiceField.
|
2015-07-16 13:51:15 +01:00 |
|
Venelin Stoykov
|
73c0ebc2d5
|
Test for #3153
|
2015-07-16 15:40:41 +03:00 |
|
Tom Christie
|
cde7154c59
|
Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements.
|
2015-07-16 11:50:22 +01:00 |
|
Tom Christie
|
d231f36588
|
Support default values being used for empty HTML fields. Closes #3130.
|
2015-07-16 11:47:40 +01:00 |
|
Tom Christie
|
132eab7bbd
|
Raise helpful error when erronously including nested data in multipart post requests with test client. Closes #2919.
|
2015-07-14 14:49:44 +01:00 |
|
Juan Gutierrez
|
2887fc4a0b
|
update QueryDict initialization to satisfy older versions of Django
|
2015-07-08 08:25:12 -04:00 |
|
Juan Gutierrez
|
35db2b142f
|
remove FakeMultiDict definition in nested serializer tests and replace with django QueryDict
|
2015-07-08 08:19:42 -04:00 |
|
Juan Gutierrez
|
b0c5f9db2f
|
allow a non-required nested serializer to validate correctly when receiving multipart data
|
2015-07-03 12:28:48 -04: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 |
|
Julien Syx
|
2b979d4356
|
Adding recursion on child of List Field
|
2015-07-02 14:15:43 +02:00 |
|
Tom Christie
|
fb4233736f
|
Empty settings should also be coerced to lists. Closes #3087.
|
2015-07-02 10:28:46 +01:00 |
|
Tyler Redzko
|
af08c70242
|
Update extra_kwargs on model serializer
Ensures that the 'read_only' and 'required' keys from `extra_kwargs` are
retained when present. Closes #3091.
|
2015-07-01 10:10:18 -04:00 |
|
José Padilla
|
7351a3f6ca
|
Sort imports with isort
|
2015-06-25 16:55:51 -04:00 |
|
José Padilla
|
83c9136c90
|
Cleanup import following PEP 8 style guide
|
2015-06-25 16:10:17 -04:00 |
|