1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2025-01-08 23:09:47 +00:00

🐛 Fix fields being read-only with administrator privileges

This commit is contained in:
Steffo 2021-10-12 05:27:28 +02:00
parent 6c5ef55bc0
commit ee4d774d99
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -112,7 +112,7 @@ class SophonModel(models.Model):
return set.difference(
cls.get_fields(),
cls.get_administrable_fields(),
cls.get_administrable_fields().union(cls.get_editable_fields()),
)
@abc.abstractmethod