aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2012-10-25Re-add implementation of multiple-operation generic views to remove diamond ↵Jamie Matthews
inheritance
2012-10-25Add pre_save hook in generic viewsTom Christie
2012-10-25Merge branch 'restframework2' into split-generic-viewsJamie Matthews
* restframework2: Fix ModelSerializer logic for fields with default value, which should have required=False set Added @diviei - Thanks! Fix typo reported by @diviei
2012-10-24Fix ModelSerializer logic for fields with default value, which should have ↵Tom Christie
required=False set
2012-10-24Split concrete generic views up into separate bits of functionalityJamie Matthews
2012-10-24Move per-field and cross-field validation into a single methodJamie Matthews
2012-10-24Clean up internal names and documentationJamie Matthews
2012-10-24Add cross-field validate methodJamie Matthews
2012-10-24Switch from clean_<fieldname> to validate_<fieldname>, clarify documentationJamie Matthews
2012-10-24Implement per-field validation on SerializersJamie Matthews
2012-10-22Merge pull request #315 from Roarster/emptymanytomanyTom Christie
#314 Fix for manytomany field being required in the payload even though ...
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 commit '95a670de41a246777bc1e448dca8cc576b7b86ea' into ↵Marko Tibold
BrowsableAPIRenderer Conflicts: rest_framework/renderers.py - manually resolved conflict
2012-10-22Merge field changes: .default and .widgetTom Christie
2012-10-22Fix serialization of reverse relationshipsJamie Matthews
2012-10-21Refactoring BrowsableAPIRendererMarko Tibold
2012-10-21Remove redundant check if method=='DELETE'Marko Tibold
2012-10-21Remove `initial` kwarg, add `default`.Tom Christie
2012-10-21Fixing spelling errors.Marko Tibold
2012-10-19docs, docs, docs, docs, docs, docs, docsTom Christie
2012-10-19Fix up widget choicesTom Christie
2012-10-19Drop help_textTom Christie
2012-10-18First pass at pastebin tutorialTom Christie
2012-10-18Added tests for dotted notation in serializer field sourceIan Strachan
2012-10-18Apply readonly on RelatedFieldTom Christie
2012-10-18Allow callables in dotted notation like Field(source='foo.bar')Tom Christie
2012-10-17Make settings consistent with corrosponding view attributesTom Christie
2012-10-17Negotiation API finalized. .select_renderers and .select_parsersTom Christie
2012-10-17Added `media_type` to `.parse()` - Consistency with renderer API.Tom Christie
2012-10-17parser_context includes `view`, `request`, `args`, `kwargs`. (Not `meta` ↵Tom Christie
and `upload_handlers`) Consistency with renderer API.
2012-10-17Drop .parse_string_or_stream() - keep API minimal.Tom Christie
2012-10-17Make default field check safe for boolean values whereby 'False' may be an ↵Rob Dobson
acceptable default value
2012-10-17Use two seperate exceptions - `AuthenticationFailed`, and `NotAuthenticated`Tom Christie
Cleaner seperation of exception and resulting HTTP response. Should result in more obvious error messages.
2012-10-17Use correct status codeTom Christie
2012-10-17Add docs for 401 vs 403 responsesTom Christie
2012-10-17Add `Unauthenticated` exception.Tom Christie
2012-10-17Typo in class nameeofs
2012-10-16Merge branch 'restframework2' of ↵Tom Christie
https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-15Merge pull request #296 from ulmus/restframework2Tom Christie
Removed serializers.TextField and related tests
2012-10-15Explicit CSRF failure message. Fixes #60.Tom Christie
2012-10-15Tweak parsers to take parser_contextTom Christie
2012-10-15Removed serializer.TextField and related testsJens Alm
2012-10-15Added docs, integer fields and refactored models.TextField to use CharFieldJens Alm
I realized that per the django forms, there is no need for a separate TextField, an unlimited CharField is perfectly good. Also added default field for the different IntegerField types
2012-10-15Revert "Support for request-based queryset limits on ListModelMixin"Jens Alm
This reverts commit de4604be0ab64da2d7da0a7054197278e566ced2.
2012-10-15Support for request-based queryset limits on ListModelMixinJens Alm
ListModelMixin uses the get_queryset from the MultipleObjectMixin. This method can be overridden on the View class to return a different queryset, but get_queryset doesn't accept a request parameter in. This commit adds the limit_list hook to override if you want to limit the queryset based on request-information such as the logged in user.
2012-10-15Added tests for TextFieldJens Alm
2012-10-15Added TextField to recognized fieldsJens Alm
2012-10-14Documentation for parsersTom Christie
2012-10-13Improve documentation for RequestsTom Christie
2012-10-11Use Decimal (properly) everywhere.Ben Konrath