aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/fields.py
AgeCommit message (Collapse)Author
2012-11-22First passing test under p3k \o/Xavier Ordoquy
2012-11-21Merge remote-tracking branch 'upstream/master' into regex_fieldStephan Groß
Conflicts: docs/topics/release-notes.md
2012-11-20Merge pull request #430 from j4mie/serializer-method-fieldTom Christie
Serializer method field
2012-11-20added RegexFieldStephan Groß
2012-11-19Add SerializerMethodFieldJamie Matthews
2012-11-18Add support for min_length / max_length keywordsJacob Magnusson
on basic ModelFields
2012-11-16Merge pull request #422 from markotibold/max_length_for_modelserializersTom Christie
Max length for modelserializers
2012-11-16Added URLField and SlugField.Marko Tibold
Fixed test_modelserializer_max_length_exceeded
2012-11-15Merge commit '3b258d69c92e9d9293f7c5d1690f0ca434e677e3' into ↵Marko Tibold
file_and_image_fields
2012-11-14.to_native() now returns the file-name.Marko Tibold
2012-11-14Processed review comments.Marko Tibold
No type checking in .restore_fields() Added missing BytesIO import.
2012-11-14fixed some typosStephan Groß
2012-11-14Properly render file inputs in the Browsable api.Marko Tibold
2012-11-13Added a FileField and an ImageField (copied from django.forms.fields).Marko Tibold
Adjusted generics, mixins and serializers to take a `files` arg where applicable.
2012-11-10Fixes #380Marko Tibold
2012-11-07fixed typoStephan Groß
2012-11-06Add pk_url_kwarg to hyperlinked fieldsTom Christie
2012-11-06added slug support for HyperlinkedIdentityFieldStephan Groß
2012-11-06More defensive coding. Refs: #348Tom Christie
2012-11-06Respect false value defaults on WritableField. Fixes #377.Tom Christie
2012-11-06Allow slug_url_kwarg to be overidden by subclass. Fixes #373Tom Christie
2012-11-05slug_url_kwarg should default to same as slug_fieldTom Christie
2012-11-05Merge pull request #347 from minddust/masterTom Christie
support for passing custom slug options to HyperlinkedRelatedField
2012-11-05fixed typoStephan Groß
2012-11-05added testcase for custom slug field in hyperlinkedrelatedfieldStephan Groß
2012-11-05`queryset` argument is now optional on writable model fields.Tom Christie
2012-11-05Merge remote-tracking branch 'upstream/master'Stephan Groß
2012-11-05Include queryset missing exception on writable SlugFieldTom Christie
2012-11-02Merge pull request #359 from tomchristie/relationship_testsTom Christie
Relationship tests
2012-11-02TweaksTom Christie
2012-11-02foreign key testsTom Christie
2012-11-02Apply to_native on dictionary keys as wellJacob Magnusson
2012-11-02Don't convert dictionary into a string representationJacob Magnusson
2012-11-02Fix issues with pk related fields in the browsable API.2.0.2Tom Christie
2012-11-01Merge masterTom Christie
2012-11-01Relational field support in browseable API.Tom Christie
Add slug relational fields. Add quickstart.
2012-10-31fix 'from_native' method when rel is NoneOtto Yiu
'NoneType' object has no attribute 'to'
2012-10-31added support for custom slug field and kwargsStephan Groß
without subclassing HyperlinkedRelatedField and overwriting slug_url_kwarg and slug_field there is no possibility to use other fields / arguments. now you can do something like this: url(r'^users/(?P<username>\w[\w-]*)$', UserInstance.as_view(), name='user-detail') class ProjectSerializer(serializers.HyperlinkedModelSerializer): created_by = serializers.HyperlinkedRelatedField(view_name='user-detail', slug_url_kwargs='username', slug_field='username')
2012-10-30Raise nicer exception if queryset not Set on writable related field. Refs: #338Tom Christie
2012-10-30Merge fixes for 'blank=True' fields. Fixes #324, Fixes #325Tom Christie
Thanks to @Roarster.
2012-10-30Allow use of absolute URLs when deserializing hyperlinked fieldsTom Christie
2012-10-30Merge pull request #335 from tomchristie/related-field-as-instanceTom Christie
Writable related fields should return a model instance from .from_native...
2012-10-30Fix some typos.Marko Tibold
2012-10-29Fixes for urls with suffixesTom Christie
2012-10-29Deal with None and missing valuesTom Christie
2012-10-29Writable welated fields should return a model instance from .from_native(), ↵Tom Christie
not a pk
2012-10-28readonly -> read_onlyTom Christie
2012-10-26WhitespaceTom Christie
2012-10-22#314 Fix for manytomany field being required in the payload even though the ↵Ian Strachan
field is specified as readonly in the serializer
2012-10-22Merge field changes: .default and .widgetTom Christie