aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/resources.py
AgeCommit message (Collapse)Author
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-25Try to be marginally less awful if we can't reverse resolve the URL for a ↵Tom Christie
model. TODO: Give up on even trying to do such black magic in the first place?
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-06-12Fix file uploadsTom Christie
2011-06-10`bound_form.cleaned_data` already returns the file data if there was any.Alen Mujezinovic
`bound_form.files` returns a `MultiValueDict` which errors when passing `.CONTENT` into a model constructor.
2011-06-08Added possibility to specify what attributes of ForeignKeys and OneToOne ↵Alen Mujezinovic
fields to include via nested tuples
2011-06-02Updating docs for 0.2Tom Christie
2011-05-27strip _accept when validatingTom Christie
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-19The core is now documented from the docstrings in the source.markotibold
2011-05-16validators tests -> resources testsTom Christie
2011-05-16Fixing some of the last blocking issuesTom Christie
2011-05-16nested resources now workingTom Christie
2011-05-13Docs on resourcesTom Christie
2011-05-13Sorting out resources. Doing some crazy magic automatic url resolving ↵Tom Christie
stuff. Yum.
2011-05-13cleanupTom Christie