Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
9ae9a840
Commit
9ae9a840
authored
Oct 01, 2017
by
LEVY-FALK Hugo
Committed by
root
Oct 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enlève les log inutilisables.
parent
60e42d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
machines/views.py
machines/views.py
+0
-2
No files found.
machines/views.py
View file @
9ae9a840
...
@@ -927,8 +927,6 @@ def edit_portlist(request, pk):
...
@@ -927,8 +927,6 @@ def edit_portlist(request, pk):
if
port_list
.
is_valid
():
if
port_list
.
is_valid
():
with
transaction
.
atomic
(),
reversion
.
create_revision
():
with
transaction
.
atomic
(),
reversion
.
create_revision
():
port_list
.
save
()
port_list
.
save
()
reversion
.
set_user
(
request
.
user
)
reversion
.
set_comment
(
"Champs modifié(s) : %s"
%
', '
.
join
(
field
for
field
in
port_list
.
changed_data
))
messages
.
success
(
request
,
"Liste de ports modifiée"
)
messages
.
success
(
request
,
"Liste de ports modifiée"
)
return
redirect
(
"/machines/index_portlist/"
)
return
redirect
(
"/machines/index_portlist/"
)
return
form
({
'machineform'
:
port_list
},
'machines/machine.html'
,
request
)
return
form
({
'machineform'
:
port_list
},
'machines/machine.html'
,
request
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment