8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Django-field-permission ajouté en submodule

This commit is contained in:
Gabriel Detraz 2017-11-13 16:13:14 +01:00 committed by root
parent cc893f70fb
commit 33175e6bc1
4 changed files with 6 additions and 2 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "field_permissions"]
path = field_permissions
url = https://github.com/tiliv/django-field-permissions.git

1
field_permissions Submodule

@ -0,0 +1 @@
Subproject commit 4536037247c8a04ccb34ed9d5fa5b0d866286fbd

View file

@ -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):

View file

@ -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