Commit Graph

345 Commits

Author SHA1 Message Date
Tom Christie
247d242e07 Update Authors. Also It's going to be too hard to track who's done exactly what, so I'm just going to go with names for now... 2011-07-11 12:47:56 -07:00
Tom Christie
d1ed9884d8 Merge pull request #46 from jakul/m2m_create_through
Update to existing pull request "Support for creating objects with m2m relationsM2m"
2011-07-11 12:33:52 -07:00
Tom Christie
5433cb3e27 Merge pull request #44 from fzunino/m2m_create
Support for creating objects with m2m relations
2011-07-11 12:33:40 -07:00
Tom Christie
e4ce57b88c Merge pull request #45 from sebpiq/master
Clean overloads + fixed a bug in serializers
2011-07-11 12:33:15 -07:00
Craig Blaszczyk
91b9d0b2a3 remove hardcoded model._meta.many_to_many[0]; update mixin tests to test with 0, 1, or multiple groups 2011-07-08 18:14:52 +01:00
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
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
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
Jens Alm
3e0a978dd9 Fixed YAMLParser = None 2011-07-02 19:19:45 +02: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
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
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
Tom Christie
019cb7f7d7 Merge pull request #33 from astraw/master
bugfix for failed multipart parse on empty request
2011-06-29 14:31:30 -07:00
GitHub Merge Button
7ff22fa94f Merge f6e4578656 into d714901a60 2011-06-29 14:29:03 -07:00
Andrew Straw
f6e4578656 return 400 BAD REQUEST rather than Django traceback/500 error on failed multipart parse 2011-06-29 23:02:00 +02:00
Tom Christie
e5e019b0b3 Pull in David's initial oauth tests 2011-06-28 08:53:53 +01:00