1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +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 f3069817c1
commit b100f148ea

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