Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
07c2de39
Commit
07c2de39
authored
Nov 12, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do nothing delegation base approver
parent
efea3299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
app/entities/migrations/0037_auto_20191112_1403.py
app/entities/migrations/0037_auto_20191112_1403.py
+24
-0
app/entities/models.py
app/entities/models.py
+1
-1
No files found.
app/entities/migrations/0037_auto_20191112_1403.py
0 → 100644
View file @
07c2de39
# Generated by Django 2.2 on 2019-11-12 14:03
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0036_auto_20191111_1549'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'changerequestformapprovers'
,
name
=
'delegation'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'entities.Delegation'
,
to_field
=
'code'
),
),
migrations
.
AlterField
(
model_name
=
'changerequesttemplateapprovers'
,
name
=
'delegation'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'entities.Delegation'
,
to_field
=
'code'
),
),
]
app/entities/models.py
View file @
07c2de39
...
@@ -454,7 +454,7 @@ class BaseApprover(models.Model):
...
@@ -454,7 +454,7 @@ class BaseApprover(models.Model):
Delegation
,
Delegation
,
blank
=
True
,
blank
=
True
,
null
=
True
,
null
=
True
,
on_delete
=
models
.
PROTECT
,
on_delete
=
models
.
DO_NOTHING
,
to_field
=
'code'
)
to_field
=
'code'
)
created
=
models
.
DateTimeField
(
created
=
models
.
DateTimeField
(
blank
=
True
,
blank
=
True
,
...
...
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