aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/mixins.py
AgeCommit message (Collapse)Author
2011-07-19Added pagination mixin. Need to write testsTom Drummond
2011-07-11Merge pull request #46 from jakul/m2m_create_throughTom Christie
Update to existing pull request "Support for creating objects with m2m relationsM2m"
2011-07-11Merge pull request #44 from fzunino/m2m_createTom Christie
Support for creating objects with m2m relations
2011-07-08remove hardcoded model._meta.many_to_many[0]; update mixin tests to test ↵Craig Blaszczyk
with 0, 1, or multiple groups
2011-07-08update mixin to work with m2m data using a through field, by storing the ↵Craig Blaszczyk
name of the field and manually creating an object in the related table
2011-07-06now cleans data from parameters used for overloadsSébastien Piquemal
2011-07-05Support for creating objects with m2m relationsFernando Zunino
2011-07-01mergeTom Christie
2011-07-01Fix #36Tom Christie
2011-07-01FIX: ModelViews can have Resources whose models have unique fields.Fernando Zunino
ReadModelMixin and UpdateModelMixin store model instance as a property. This allows ModelResource to bind the ModelForm using the model instance making the form validate the input data against the model instance and not a brand new instance. When the latter happened and the model used unique fields, the form validation failed whenever a PUT was maintaining the previuos value of the unique field.
2011-06-26Allow .json .html .xml style urls and also allow these formats to be ↵Michael Fötsch
specified in a "?format=..." query string.
2011-06-15Allow related models to be fully serializedTom Christie
2011-06-14Support for nesting resources etc...Tom Christie
--HG-- rename : djangorestframework/tests/resources.py => djangorestframework/tests/serializer.py
2011-05-27Allow .form specified on view. Allow get_form, put_form, post_form. Add ↵Tom Christie
.PARAMS.
2011-05-27forms/models can be set on the view as well as the resourceTom Christie
2011-05-27forms/models can be set on the view as well as the resourceTom Christie
2011-05-24tidy up last bits of renderer media type handlingTom Christie
2011-05-24Renderers can now cope with parameterised args. ResponseMixin gets cleaned ↵Tom Christie
up & added Renderer.can_handle_response(), mirroring Parsers.can_handle_request()
2011-05-24Allow views to return HttpResponses. Add initial() hook methodTom Christie
2011-05-23name and descriptionTom Christie
2011-05-19Merge in marko's doc markupTom Christie
2011-05-19data flattening needs to go into resourceTom Christie
2011-05-18Most of the actual work so far has been markup really.markotibold
2011-05-17Merge Marko's doc improvements.Tom Christie
2011-05-16Fixing some of the last blocking issuesTom Christie
2011-05-13Ensure there is always a resource attribute setTom Christie
2011-05-13Sorting out resources. Doing some crazy magic automatic url resolving ↵Tom Christie
stuff. Yum.
2011-05-13cleanupTom Christie
2011-05-12_perform_form_overloading becomes transparentTom Christie
2011-05-12yet more API cleanupTom Christie
2011-05-12yet more API cleanupTom Christie
2011-05-12refactoring resource specfic stuff into ResourceMixin - validators now defunctTom Christie
2011-05-10More tests, getting new serialization into resourceTom Christie
2011-05-10Bits of cleanupTom Christie
2011-05-10Bits of cleanupTom Christie
2011-05-10Rename resource to view in few remaining places in renderers (because that's ↵Tom Christie
what it now is)
2011-05-10renderer API workTom Christie
2011-05-10Getting the API into shapeTom Christie
2011-05-04Decouple views and resourcesTom Christie
2011-05-02emitters -> renderersTom Christie
2011-04-29More refactoring - move various less core stuff into utils etcTom Christie
2011-04-28emitters -> renderersTom Christie
2011-04-25Generic permissions added, allowed_methods and anon_allowed_methods now ↵Tom Christie
defunct, dispatch now mirrors View.dispatch more nicely
2011-04-11request.py -> mixins.pyTom Christie