mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Pass request data to various functions to allow for extra validation to be implemented on top of what is there now.
This commit is contained in:
@@ -154,7 +154,6 @@ 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']:
|
||||
|
||||
Reference in New Issue
Block a user