update TODO

This commit is contained in:
Michael DeHaan
2013-04-19 11:15:02 -04:00
parent 761354067f
commit 4cd7405a37
3 changed files with 7 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ class CredentialSerializer(BaseSerializer):
def validate(self, attrs):
''' some fields cannot be changed once written '''
import epdb; epdb.st()
if self.object is not None:
# this is an update
if self.object.user != attrs['user']: