diff options
| author | Tom Christie | 2012-02-01 23:59:41 -0800 |
|---|---|---|
| committer | Tom Christie | 2012-02-01 23:59:41 -0800 |
| commit | 1224bb6bb7a1d38370dce3af22ca63d6ca7ea4ab (patch) | |
| tree | 781f974d201fee620c2b14d71496aea1f7054416 /djangorestframework/mixins.py | |
| parent | 894f63259880252ed5317ce485eb13c4429b65c1 (diff) | |
| parent | da8187d2c293e095969c00751c21338d53c7f3f2 (diff) | |
| download | django-rest-framework-1224bb6bb7a1d38370dce3af22ca63d6ca7ea4ab.tar.bz2 | |
Merge pull request #151 from mammique/master
* should be ** in mixins's self.get_instance(*
Diffstat (limited to 'djangorestframework/mixins.py')
| -rw-r--r-- | djangorestframework/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py index c7b32d2d..f4a9c998 100644 --- a/djangorestframework/mixins.py +++ b/djangorestframework/mixins.py @@ -608,7 +608,7 @@ class UpdateModelMixin(ModelMixin): # TODO: update on the url of a non-existing resource url doesn't work # correctly at the moment - will end up with a new url try: - self.model_instance = self.get_instance(*query_kwargs) + self.model_instance = self.get_instance(**query_kwargs) for (key, val) in self.CONTENT.items(): setattr(self.model_instance, key, val) |
