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 |
|
Kevin Wood
|
b582d52afb
|
Fix docstring formatting
|
2015-02-28 13:06:47 -08: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 |
|
Tom Christie
|
1087ccbb25
|
Drop print statements in tests
|
2014-12-18 10:39:00 +00:00 |
|
Tom Christie
|
87ac64e41b
|
Fixes for behavior with empty HTML fields.
|
2014-12-18 10:36:52 +00:00 |
|
Tom Christie
|
3fff5cb6e0
|
Fix empty HTML values when a default is provided.
|
2014-12-17 15:13:48 +00:00 |
|
Tom Christie
|
72e08a3e8b
|
Use unicode internally everywhere for 'repr'
|
2014-12-15 11:55:17 +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 |
|
Tom Christie
|
e49d22dbda
|
Allow blank choices to render. Closes #2071.
|
2014-11-19 09:31:26 +00:00 |
|
Tom Christie
|
ed541864e6
|
Support for bulk create. Closes #1965.
|
2014-11-06 10:34:59 +00:00 |
|
Tom Christie
|
207208fedf
|
Lazy loading of fields and validators. Closes #1963.
|
2014-10-31 16:38:39 +00:00 |
|
Tom Christie
|
9ebaabd6eb
|
unique_for_date/unique_for_month/unique_for_year
|
2014-10-28 16:21:49 +00:00 |
|
Tom Christie
|
05cbec9dd7
|
Use serializers.ValidationError
|
2014-10-17 13:23:14 +01:00 |
|
Tom Christie
|
d9a199ca0d
|
exceptions.ValidationFailed, not Django's ValidationError
|
2014-10-10 14:16:09 +01:00 |
|
Tom Christie
|
5ead8dc89d
|
Support empty file fields
|
2014-10-08 16:59:52 +01:00 |
|
Tom Christie
|
d1b2c8ac7f
|
Absolute URLs for file fields
|
2014-09-29 14:12:26 +01:00 |
|
Tom Christie
|
dee3f78cb6
|
FileField and ImageField
|
2014-09-26 17:06:20 +01:00 |
|
Tom Christie
|
8be4496586
|
Drop erronous print statements
|
2014-09-26 13:59:37 +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
|
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
|
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
|
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
|
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
|
de301f3b66
|
Merge master
|
2014-09-11 13:20:44 +01:00 |
|
Piotr Jakimiak
|
cb3cc00edd
|
Delete useless assert
|
2014-09-05 14:36:35 +02:00 |
|
Piotr Jakimiak
|
c3b841ae44
|
Use Serializer instead of ModelSerializer
|
2014-09-05 14:08:11 +02:00 |
|