Tom Christie
|
e3b578258a
|
Merge pull request #2769 from nonZero/patch-1
Wrong error message on bad field lookup
|
2015-06-22 17:04:04 +01:00 |
|
Udi Oron
|
b95ef25cbb
|
Wrong error message on bad field lookup
|
2015-03-26 20:13:35 +02:00 |
|
Ilias Kiourktsidis
|
0888f9cfc3
|
Use _meta instead of Meta on is_abstract_model function
|
2015-03-25 12:00:20 +00:00 |
|
Ilias Kiourktsidis
|
486f0a9367
|
Raise error when ModelSerializer used with abstract model
|
2015-03-23 15:01:19 +00:00 |
|
Tom Christie
|
dbd2352165
|
Fixes for latest pep8 updates. Refs #2563.
|
2015-02-17 10:58:00 +00:00 |
|
Tom Christie
|
4ee4b4f2dc
|
Merge master
|
2015-01-30 14:00:25 +00:00 |
|
Tom Christie
|
889a07f556
|
Support assignment in ClassLookupDict
|
2015-01-23 15:32:21 +00:00 |
|
Tom Christie
|
39f26c9eca
|
Merge master
|
2015-01-23 14:28:59 +00:00 |
|
Tom Christie
|
25a703b42c
|
Work around meta API differences
|
2015-01-23 11:15:11 +00:00 |
|
Tom Christie
|
e59b3d1718
|
Make ReturnDict cachable. Closes #2360.
|
2015-01-21 14:18:13 +00:00 |
|
Tom Christie
|
9ec08ce578
|
Merge master
|
2015-01-21 13:12:14 +00:00 |
|
Tom Christie
|
da6ef3d0b0
|
Allow missing fields option for inherited serializers. Closes #2388.
|
2015-01-21 13:03:37 +00:00 |
|
Tom Christie
|
6065cdbd93
|
Merge master
|
2015-01-19 15:16:57 +00:00 |
|
Tom Christie
|
0dffc46cb7
|
ReturnDict and ReturnList repr as standard dict/list. Closes #2421.
|
2015-01-19 14:21:09 +00:00 |
|
Tom Christie
|
da1db34a36
|
Handle UUID objects in JSONEncoder. Closes #2433.
|
2015-01-19 14:19:01 +00:00 |
|
Fabien Bochu
|
5484d570cb
|
Fix timedelta JSON serialization on Python 2.6.
|
2015-01-19 13:09:08 +01:00 |
|
Tom Christie
|
86d2774cf3
|
Fix compat issues
|
2015-01-16 20:30:46 +00:00 |
|
Tom Christie
|
f13fcba9a9
|
Include paragraph around view description in browable API
|
2015-01-14 13:20:02 +00:00 |
|
Tom Christie
|
4d287c7aef
|
Include paragraph around view description in browable API
|
2015-01-14 13:19:56 +00:00 |
|
Tom Christie
|
6168f60ba8
|
Merge branch 'master' into version-3.1
|
2015-01-05 11:02:28 +00:00 |
|
Tom Christie
|
8cf3744971
|
Ensure no invalid min_length/min_value/max_value arguments. Closes #2369.
|
2015-01-05 10:52:18 +00:00 |
|
Kyle Valade
|
a7479721c8
|
First pass at refactoring get_field_info in utils.model_meta
|
2014-12-29 00:35:00 -08:00 |
|
Tom Christie
|
ef2eff2aba
|
Only pass max_length for CharField. Closes #2317.
|
2014-12-28 11:07:38 +00:00 |
|
Remi Paulmier
|
6c5ff71278
|
fix the way to use textarea rather than input with models.TextField
|
2014-12-22 18:05:07 +01:00 |
|
Tom Christie
|
2a1485e009
|
Final bits of docs for ModelSerializer fields API
|
2014-12-19 21:32:43 +00:00 |
|
Tom Christie
|
a68d9331fc
|
YAML encoder fix for 3.0 serializers.
|
2014-12-18 12:17:46 +00:00 |
|
Tom Christie
|
b6ee784240
|
Merge master
|
2014-12-15 12:18:55 +00:00 |
|
Tom Christie
|
dc66cce16d
|
Remove erronous print
|
2014-12-15 12:01:29 +00:00 |
|
Tom Christie
|
72e08a3e8b
|
Use unicode internally everywhere for 'repr'
|
2014-12-15 11:55:17 +00:00 |
|
Tom Christie
|
8934e61b67
|
Merge branch 'jpadilla-exception-handler-context' into version-3.1
|
2014-12-15 09:20:27 +00:00 |
|
Tom Christie
|
5e7c9687c7
|
First pass at serializer repr bug
|
2014-12-15 09:13:02 +00:00 |
|
Tom Christie
|
baaa356489
|
Merge master
|
2014-12-12 15:37:43 +00:00 |
|
Tom Christie
|
7d70e56ce3
|
Copy model field validators, don't reuse the same list.
|
2014-12-09 16:25:10 +00:00 |
|
José Padilla
|
afe7ed9333
|
Add allow_blank for ChoiceField #2184
This makes a ChoiceField optional in HTML if
model field has `blank=True` set.
|
2014-12-09 09:25:06 -04:00 |
|
Tymur Maryokhin
|
d54c67d79d
|
Removed custom StringIO, force_text, smart_text compat
|
2014-12-04 03:11:42 +01:00 |
|
Tymur Maryokhin
|
09e59f2686
|
Removed custom python_2_unicode_compatible. Closes #2183
|
2014-12-04 02:50:25 +01:00 |
|
Tom Christie
|
33096a1de6
|
BindingDict inherits from collections.MutableMapping. Closes #2135.
|
2014-12-02 15:15:21 +00:00 |
|
José Padilla
|
731c8421af
|
Remove YAML support from core
|
2014-11-29 14:43:05 -04:00 |
|
Tom Christie
|
3a5b3772fe
|
Use ImproperlyConfigured when model meta lookup fails
|
2014-11-28 15:36:04 +00:00 |
|
Doug Beck
|
67735687b2
|
Ensure _resolve_model does not return None
|
2014-11-18 01:26:23 -05:00 |
|
Tom Christie
|
4e03518438
|
required=False for nullable relationships
|
2014-11-13 23:30:42 +00:00 |
|
Tom Christie
|
cb672a0ecb
|
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
|
2014-11-13 22:16:53 +00:00 |
|
Tom Christie
|
ea98de9b88
|
Model fields with .blank or .null now map to required=False. Closes #2017. Closes #2021.
|
2014-11-13 19:28:57 +00:00 |
|
Tom Christie
|
e70b82b6c8
|
Update html.py
|
2014-11-12 15:38:39 +00:00 |
|
Tom Christie
|
1838e18aee
|
Update html.py
|
2014-11-12 15:38:05 +00:00 |
|
Tom Christie
|
a16a8a10a9
|
.copy() for serializer .data and .errors dictionaries
|
2014-11-07 11:16:26 +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
|
db1dd8e240
|
Tests & fixes for list serialization
|
2014-11-06 17:32:33 +00:00 |
|
Tom Christie
|
4e001dbb7a
|
Drop usage of SortedDict. Closes #2027.
|
2014-11-06 12:00:30 +00:00 |
|