Commit Graph

7449 Commits

Author SHA1 Message Date
Craig Blaszczyk
344db0d733 update mixin to work with m2m data using a through field, by storing the name of the field and manually creating an object in the related table 2011-07-08 18:04:22 +01:00
Craig Blaszczyk
6e6b35b5c0 add unit tests which show m2m creation failing for through table 2011-07-08 17:37:20 +01:00
Fernando Zunino
8a2944acdf Tests for CreateModelMixin (unit and integration test via ListOrCreateModelView). 2011-07-07 23:33:39 -03:00
GitHub Merge Button
03a73cf95d Merge 11ee385743 into 3b2e70dd3a 2011-07-06 04:42:39 -07:00
Sébastien Piquemal
11ee385743 fixed a bug in serializers 2011-07-06 14:18:48 +03:00
Sébastien Piquemal
e53c3cd417 now cleans data from parameters used for overloads 2011-07-06 14:05:57 +03:00
Tom Christie
3b2e70dd3a Merge pull request #43 from sebpiq/master
Corrected bug in serializers
2011-07-05 02:48:05 -07:00
Fernando Zunino
a634d10cbf Support for creating objects with m2m relations 2011-07-05 02:25:39 -03:00
GitHub Merge Button
4887ac9495 Merge 3161475562 into 2dc042f0cf 2011-07-04 01:36:29 -07:00
Sébastien Piquemal
3161475562 debugged serializers 2011-07-04 11:31:46 +03:00
Tom Christie
2dc042f0cf Picky. :) 2011-07-02 10:37:51 -07:00
Tom Christie
f43f20bd3a Merge pull request #40 from ulmus/master
Added parsers.DEFAULT_PARSERS
2011-07-02 10:36:26 -07:00
GitHub Merge Button
c042b43e0c Merge 3e0a978dd9 into 1885012d61 2011-07-02 10:35:12 -07:00
Jens Alm
3e0a978dd9 Fixed YAMLParser = None 2011-07-02 19:19:45 +02:00
GitHub Merge Button
f168ac9938 Merge 20c7e605c9 into 1885012d61 2011-07-02 10:16:47 -07:00
Jens Alm
20c7e605c9 Sloppy copy-pasting... 2011-07-02 19:12:43 +02:00
Jens Alm
f73588eb42 parsers.DEFAULT_PARSERS added to be consistent with renderers.DEFAULT_RENDERERS 2011-07-02 19:03:26 +02:00
Jens Alm
9baed0aed2 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Conflicts:
	djangorestframework/views.py

Signed-off-by: Jens Alm <jens.alm@mac.com>
2011-07-02 18:48:40 +02:00
Jens Alm
3900abd37f .gitignore 2011-07-02 18:40:25 +02:00
Jens Alm
bcddc6f09a gitignore 2011-07-02 18:39:27 +02:00
Jens Alm
7ee1bbecc6 Set default renderers for views when yaml is not installed
Will use the renderer.DEFAULT_RENDERERS dict for determining available renderers in views.View to avoid a nonexistent renderer when yaml is not installed. Duplicates the behavior in parsers.DEFAULT_PARSERS
2011-07-02 18:38:55 +02:00
Tom Christie
1885012d61 Edited AUTHORS via GitHub 2011-07-02 09:37:18 -07:00
Tom Christie
17303fc85e Merge pull request #37 from fzunino/none-renderer-fix
Fix: Crash when yaml isn't installed.
2011-07-02 09:36:13 -07:00
GitHub Merge Button
f54911f47a Merge 3b81453fd1 into 83b47c4b76 2011-07-02 09:34:28 -07:00
Fernando Zunino
3b81453fd1 Fix: Crash when yaml isn't installed. 2011-07-02 12:56:57 -03:00
Tom Christie
83b47c4b76 Typo 2011-07-02 04:33:47 -07:00
Tom Christie
f7b7778a79 pull in markos changes, minor tweaks to yaml stuff 2011-07-01 17:44:08 +01:00
Tom Christie
c3babe751a Tweak intro in README 2011-07-01 16:24:32 +01:00
Tom Christie
0a7ac40a0d Merge hg-git ickyness 2011-07-01 16:06:20 +01:00
Tom Christie
c4fe5a920b Urg, force update after hg-git ickyness 2011-07-01 16:05:22 +01:00
Tom Christie
4136454b95 Try to force README.rst to rename 2011-07-01 15:55:33 +01:00
Tom Christie
601430c293 Try to force README.rst to rename
--HG--
rename : README.rst => README
2011-07-01 15:54:24 +01:00
Tom Christie
e46a83b19c Try to for README to rename 2011-07-01 15:52:54 +01:00
Tom Christie
605ece1ae3 Tweak 2011-07-01 13:25:59 +01:00
Tom Christie
bcc09998dd Tweak 2011-07-01 13:19:26 +01:00
Tom Christie
630785f5a9 Markup the README
--HG--
rename : README => README.rst
2011-07-01 13:17:59 +01:00
Tom Christie
8d51759dd1 Fix bitbucket issue 39. All further issues should be on github 2011-07-01 12:29:42 +01:00
Tom Christie
2ebcc9d3dd Mmm, unconvinced if this whole hg-git thing is a good plan... 2011-07-01 11:36:15 +01:00
GitHub Merge Button
892e4eea98 Merge 60cd5363ab into 16d8c3255d 2011-07-01 03:34:10 -07:00
Tom Christie
ca4b7560cb merge 2011-07-01 11:31:04 +01:00
Tom Christie
16d8c3255d Fix #36 2011-07-01 03:30:28 -07:00
GitHub Merge Button
dc9960f770 Merge 60cd5363ab into 8bafa01abd 2011-07-01 00:25:37 -07:00
Fernando Zunino
60cd5363ab FIX: ModelViews can have Resources whose models have unique fields.
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-07-01 03:32:04 -03:00
Tom Christie
8bafa01abd Tidy up oauth imports slightly 2011-06-30 08:52:55 +01:00
Tom Christie
5d61ff3508 Merge ickyness 2011-06-30 08:50:23 +01:00
Tom Christie
1e8721a5a0 Urg 2011-06-30 08:49:54 +01:00
Tom Christie
1d35c7fc4c Ug 2011-06-30 08:48:07 +01:00
Tom Christie
5e2237149d Fixing merge mess of hg-git ickyness. 2011-06-30 08:47:48 +01:00
Tom Christie
a1555cfd99 Add astraw to AUTHORS 2011-06-30 08:46:28 +01:00
Tom Christie
93e95bac8d merge from astraw 2011-06-30 08:41:51 +01:00