aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2012-11-05Version 2.1.0. Adding release notes.2.1.0Tom 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-05Drop unneccesarily lenient dictionary-containing-instances serialization.Tom Christie
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-05Tidy up serializer fields now we no longer use dynamic fieldsTom Christie
2012-11-05Add note on * importTom Christie
2012-11-05Swap position of `instance` and `data` keyword arguments.Tom Christie
2012-11-05Merge remote-tracking branch 'upstream/master'Stephan Groß
2012-11-05Include queryset missing exception on writable SlugFieldTom Christie
2012-11-05Merge pull request #364 from mjs7231/masterTom Christie
Fix for bug #363: ChoiceField missing in renderers.py
2012-11-04Fix for bug #363: ChoiceField missing in renderers.pyMichael Shepanski
2012-11-04Remove `request' from response instance whileJacob Magnusson
testing caching
2012-11-04Remove attributes that are not needed when cachingJacob Magnusson
the Response object. This fixes #346
2012-11-04Add tests for caching of GET/HEAD requests usingJacob Magnusson
Django's built in caching framework. Currently fails as some attributes on the Response object are not pickable
2012-11-03Added test for ModelSerializer Meta fieldsJacob Magnusson
returning as expected
2012-11-03Added test that makes sure that fields withJacob Magnusson
dictionaries as data are returned as expected and not turned into string representations
2012-11-03Bye bye star importJacob Magnusson
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-02Initial PK relationship testsTom Christie
2012-11-02Fix issues with pk related fields in the browsable API.2.0.2Tom Christie
2012-11-01Tweaks fields docs, and fix 2.0.1 version.2.0.1Tom Christie
2012-11-01Merge masterTom Christie
2012-11-01Relational field support in browseable API.Tom Christie
Add slug relational fields. Add quickstart.
2012-11-01Merge pull request #351 from asfaltboy/fix_trans_choicesTom Christie
Return choices as unicode and not string
2012-11-01Merge pull request #352 from asfaltboy/cleanup_MultipleObjectBaseViewTom Christie
cleanup MultipleObjectBaseView remains
2012-11-01since MultipleObjectBaseView was renamed MultipleObjectAPIView, it stands to ↵Pavel Savchenko
reason to complete the renaming in docs and comments as well.
2012-11-01return choices as unicode and not string,Pavel Savchenko
might as well have jsonp return unicode
2012-10-31fix 'from_native' method when rel is NoneOtto Yiu
'NoneType' object has no attribute 'to'
2012-10-31PUT as create should return 201. Fixes #340.Tom Christie
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-30Final docs tweaks for 2.0Tom Christie
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-30Hyperlinked serializer testsTom 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-30Merge pull request #336 from markotibold/null_is_true_model_fieldsTom Christie
Null is true model fields
2012-10-30Fix some typos.Marko Tibold
2012-10-30Set a ModelSerializer field to required=False if the ModelField has ↵Marko Tibold
null=True set.
2012-10-30Adding failing tests that show null=True model fields are won't validate if ↵Marko Tibold
their value is omitted.
2012-10-29Fix slug based put as create testTom Christie
2012-10-29Merge branch 'restframework2' of ↵Tom Christie
https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-29Fixes for urls with suffixesTom Christie