aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/fields.py
AgeCommit message (Collapse)Author
2013-05-19Made field label optional in OPTIONSOscar Vilaplana
2013-05-19Integrated status quo of grimborg's awesome humanize_field() for exposing ↵Nikolaus Schlemm
field metadata via OPTIONS :)
2013-05-19Merge branch 'master' of git://github.com/tomchristie/django-rest-framework ↵Nikolaus Schlemm
into issue-192-expose-fields-for-options
2013-05-18Merge branch 'issue-192-expose-fields-for-options' of ↵Nikolaus Schlemm
git://github.com/grimborg/django-rest-framework into issue-192-expose-fields-for-options Conflicts: rest_framework/tests/fields.py
2013-05-18added tests for formOscar Vilaplana
2013-05-18Added humanized field names and typesOscar Vilaplana
2013-05-18Move function to compat.Ryan Kaskel
2013-05-18Merge latest changes from master.Ryan Kaskel
2013-05-18Handle Python 3 strings and lazy strings.Ryan Kaskel
2013-05-18Add TestCases for default field valuesStephan Groß
2013-05-18Merge latest changes from master.Ryan Kaskel
2013-05-18Merge pull request #831 from brianz/masterTom Christie
Allow nested fields to be missing
2013-05-18Merge branch 'master' into 725-blank-choice-dashPablo Recio
Conflicts: rest_framework/tests/fields.py
2013-05-18Adding `BLANK_CHOICE_DASH` as a choice if the model's field isn't requiredPablo Recio
2013-05-18serializers.Field respects ordering on dicts if it exists. Closes #832Tom Christie
2013-05-13Allow for missing non-required nested objects.Brian Zambrano
Serializer fields which are themselves serializers should not be required. Specifically, if a nested object is set to "required=False", it should be possible to serialize the main object and have the sub-object set to None/null.
2013-05-08Fix DATETIME_FORMAT, DATE_FORMAT, TIME_FORMAT settings. Closes #798Tom Christie
2013-04-292.2's PendingDeprecationWarnings now become DeprecationWarnings. 2.3's ↵Tom Christie
PendingDeprecationWarnings added.
2013-04-26DecimalFieldTom Christie
2013-04-25Cleanup docstringsTom Christie
2013-04-15Return Decimal instance instead of stringStephan Groß
2013-04-15Fix init callStephan Groß
2013-04-15Add DecimalField supportStephan Groß
2013-03-23Forcing translations of lazy translatable strings in Field to_native methodMatteo Suppo
2013-03-21Default date/time fields now return python date/time objects again by defaultTom Christie
2013-03-20iso formated datetime aware fields with +0000 offset should use 'Z' suffix ↵Tom Christie
instead
2013-03-13Fix duplicated database queries for paginated lists.Tom Christie
Closes #713.
2013-03-07Fix broken `None` value for `TimeField`.Tom Christie
Refs #707.
2013-03-06Patched DateField and DateTimeField to check for None values before trying ↵Kevin Stone
to perform date(time) conversion. Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-03-06Clean ups to datetime formattingTom Christie
2013-03-05Merge datetime formatsTom Christie
2013-03-01Fix for django 1.3 compatibilityStephan Groß
2013-03-01Add format class attributesStephan Groß
2013-03-01Add new ISO8601 setting + integrationStephan Groß
2013-03-01Add docs update - part 1Stephan Groß
2013-03-01Add drf settings + output format + testcasesStephan Groß
2013-03-01Fix for python 3 support - thanks @LinoviaStephan Groß
2013-03-01Add better date / datetime validation (pull 2)Stephan Groß
addition to #631 with update to master + timefield support
2013-02-21Catch TypeError as well as ValueError when parsing dates, ref #699Yuri Prezument
2013-02-15Merge pull request #657 from dgaus/masterTom Christie
Make is_simple_callable consider default arguments
2013-02-14Added a serializer TimeFieldAndreas Pelme
2013-02-13Make is_simple_callable consider fields which have default argumentsDiego Gaustein
2013-02-12Clean up field_to_native logicTom Christie
2013-02-07Allow serializers to handle dicts as well as objects. Fixes #447.Tom Christie
2013-02-06Purge naked excepts.Marc Tamlyn
Most of these had obvious exceptions which would be thrown. Some I'm not sure about but they should at least catch only Exception so as not to ignore SystemExit and other inappropriate Error classes.
2013-02-04Merge branch 'py3k' into 2.2Tom Christie
Conflicts: rest_framework/relations.py rest_framework/serializers.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_slug.py
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-30Add dprecation warningsTom Christie
2013-01-30Merge branch 'master' into many-fieldsTom Christie
Conflicts: rest_framework/relations.py
2013-01-30Formatting fixesTom Christie