mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Fix AC-263 and AC-264. Update how we check for access to item referenced via foreign key, and determining whether an immutable field has changed.
This commit is contained in:
@@ -87,7 +87,6 @@ class PrimordialModel(models.Model):
|
||||
def save(self, *args, **kwargs):
|
||||
# For compatibility with Django 1.4.x, attempt to handle any calls to
|
||||
# save that pass update_fields.
|
||||
|
||||
try:
|
||||
super(PrimordialModel, self).save(*args, **kwargs)
|
||||
except TypeError:
|
||||
|
||||
Reference in New Issue
Block a user