aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
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-01Merge branch 'master' into restframework2-filterBen Konrath
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
2012-10-29PUT as create should return 200Tom Christie
2012-10-29Merge pull request #331 from markotibold/test_put_as_createTom Christie
Test put as create
2012-10-29Style tweaksTom Christie
2012-10-29Deal with None and missing valuesTom Christie
2012-10-29Fix up login stylingTom Christie
2012-10-29Fix breadcrumbsTom Christie
2012-10-29Writable welated fields should return a model instance from .from_native(), ↵Tom Christie
not a pk
2012-10-28Remove recursion detectionTom Christie
2012-10-28nested -> depthTom Christie
2012-10-28readonly -> read_onlyTom Christie
2012-10-28Get the correct instanceMarko Tibold
2012-10-28test_put_as_create_on_id_based_url should check for a created-response.Marko Tibold
2012-10-28Merge pull request #330 from tomchristie/tutorial-refactorTom Christie
Tutorial refactor
2012-10-28Merge pull request #327 from tomchristie/allow-any-permissionTom Christie
Add AllowAny permission
2012-10-28Added wo tests. One for PUTing on a non-existing id-based url. And another ↵Marko Tibold
for PUTing on a non-existing slug-based url. Fix doctoring for 'test_put_cannot_set_id'.
2012-10-28TemplateHTMLRenderer, StaticHTMLRendererTom Christie
2012-10-27Add AllowAny classTom Christie
2012-10-27Add AllowAny permissionTom Christie
2012-10-27Push tests into a seperate app namespace 'rest_framework.test'Tom Christie
Prevents tests from running by default when rest_framework is installed as 3rd party app. Fixes #316, #185
2012-10-27pep8Tom Christie
2012-10-26Fix failing 'default' on ModelSerializerTom Christie
2012-10-26WhitespaceTom Christie
2012-10-26Object-level permissions respected by Browseable APITom Christie
2012-10-26Choice fields from ModelSerializer.Tom Christie
2012-10-26Drop resources from codebase since implementation is only partial (Created ↵Tom Christie
resoorces-routers branch for future reference)
2012-10-25Merge pull request #320 from j4mie/split-generic-viewsTom Christie
Rename generic base classes, and add CreateAPIView, DeleteAPIView, UpdateAPIView.
2012-10-25Rework generic view class namesJamie Matthews