Tom Christie
|
8516281078
|
Minor fix for #2092.
|
2014-11-19 14:40:30 +00:00 |
|
Tom Christie
|
8586290df8
|
Apply defaults and requiredness to unique_together fields. Closes #2092.
|
2014-11-19 13:55:10 +00:00 |
|
Tom Christie
|
5e74f02d61
|
Note removal of 'save_object' and fail loudly if it exists
|
2014-11-18 14:49:00 +00:00 |
|
Tom Christie
|
7394dcec9e
|
ReturnList and ReturnDict wrapped at nicer point
|
2014-11-13 23:05:44 +00:00 |
|
Tom Christie
|
992330055e
|
Refactor many
|
2014-11-13 21:11:13 +00:00 |
|
Tom Christie
|
78a741be27
|
Split out .create and .update on ListSerializer
|
2014-11-13 20:24:48 +00:00 |
|
Tom Christie
|
3e878a3207
|
Fix initial data on serializers to reflect writable fields
|
2014-11-07 15:38:27 +00:00 |
|
Tom Christie
|
55c44fc921
|
Fix serializer initial data
|
2014-11-07 14:13:50 +00:00 |
|
Tom Christie
|
e399140031
|
Minor tweaks
|
2014-11-07 10:51:08 +00:00 |
|
Tom Christie
|
9b19b5a594
|
Serializer cleanup
|
2014-11-07 10:13:46 +00:00 |
|
Tom Christie
|
4e001dbb7a
|
Drop usage of SortedDict. Closes #2027.
|
2014-11-06 12:00:30 +00:00 |
|
Tom Christie
|
a919068c5d
|
Fix exception style for py3
|
2014-11-06 11:35:34 +00:00 |
|
Tom Christie
|
4482be46ae
|
More precise assertion error for bulk update
|
2014-11-06 11:10:36 +00:00 |
|
Tom Christie
|
ed541864e6
|
Support for bulk create. Closes #1965.
|
2014-11-06 10:34:59 +00:00 |
|
Tom Christie
|
49fae23000
|
Pass through kwargs to both Serializer and ListSerializer
|
2014-11-05 15:23:13 +00:00 |
|
Tom Christie
|
d048d32876
|
Minor cleanup
|
2014-11-05 13:40:21 +00:00 |
|
Tom Christie
|
003c42b0f5
|
Use invalid_data key for error message. Closes #2002.
|
2014-11-03 14:01:02 +00:00 |
|
Tom Christie
|
207208fedf
|
Lazy loading of fields and validators. Closes #1963.
|
2014-10-31 16:38:39 +00:00 |
|
Tom Christie
|
2762205887
|
Validator documentation and tweaks
|
2014-10-31 13:47:36 +00:00 |
|
Tom Christie
|
9ebaabd6eb
|
unique_for_date/unique_for_month/unique_for_year
|
2014-10-28 16:21:49 +00:00 |
|
Tom Christie
|
f9c0e6ee1b
|
unique_for_month, unique_for_year
|
2014-10-22 16:29:09 +01:00 |
|
Tom Christie
|
ae53fdff9c
|
First pass at unique_for_date, unique_for_month, unique_for_year
|
2014-10-22 13:30:28 +01:00 |
|
Tom Christie
|
c5d1be8eac
|
.validate() can raise field errors or non-field errors
|
2014-10-22 10:32:32 +01:00 |
|
Tom Christie
|
05cbec9dd7
|
Use serializers.ValidationError
|
2014-10-17 13:23:14 +01:00 |
|
Tom Christie
|
32fd82ba0d
|
get_attribute method on fields
|
2014-10-16 20:47:57 +01:00 |
|
Tom Christie
|
7b666e982c
|
Stricter checking for failure cases.
|
2014-10-16 20:47:57 +01:00 |
|
Marty Alchin
|
4248a6c499
|
Add a keys method to BindingDict
|
2014-10-15 17:54:58 -07:00 |
|
Tom Christie
|
b4f3379c70
|
Support fields that reference a simple callable
|
2014-10-15 15:13:28 +01:00 |
|
Tom Christie
|
e272a36c9b
|
Fix 'lookup_field' on ModelSerializer. Closes #1944.
|
2014-10-15 09:24:49 +01:00 |
|
Tom Christie
|
826b5a8897
|
Relations in 'read_only_fields' should not include a queryset kwarg
|
2014-10-10 15:34:00 +01:00 |
|
Tom Christie
|
b5a4216aff
|
Flake8
|
2014-10-10 15:08:43 +01:00 |
|
Tom Christie
|
d8a8987ab1
|
Tweaks
|
2014-10-10 14:32:02 +01:00 |
|
Tom Christie
|
d9a199ca0d
|
exceptions.ValidationFailed, not Django's ValidationError
|
2014-10-10 14:16:09 +01:00 |
|
Tom Christie
|
f83ed19d22
|
Checks and repr on BoundField
|
2014-10-09 16:29:34 +01:00 |
|
Tom Christie
|
5d247a65c8
|
First pass on nested serializers in HTML
|
2014-10-09 15:11:19 +01:00 |
|
Tom Christie
|
14ae52a24e
|
More gradual deprecation
|
2014-10-08 16:09:37 +01:00 |
|
Tom Christie
|
28f3b314f1
|
.validate() returning validated data. transform_<field> hooks.
|
2014-10-08 12:36:28 +01:00 |
|
Tom Christie
|
0cbb57b40f
|
Tweak pre/post save hooks. Return instance in .update().
|
2014-10-08 12:17:30 +01:00 |
|
Tom Christie
|
6b09e5f2bb
|
Tests for generic relationships
|
2014-10-08 11:22:10 +01:00 |
|
Tom Christie
|
3a3e2bf57d
|
Serializer.save() takes keyword arguments, not 'extras' argument
|
2014-10-03 13:42:06 +01:00 |
|
Tom Christie
|
e6c5ebdda6
|
Fix indentation
|
2014-10-03 13:14:17 +01:00 |
|
Tom Christie
|
fec7c4b458
|
Browsable API tweaks
|
2014-10-02 18:13:15 +01:00 |
|
Tom Christie
|
df7b6fcf58
|
First pass on incorperating the form rendering into the browsable API
|
2014-10-02 16:24:24 +01:00 |
|
Tom Christie
|
c171fa21ac
|
First pass at HTML form rendering
|
2014-10-01 19:44:46 +01:00 |
|
Tom Christie
|
d1b2c8ac7f
|
Absolute URLs for file fields
|
2014-09-29 14:12:26 +01:00 |
|
Tom Christie
|
9805a085fb
|
UniqueTogetherValidator
|
2014-09-29 11:23:02 +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
|
8b8623c5f8
|
Allow many, partial and context in BaseSerializer
|
2014-09-26 12:48:20 +01:00 |
|
Tom Christie
|
43e80c74b2
|
Release notes
|
2014-09-26 11:56:29 +01:00 |
|