File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ The following people have helped make REST framework great.
149
149
* Matthias Jacob - [ cyroxx]
150
150
* Pavel Zinovkin - [ pzinovkin]
151
151
* Will Kahn-Greene - [ willkg]
152
+ * Kevin Brown - [ kevin-brown]
152
153
153
154
Many thanks to everyone who's contributed to the project.
154
155
@@ -334,3 +335,4 @@ You can also contact [@_tomchristie][twitter] directly on twitter.
334
335
[ cyroxx ] : https://github.com/cyroxx
335
336
[ pzinovkin ] : https://github.com/pzinovkin
336
337
[ willkg ] : https://github.com/willkg
338
+ [ kevin-brown ] : https://github.com/kevin-brown
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ def get_default_fields(self):
690
690
assert field_name in ret , \
691
691
"Noexistant field '%s' specified in `read_only_fields` " \
692
692
"on serializer '%s'." % \
693
- (self .__class__ .__name__ , field_name )
693
+ (field_name , self .__class__ .__name__ )
694
694
ret [field_name ].read_only = True
695
695
696
696
return ret
You can’t perform that action at this time.
0 commit comments