Tom Christie
|
d2d412993f
|
.validate() on serializer fields
|
2014-09-29 11:24:21 +01:00 |
|
Tom Christie
|
43fd5a8730
|
Uniqueness validation
|
2014-09-29 09:24:03 +01:00 |
|
Tom Christie
|
dee3f78cb6
|
FileField and ImageField
|
2014-09-26 17:06:20 +01:00 |
|
Tom Christie
|
6090144608
|
Simplify serialization slightly
|
2014-09-26 14:32:44 +01:00 |
|
Tom Christie
|
2e87de0143
|
Added ListField
|
2014-09-26 13:08:20 +01:00 |
|
Tom Christie
|
2859eaf524
|
request.data attribute
|
2014-09-26 10:46:52 +01:00 |
|
Tom Christie
|
417fe1b675
|
Partial support
|
2014-09-25 13:37:26 +01:00 |
|
Tom Christie
|
3a5335f09f
|
Fix syntax error
|
2014-09-25 13:12:02 +01:00 |
|
Tom Christie
|
8ee92f8a18
|
Refuse to downcast from datetime to date or time
|
2014-09-25 13:10:33 +01:00 |
|
Tom Christie
|
b47ca158b9
|
Check for redundant on SerializerMethodField
|
2014-09-25 12:09:12 +01:00 |
|
Tom Christie
|
64632da371
|
Clean up bind - no longer needs to be called multiple times in nested fields
|
2014-09-25 11:40:32 +01:00 |
|
Tom Christie
|
1420c76453
|
Ensure proper sorting of 'choices' attribute on ChoiceField
|
2014-09-25 10:49:25 +01:00 |
|
Tom Christie
|
fb1546ee50
|
Enforce field_name != source
|
2014-09-24 20:53:37 +01:00 |
|
Tom Christie
|
127c0bd3d6
|
Custom deepcopy on Field classes
|
2014-09-24 20:25:59 +01:00 |
|
Tom Christie
|
0404f09a7e
|
NullBooleanField
|
2014-09-23 14:30:17 +01:00 |
|
Tom Christie
|
f22d0afc3d
|
Tests for field choices
|
2014-09-23 14:15:00 +01:00 |
|
Tom Christie
|
5d80f7f932
|
allow_blank, allow_null
|
2014-09-22 17:46:02 +01:00 |
|
Tom Christie
|
5a95baf2a2
|
Tests & tweaks for ChoiceField
|
2014-09-22 16:52:57 +01:00 |
|
Tom Christie
|
b5454dd022
|
Tests and tweaks for choice fields
|
2014-09-22 16:50:04 +01:00 |
|
Tom Christie
|
e5f0a97595
|
More compat fixes
|
2014-09-22 16:45:06 +01:00 |
|
Tom Christie
|
5586b6581d
|
Support format=None for date/time fields
|
2014-09-22 16:02:59 +01:00 |
|
Tom Christie
|
4db23cae21
|
Tweaks to DecimalField
|
2014-09-22 15:34:06 +01:00 |
|
Tom Christie
|
249253a144
|
Fix compat issues
|
2014-09-22 14:54:33 +01:00 |
|
Tom Christie
|
c54f394904
|
Ensure 'messages' in fields are respected in preference to default validator messages
|
2014-09-22 13:57:45 +01:00 |
|
Tom Christie
|
afb3f8ab0a
|
Tests and tweaks for text fields
|
2014-09-22 13:26:47 +01:00 |
|
Tom Christie
|
af46fd6b00
|
Field tests and associated cleanup
|
2014-09-22 12:25:57 +01:00 |
|
Tom Christie
|
5b7e4af0d6
|
get_base_field() refactor
|
2014-09-18 11:20:56 +01:00 |
|
Tom Christie
|
40dc588a37
|
Drop label from serializer fields when not needed
|
2014-09-15 09:50:51 +01:00 |
|
Tom Christie
|
e6c88a4233
|
Drop usage of validatiors.EMPTY_VALUES
|
2014-09-12 19:54:27 +01:00 |
|
Tom Christie
|
79715f01f8
|
Coerce dates etc to ISO_8601 in seralizer, by default.
|
2014-09-12 12:10:22 +01:00 |
|
Tom Christie
|
5e39e159ee
|
UNICODE_JSON and COMPACT_JSON settings
|
2014-09-12 11:38:22 +01:00 |
|
Tom Christie
|
250755def7
|
Clean up relational fields queryset usage
|
2014-09-12 10:59:51 +01:00 |
|
Tom Christie
|
0d354e8f92
|
to_internal_value() and to_representation()
|
2014-09-12 09:49:35 +01:00 |
|
Tom Christie
|
adcb64ab41
|
MethodField -> SerializerMethodField
|
2014-09-12 09:12:56 +01:00 |
|
Tom Christie
|
1e53eb0aa2
|
DecimalFields should still be quantized even without coerce_to_string
|
2014-09-11 21:57:32 +01:00 |
|
Tom Christie
|
040bfcc09c
|
NotImplemented stubs for Field, and DecimalField improvements
|
2014-09-11 21:48:54 +01:00 |
|
Tom Christie
|
de301f3b66
|
Merge master
|
2014-09-11 13:20:44 +01:00 |
|
Tom Christie
|
80ba047347
|
Compat fixes
|
2014-09-10 16:57:22 +01:00 |
|
Tom Christie
|
01c8c0cad9
|
Added help_text argument to fields
|
2014-09-10 13:52:16 +01:00 |
|
Tom Christie
|
234369aefd
|
Tweaks
|
2014-09-10 08:53:33 +01:00 |
|
Tom Christie
|
b1c07670ca
|
Fleshing out serializer fields
|
2014-09-09 17:46:28 +01:00 |
|
Tom Christie
|
21980b800d
|
More test sorting
|
2014-09-08 14:24:05 +01:00 |
|
Christopher Adams
|
613a301a36
|
Fixed #1533 - Resolved issue with integer keys on nested choices never validating.
- Added unit test for nested `choices` argument.
- Added unit test for non-nested `choices` argument.
|
2014-09-06 17:13:28 -04:00 |
|
Tom Christie
|
d934824bff
|
Workin on
|
2014-09-05 16:29:46 +01:00 |
|
Piotr Jakimiak
|
c3b841ae44
|
Use Serializer instead of ModelSerializer
|
2014-09-05 14:08:11 +02:00 |
|
Piotr Jakimiak
|
6022b9ddd4
|
Fix comment
|
2014-09-05 12:00:17 +02:00 |
|
Piotr Jakimiak
|
d9633c6817
|
Fix returning None when allow_none is True in CharField
|
2014-09-05 11:08:34 +02:00 |
|
Tom Christie
|
f2852811f9
|
Getting tests passing
|
2014-09-02 17:41:23 +01:00 |
|
Tom Christie
|
ec096a1cac
|
Add relations and get tests running
|
2014-09-02 15:07:56 +01:00 |
|
Tom Christie
|
4ac4676a40
|
First pass
|
2014-08-29 16:46:26 +01:00 |
|