mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Django-field-permission ajouté en submodule
This commit is contained in:
parent
cc893f70fb
commit
33175e6bc1
4 changed files with 6 additions and 2 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "field_permissions"]
|
||||||
|
path = field_permissions
|
||||||
|
url = https://github.com/tiliv/django-field-permissions.git
|
1
field_permissions
Submodule
1
field_permissions
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 4536037247c8a04ccb34ed9d5fa5b0d866286fbd
|
|
@ -56,7 +56,7 @@ from .models import (
|
||||||
OuverturePortList,
|
OuverturePortList,
|
||||||
)
|
)
|
||||||
|
|
||||||
from field_permissions.forms import FieldPermissionFormMixin
|
from field_permissions.fied_permissions.forms import FieldPermissionFormMixin
|
||||||
|
|
||||||
|
|
||||||
class EditMachineForm(FieldPermissionFormMixin, ModelForm):
|
class EditMachineForm(FieldPermissionFormMixin, ModelForm):
|
||||||
|
|
|
@ -35,7 +35,7 @@ from django.utils.functional import cached_property
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
from django.core.validators import MaxValueValidator
|
from django.core.validators import MaxValueValidator
|
||||||
|
|
||||||
from field_permissions.models import FieldPermissionModelMixin
|
from field_permissions.field_permissions.models import FieldPermissionModelMixin
|
||||||
|
|
||||||
from macaddress.fields import MACAddressField
|
from macaddress.fields import MACAddressField
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue