mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🐛 Fix fields being read-only with administrator privileges
This commit is contained in:
parent
f3069817c1
commit
b100f148ea
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class SophonModel(models.Model):
|
||||||
|
|
||||||
return set.difference(
|
return set.difference(
|
||||||
cls.get_fields(),
|
cls.get_fields(),
|
||||||
cls.get_administrable_fields(),
|
cls.get_administrable_fields().union(cls.get_editable_fields()),
|
||||||
)
|
)
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
|
Loading…
Reference in a new issue